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.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 ManagedPrometheusConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ManagedPrometheusConfig build()
Returns
buildPartial()
public ManagedPrometheusConfig buildPartial()
Returns
clear()
public ManagedPrometheusConfig.Builder clear()
Returns
Overrides
clearEnabled()
public ManagedPrometheusConfig.Builder clearEnabled()
Enable Managed Collection.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ManagedPrometheusConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedPrometheusConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ManagedPrometheusConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ManagedPrometheusConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled()
public boolean getEnabled()
Enable Managed Collection.
bool enabled = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ManagedPrometheusConfig other)
public ManagedPrometheusConfig.Builder mergeFrom(ManagedPrometheusConfig other)
Parameter
Returns
public ManagedPrometheusConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ManagedPrometheusConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedPrometheusConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedPrometheusConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedPrometheusConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedPrometheusConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides