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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LoggingConfig build()
Returns
buildPartial()
public LoggingConfig buildPartial()
Returns
clear()
public LoggingConfig.Builder clear()
Returns
Overrides
clearDriverLogLevels()
public LoggingConfig.Builder clearDriverLogLevels()
Returns
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LoggingConfig.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDriverLogLevels()
public Map<String,LoggingConfig.Level> getDriverLogLevels()
Returns
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
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
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
Returns
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
Returns
getDriverLogLevelsValue()
public Map<String,Integer> getDriverLogLevelsValue()
Returns
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
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
Returns
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
Returns
getMutableDriverLogLevels()
public Map<String,LoggingConfig.Level> getMutableDriverLogLevels()
Use alternate mutation accessors instead.
Returns
getMutableDriverLogLevelsValue()
public Map<String,Integer> getMutableDriverLogLevelsValue()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
Returns
public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LoggingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides