public final class LoggingConfig extends GeneratedMessageV3 implements LoggingConfigOrBuilder
The runtime logging config of the job.
Protobuf type google.cloud.dataproc.v1.LoggingConfig
Static Fields
DRIVER_LOG_LEVELS_FIELD_NUMBER
public static final int DRIVER_LOG_LEVELS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LoggingConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LoggingConfig.Builder newBuilder()
Returns
newBuilder(LoggingConfig prototype)
public static LoggingConfig.Builder newBuilder(LoggingConfig prototype)
Parameter
Returns
public static LoggingConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoggingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LoggingConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LoggingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LoggingConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LoggingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoggingConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LoggingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoggingConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoggingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LoggingConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LoggingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LoggingConfig> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<LoggingConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LoggingConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LoggingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LoggingConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions