Class LoggingConfig (4.27.0)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoggingConfig getDefaultInstance()
Returns
TypeDescription
LoggingConfig

getDescriptor()

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

newBuilder()

public static LoggingConfig.Builder newBuilder()
Returns
TypeDescription
LoggingConfig.Builder

newBuilder(LoggingConfig prototype)

public static LoggingConfig.Builder newBuilder(LoggingConfig prototype)
Parameter
NameDescription
prototypeLoggingConfig
Returns
TypeDescription
LoggingConfig.Builder

parseDelimitedFrom(InputStream input)

public static LoggingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LoggingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LoggingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LoggingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LoggingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LoggingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LoggingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LoggingConfig> parser()
Returns
TypeDescription
Parser<LoggingConfig>

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingConfig

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

getParserForType()

public Parser<LoggingConfig> getParserForType()
Returns
TypeDescription
Parser<LoggingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LoggingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LoggingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException