Class LoggingConfig.Builder (4.18.0)

public static final class LoggingConfig.Builder extends GeneratedMessageV3.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder

The runtime logging config of the job.

Protobuf type google.cloud.dataproc.v1.LoggingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LoggingConfig build()
Returns
TypeDescription
LoggingConfig

buildPartial()

public LoggingConfig buildPartial()
Returns
TypeDescription
LoggingConfig

clear()

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

clearDriverLogLevels()

public LoggingConfig.Builder clearDriverLogLevels()
Returns
TypeDescription
LoggingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

containsDriverLogLevels(String key)

public boolean containsDriverLogLevels(String key)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDriverLogLevels()

public Map<String,LoggingConfig.Level> getDriverLogLevels()
Returns
TypeDescription
Map<String,Level>

getDriverLogLevelsCount()

public int getDriverLogLevelsCount()

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Returns
TypeDescription
int

getDriverLogLevelsMap()

public Map<String,LoggingConfig.Level> getDriverLogLevelsMap()

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Returns
TypeDescription
Map<String,Level>

getDriverLogLevelsOrDefault(String key, LoggingConfig.Level defaultValue)

public LoggingConfig.Level getDriverLogLevelsOrDefault(String key, LoggingConfig.Level defaultValue)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameters
NameDescription
keyString
defaultValueLoggingConfig.Level
Returns
TypeDescription
LoggingConfig.Level

getDriverLogLevelsOrThrow(String key)

public LoggingConfig.Level getDriverLogLevelsOrThrow(String key)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
LoggingConfig.Level

getDriverLogLevelsValue()

public Map<String,Integer> getDriverLogLevelsValue()
Returns
TypeDescription
Map<String,Integer>

getDriverLogLevelsValueMap()

public Map<String,Integer> getDriverLogLevelsValueMap()

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Returns
TypeDescription
Map<String,Integer>

getDriverLogLevelsValueOrDefault(String key, int defaultValue)

public int getDriverLogLevelsValueOrDefault(String key, int defaultValue)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getDriverLogLevelsValueOrThrow(String key)

public int getDriverLogLevelsValueOrThrow(String key)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

getMutableDriverLogLevels()

public Map<String,LoggingConfig.Level> getMutableDriverLogLevels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Level>

getMutableDriverLogLevelsValue()

public Map<String,Integer> getMutableDriverLogLevelsValue()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,Integer>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LoggingConfig other)

public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
NameDescription
otherLoggingConfig
Returns
TypeDescription
LoggingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllDriverLogLevels(Map<String,LoggingConfig.Level> values)

public LoggingConfig.Builder putAllDriverLogLevels(Map<String,LoggingConfig.Level> values)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
valuesMap<String,Level>
Returns
TypeDescription
LoggingConfig.Builder

putAllDriverLogLevelsValue(Map<String,Integer> values)

public LoggingConfig.Builder putAllDriverLogLevelsValue(Map<String,Integer> values)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
valuesMap<String,Integer>
Returns
TypeDescription
LoggingConfig.Builder

putDriverLogLevels(String key, LoggingConfig.Level value)

public LoggingConfig.Builder putDriverLogLevels(String key, LoggingConfig.Level value)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameters
NameDescription
keyString
valueLoggingConfig.Level
Returns
TypeDescription
LoggingConfig.Builder

putDriverLogLevelsValue(String key, int value)

public LoggingConfig.Builder putDriverLogLevelsValue(String key, int value)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
LoggingConfig.Builder

removeDriverLogLevels(String key)

public LoggingConfig.Builder removeDriverLogLevels(String key)

The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'

map<string, .google.cloud.dataproc.v1.LoggingConfig.Level> driver_log_levels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
LoggingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LoggingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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