Class RayClusterLoggingConfig.Builder (2.54.0)

public static final class RayClusterLoggingConfig.Builder extends GeneratedMessageV3.Builder<RayClusterLoggingConfig.Builder> implements RayClusterLoggingConfigOrBuilder

RayClusterLoggingConfig specifies logging configuration for Ray clusters.

Protobuf type google.container.v1beta1.RayClusterLoggingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RayClusterLoggingConfig build()
Returns
Type Description
RayClusterLoggingConfig

buildPartial()

public RayClusterLoggingConfig buildPartial()
Returns
Type Description
RayClusterLoggingConfig

clear()

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

clearEnabled()

public RayClusterLoggingConfig.Builder clearEnabled()

Enable log collection for Ray clusters.

bool enabled = 1;

Returns
Type Description
RayClusterLoggingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RayClusterLoggingConfig getDefaultInstanceForType()
Returns
Type Description
RayClusterLoggingConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable log 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(RayClusterLoggingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public RayClusterLoggingConfig.Builder setEnabled(boolean value)

Enable log collection for Ray clusters.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
RayClusterLoggingConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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