public static final class MonitoringConfig.Builder extends GeneratedMessageV3.Builder<MonitoringConfig.Builder> implements MonitoringConfigOrBuilder
Parameters that describe the Monitoring configuration in a cluster.
Protobuf type google.cloud.gkemulticloud.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MonitoringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MonitoringConfig build()
buildPartial()
public MonitoringConfig buildPartial()
clear()
public MonitoringConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MonitoringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManagedPrometheusConfig()
public MonitoringConfig.Builder clearManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public MonitoringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MonitoringConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public MonitoringConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getManagedPrometheusConfig()
public ManagedPrometheusConfig getManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
getManagedPrometheusConfigBuilder()
public ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder()
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
getManagedPrometheusConfigOrBuilder()
public ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder()
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
hasManagedPrometheusConfig()
public boolean hasManagedPrometheusConfig()
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the managedPrometheusConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MonitoringConfig other)
public MonitoringConfig.Builder mergeFrom(MonitoringConfig other)
public MonitoringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MonitoringConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeManagedPrometheusConfig(ManagedPrometheusConfig value)
public MonitoringConfig.Builder mergeManagedPrometheusConfig(ManagedPrometheusConfig value)
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MonitoringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setManagedPrometheusConfig(ManagedPrometheusConfig value)
public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig value)
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)
public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)
Enable Google Cloud Managed Service for Prometheus in the cluster.
.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MonitoringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides