Class MonitoringConfig.Builder (2.3.8)

public static final class MonitoringConfig.Builder extends GeneratedMessageV3.Builder<MonitoringConfig.Builder> implements MonitoringConfigOrBuilder

MonitoringConfig is cluster monitoring configuration.

Protobuf type google.container.v1.MonitoringConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MonitoringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

build()

public MonitoringConfig build()
Returns
TypeDescription
MonitoringConfig

buildPartial()

public MonitoringConfig buildPartial()
Returns
TypeDescription
MonitoringConfig

clear()

public MonitoringConfig.Builder clear()
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

clearComponentConfig()

public MonitoringConfig.Builder clearComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public MonitoringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MonitoringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

clone()

public MonitoringConfig.Builder clone()
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

getComponentConfig()

public MonitoringComponentConfig getComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringComponentConfig

The componentConfig.

getComponentConfigBuilder()

public MonitoringComponentConfig.Builder getComponentConfigBuilder()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringComponentConfig.Builder

getComponentConfigOrBuilder()

public MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringComponentConfigOrBuilder

getDefaultInstanceForType()

public MonitoringConfig getDefaultInstanceForType()
Returns
TypeDescription
MonitoringConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasComponentConfig()

public boolean hasComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
boolean

Whether the componentConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeComponentConfig(MonitoringComponentConfig value)

public MonitoringConfig.Builder mergeComponentConfig(MonitoringComponentConfig value)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
NameDescription
valueMonitoringComponentConfig
Returns
TypeDescription
MonitoringConfig.Builder

mergeFrom(MonitoringConfig other)

public MonitoringConfig.Builder mergeFrom(MonitoringConfig other)
Parameter
NameDescription
otherMonitoringConfig
Returns
TypeDescription
MonitoringConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MonitoringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MonitoringConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MonitoringConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

setComponentConfig(MonitoringComponentConfig value)

public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig value)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
NameDescription
valueMonitoringComponentConfig
Returns
TypeDescription
MonitoringConfig.Builder

setComponentConfig(MonitoringComponentConfig.Builder builderForValue)

public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig.Builder builderForValue)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
NameDescription
builderForValueMonitoringComponentConfig.Builder
Returns
TypeDescription
MonitoringConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MonitoringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

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

public MonitoringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MonitoringConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MonitoringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MonitoringConfig.Builder
Overrides