public static final class MonitoringConfig.Builder extends GeneratedMessageV3.Builder<MonitoringConfig.Builder> implements MonitoringConfigOrBuilder
MonitoringConfig is cluster monitoring configuration.
Protobuf type google.container.v1.MonitoringConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MonitoringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MonitoringConfig build()
Returns
buildPartial()
public MonitoringConfig buildPartial()
Returns
clear()
public MonitoringConfig.Builder clear()
Returns
Overrides
clearComponentConfig()
public MonitoringConfig.Builder clearComponentConfig()
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MonitoringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearManagedPrometheusConfig()
public MonitoringConfig.Builder clearManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MonitoringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MonitoringConfig.Builder clone()
Returns
Overrides
getComponentConfig()
public MonitoringComponentConfig getComponentConfig()
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Returns
getComponentConfigBuilder()
public MonitoringComponentConfig.Builder getComponentConfigBuilder()
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Returns
getComponentConfigOrBuilder()
public MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder()
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Returns
getDefaultInstanceForType()
public MonitoringConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getManagedPrometheusConfig()
public ManagedPrometheusConfig getManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns
getManagedPrometheusConfigBuilder()
public ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder()
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns
getManagedPrometheusConfigOrBuilder()
public ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder()
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns
hasComponentConfig()
public boolean hasComponentConfig()
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Returns
Type | Description |
boolean | Whether the componentConfig field is set.
|
hasManagedPrometheusConfig()
public boolean hasManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns
Type | Description |
boolean | Whether the managedPrometheusConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeComponentConfig(MonitoringComponentConfig value)
public MonitoringConfig.Builder mergeComponentConfig(MonitoringComponentConfig value)
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Parameter
Returns
mergeFrom(MonitoringConfig other)
public MonitoringConfig.Builder mergeFrom(MonitoringConfig other)
Parameter
Returns
public MonitoringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MonitoringConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeManagedPrometheusConfig(ManagedPrometheusConfig value)
public MonitoringConfig.Builder mergeManagedPrometheusConfig(ManagedPrometheusConfig value)
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setComponentConfig(MonitoringComponentConfig value)
public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig value)
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Parameter
Returns
setComponentConfig(MonitoringComponentConfig.Builder builderForValue)
public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig.Builder builderForValue)
Monitoring components configuration
.google.container.v1.MonitoringComponentConfig component_config = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MonitoringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setManagedPrometheusConfig(ManagedPrometheusConfig value)
public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig value)
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Parameter
Returns
setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)
public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)
Enable Google Cloud Managed Service for Prometheus
in the cluster.
.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MonitoringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides