Class TelemetryConfig.Builder (2.54.0)

public static final class TelemetryConfig.Builder extends GeneratedMessageV3.Builder<TelemetryConfig.Builder> implements TelemetryConfigOrBuilder

Telemetry Configuration for the Dataproc Metastore service.

Protobuf type google.cloud.metastore.v1.TelemetryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TelemetryConfig build()
Returns
Type Description
TelemetryConfig

buildPartial()

public TelemetryConfig buildPartial()
Returns
Type Description
TelemetryConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLogFormat()

public TelemetryConfig.Builder clearLogFormat()

The output format of the Dataproc Metastore service's logs.

.google.cloud.metastore.v1.TelemetryConfig.LogFormat log_format = 1;

Returns
Type Description
TelemetryConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TelemetryConfig getDefaultInstanceForType()
Returns
Type Description
TelemetryConfig

getDescriptorForType()

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

getLogFormat()

public TelemetryConfig.LogFormat getLogFormat()

The output format of the Dataproc Metastore service's logs.

.google.cloud.metastore.v1.TelemetryConfig.LogFormat log_format = 1;

Returns
Type Description
TelemetryConfig.LogFormat

The logFormat.

getLogFormatValue()

public int getLogFormatValue()

The output format of the Dataproc Metastore service's logs.

.google.cloud.metastore.v1.TelemetryConfig.LogFormat log_format = 1;

Returns
Type Description
int

The enum numeric value on the wire for logFormat.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TelemetryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLogFormat(TelemetryConfig.LogFormat value)

public TelemetryConfig.Builder setLogFormat(TelemetryConfig.LogFormat value)

The output format of the Dataproc Metastore service's logs.

.google.cloud.metastore.v1.TelemetryConfig.LogFormat log_format = 1;

Parameter
Name Description
value TelemetryConfig.LogFormat

The logFormat to set.

Returns
Type Description
TelemetryConfig.Builder

This builder for chaining.

setLogFormatValue(int value)

public TelemetryConfig.Builder setLogFormatValue(int value)

The output format of the Dataproc Metastore service's logs.

.google.cloud.metastore.v1.TelemetryConfig.LogFormat log_format = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for logFormat to set.

Returns
Type Description
TelemetryConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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