public static final class LoggingConfig.Builder extends GeneratedMessage.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilder
The runtime logging config of the job.
Protobuf type google.cloud.dataproc.v1.LoggingConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public LoggingConfig build()
buildPartial()
public LoggingConfig buildPartial()
clear()
public LoggingConfig.Builder clear()
Overrides
clearDriverLogLevels()
public LoggingConfig.Builder clearDriverLogLevels()
containsDriverLogLevels(String key)
public boolean containsDriverLogLevels(String key)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDriverLogLevels() (deprecated)
public Map<String,LoggingConfig.Level> getDriverLogLevels()
getDriverLogLevelsCount()
public int getDriverLogLevelsCount()
The per-package log levels for the driver. This can 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 |
| Type |
Description |
int |
|
getDriverLogLevelsMap()
public Map<String,LoggingConfig.Level> getDriverLogLevelsMap()
The per-package log levels for the driver. This can 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;
getDriverLogLevelsOrDefault(String key, LoggingConfig.Level defaultValue)
public LoggingConfig.Level getDriverLogLevelsOrDefault(String key, LoggingConfig.Level defaultValue)
The per-package log levels for the driver. This can 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;
getDriverLogLevelsOrThrow(String key)
public LoggingConfig.Level getDriverLogLevelsOrThrow(String key)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|
getDriverLogLevelsValue() (deprecated)
public Map<String,Integer> getDriverLogLevelsValue()
getDriverLogLevelsValueMap()
public Map<String,Integer> getDriverLogLevelsValueMap()
The per-package log levels for the driver. This can 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;
getDriverLogLevelsValueOrDefault(String key, int defaultValue)
public int getDriverLogLevelsValueOrDefault(String key, int defaultValue)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|
defaultValue |
int
|
| Returns |
| Type |
Description |
int |
|
getDriverLogLevelsValueOrThrow(String key)
public int getDriverLogLevelsValueOrThrow(String key)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
int |
|
getMutableDriverLogLevels() (deprecated)
public Map<String,LoggingConfig.Level> getMutableDriverLogLevels()
Use alternate mutation accessors instead.
getMutableDriverLogLevelsValue() (deprecated)
public Map<String,Integer> getMutableDriverLogLevelsValue()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LoggingConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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 can 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;
putAllDriverLogLevelsValue(Map<String,Integer> values)
public LoggingConfig.Builder putAllDriverLogLevelsValue(Map<String,Integer> values)
The per-package log levels for the driver. This can 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;
putDriverLogLevels(String key, LoggingConfig.Level value)
public LoggingConfig.Builder putDriverLogLevels(String key, LoggingConfig.Level value)
The per-package log levels for the driver. This can 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;
putDriverLogLevelsValue(String key, int value)
public LoggingConfig.Builder putDriverLogLevelsValue(String key, int value)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|
value |
int
|
removeDriverLogLevels(String key)
public LoggingConfig.Builder removeDriverLogLevels(String key)
The per-package log levels for the driver. This can 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 |
| Name |
Description |
key |
String
|