Class LoggingConfig.Builder (4.41.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoggingConfig.Builder
Overrides

build()

public LoggingConfig build()
Returns
Type Description
LoggingConfig

buildPartial()

public LoggingConfig buildPartial()
Returns
Type Description
LoggingConfig

clear()

public LoggingConfig.Builder clear()
Returns
Type Description
LoggingConfig.Builder
Overrides

clearDriverLogLevels()

public LoggingConfig.Builder clearDriverLogLevels()
Returns
Type Description
LoggingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LoggingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LoggingConfig.Builder
Overrides

clone()

public LoggingConfig.Builder clone()
Returns
Type Description
LoggingConfig.Builder
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
Returns
Type Description
boolean

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
Type Description
LoggingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDriverLogLevels() (deprecated)

public Map<String,LoggingConfig.Level> getDriverLogLevels()
Returns
Type Description
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
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;

Returns
Type Description
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
Name Description
key String
defaultValue LoggingConfig.Level
Returns
Type Description
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
Name Description
key String
Returns
Type Description
LoggingConfig.Level

getDriverLogLevelsValue() (deprecated)

public Map<String,Integer> getDriverLogLevelsValue()
Returns
Type Description
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
Type Description
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
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() (deprecated)

public Map<String,LoggingConfig.Level> getMutableDriverLogLevels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Level>

getMutableDriverLogLevelsValue() (deprecated)

public Map<String,Integer> getMutableDriverLogLevelsValue()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Integer>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.GeneratedMessageV3.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.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LoggingConfig other)

public LoggingConfig.Builder mergeFrom(LoggingConfig other)
Parameter
Name Description
other LoggingConfig
Returns
Type Description
LoggingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoggingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LoggingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LoggingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingConfig.Builder
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
Name Description
values Map<String,Level>
Returns
Type Description
LoggingConfig.Builder

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
Name Description
values Map<String,Integer>
Returns
Type Description
LoggingConfig.Builder

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
Name Description
key String
value LoggingConfig.Level
Returns
Type Description
LoggingConfig.Builder

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
Name Description
key String
value int
Returns
Type Description
LoggingConfig.Builder

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
Returns
Type Description
LoggingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoggingConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LoggingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingConfig.Builder
Overrides