Class RayLogsSpec.Builder (3.55.0)

public static final class RayLogsSpec.Builder extends GeneratedMessageV3.Builder<RayLogsSpec.Builder> implements RayLogsSpecOrBuilder

Configuration for the Ray OSS Logs.

Protobuf type google.cloud.aiplatform.v1beta1.RayLogsSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RayLogsSpec build()
Returns
Type Description
RayLogsSpec

buildPartial()

public RayLogsSpec buildPartial()
Returns
Type Description
RayLogsSpec

clear()

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

clearDisabled()

public RayLogsSpec.Builder clearDisabled()

Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.

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

Returns
Type Description
RayLogsSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RayLogsSpec getDefaultInstanceForType()
Returns
Type Description
RayLogsSpec

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.

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(RayLogsSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisabled(boolean value)

public RayLogsSpec.Builder setDisabled(boolean value)

Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.

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

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
RayLogsSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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