Class ManagedPrometheusConfig.Builder (0.84.0)

public static final class ManagedPrometheusConfig.Builder extends GeneratedMessage.Builder<ManagedPrometheusConfig.Builder> implements ManagedPrometheusConfigOrBuilder

ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.

Protobuf type google.cloud.gkemulticloud.v1.ManagedPrometheusConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ManagedPrometheusConfig build()
Returns
Type Description
ManagedPrometheusConfig

buildPartial()

public ManagedPrometheusConfig buildPartial()
Returns
Type Description
ManagedPrometheusConfig

clear()

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

clearEnabled()

public ManagedPrometheusConfig.Builder clearEnabled()

Enable Managed Collection.

bool enabled = 1;

Returns
Type Description
ManagedPrometheusConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ManagedPrometheusConfig getDefaultInstanceForType()
Returns
Type Description
ManagedPrometheusConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable Managed Collection.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManagedPrometheusConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public ManagedPrometheusConfig.Builder setEnabled(boolean value)

Enable Managed Collection.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ManagedPrometheusConfig.Builder

This builder for chaining.