Class TelemetryConfig.Builder (2.34.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.v1beta.TelemetryConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TelemetryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

build()

public TelemetryConfig build()
Returns
TypeDescription
TelemetryConfig

buildPartial()

public TelemetryConfig buildPartial()
Returns
TypeDescription
TelemetryConfig

clear()

public TelemetryConfig.Builder clear()
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TelemetryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

clearLogFormat()

public TelemetryConfig.Builder clearLogFormat()

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

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

Returns
TypeDescription
TelemetryConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TelemetryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

clone()

public TelemetryConfig.Builder clone()
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

getDefaultInstanceForType()

public TelemetryConfig getDefaultInstanceForType()
Returns
TypeDescription
TelemetryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLogFormat()

public TelemetryConfig.LogFormat getLogFormat()

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

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

Returns
TypeDescription
TelemetryConfig.LogFormat

The logFormat.

getLogFormatValue()

public int getLogFormatValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for logFormat.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TelemetryConfig other)

public TelemetryConfig.Builder mergeFrom(TelemetryConfig other)
Parameter
NameDescription
otherTelemetryConfig
Returns
TypeDescription
TelemetryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TelemetryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TelemetryConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TelemetryConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TelemetryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TelemetryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta.TelemetryConfig.LogFormat log_format = 1;

Parameter
NameDescription
valueTelemetryConfig.LogFormat

The logFormat to set.

Returns
TypeDescription
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.v1beta.TelemetryConfig.LogFormat log_format = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TelemetryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TelemetryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TelemetryConfig.Builder
Overrides