public static final class ManagedPrometheusConfig.Builder extends GeneratedMessageV3.Builder<ManagedPrometheusConfig.Builder> implements ManagedPrometheusConfigOrBuilder
ManagedPrometheusConfig defines the configuration for
Google Cloud Managed Service for Prometheus.
Protobuf type google.container.v1beta1.ManagedPrometheusConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ManagedPrometheusConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ManagedPrometheusConfig build()
buildPartial()
public ManagedPrometheusConfig buildPartial()
clear()
public ManagedPrometheusConfig.Builder clear()
Overrides
clearEnabled()
public ManagedPrometheusConfig.Builder clearEnabled()
Enable Managed Collection.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public ManagedPrometheusConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedPrometheusConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ManagedPrometheusConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ManagedPrometheusConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
Enable Managed Collection.
bool enabled = 1;
Returns |
Type |
Description |
boolean |
The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ManagedPrometheusConfig other)
public ManagedPrometheusConfig.Builder mergeFrom(ManagedPrometheusConfig other)
public ManagedPrometheusConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ManagedPrometheusConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedPrometheusConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedPrometheusConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedPrometheusConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedPrometheusConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides