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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LoggingConfig build()
buildPartial()
public LoggingConfig buildPartial()
clear()
public LoggingConfig.Builder clear()
Overrides
clearDriverLogLevels()
public LoggingConfig.Builder clearDriverLogLevels()
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LoggingConfig.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDriverLogLevels()
public Map<String,LoggingConfig.Level> getDriverLogLevels()
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 |
---|
Type | Description |
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;
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;
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 |
---|
Name | Description |
key | String
|
getDriverLogLevelsValue()
public Map<String,Integer> getDriverLogLevelsValue()
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;
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 |
---|
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 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 |
---|
Name | Description |
key | String
|
Returns |
---|
Type | Description |
int | |
getMutableDriverLogLevels()
public Map<String,LoggingConfig.Level> getMutableDriverLogLevels()
Use alternate mutation accessors instead.
getMutableDriverLogLevelsValue()
public Map<String,Integer> getMutableDriverLogLevelsValue()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
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 |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides