- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class MonitoringComponentConfig.Builder extends GeneratedMessageV3.Builder<MonitoringComponentConfig.Builder> implements MonitoringComponentConfigOrBuilder
MonitoringComponentConfig is cluster monitoring component configuration.
Protobuf type google.container.v1beta1.MonitoringComponentConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MonitoringComponentConfig.BuilderImplements
MonitoringComponentConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllEnableComponents(Iterable<? extends MonitoringComponentConfig.Component> values)
public MonitoringComponentConfig.Builder addAllEnableComponents(Iterable<? extends MonitoringComponentConfig.Component> values)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.MonitoringComponentConfig.Component> The enableComponents to add. |
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
addAllEnableComponentsValue(Iterable<Integer> values)
public MonitoringComponentConfig.Builder addAllEnableComponentsValue(Iterable<Integer> values)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for enableComponents to add. |
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
addEnableComponents(MonitoringComponentConfig.Component value)
public MonitoringComponentConfig.Builder addEnableComponents(MonitoringComponentConfig.Component value)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
value | MonitoringComponentConfig.Component The enableComponents to add. |
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
addEnableComponentsValue(int value)
public MonitoringComponentConfig.Builder addEnableComponentsValue(int value)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
value | int The enum numeric value on the wire for enableComponents to add. |
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MonitoringComponentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MonitoringComponentConfig.Builder |
build()
public MonitoringComponentConfig build()
Type | Description |
MonitoringComponentConfig |
buildPartial()
public MonitoringComponentConfig buildPartial()
Type | Description |
MonitoringComponentConfig |
clear()
public MonitoringComponentConfig.Builder clear()
Type | Description |
MonitoringComponentConfig.Builder |
clearEnableComponents()
public MonitoringComponentConfig.Builder clearEnableComponents()
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MonitoringComponentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MonitoringComponentConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MonitoringComponentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MonitoringComponentConfig.Builder |
clone()
public MonitoringComponentConfig.Builder clone()
Type | Description |
MonitoringComponentConfig.Builder |
getDefaultInstanceForType()
public MonitoringComponentConfig getDefaultInstanceForType()
Type | Description |
MonitoringComponentConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnableComponents(int index)
public MonitoringComponentConfig.Component getEnableComponents(int index)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
MonitoringComponentConfig.Component | The enableComponents at the given index. |
getEnableComponentsCount()
public int getEnableComponentsCount()
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Type | Description |
int | The count of enableComponents. |
getEnableComponentsList()
public List<MonitoringComponentConfig.Component> getEnableComponentsList()
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Type | Description |
List<Component> | A list containing the enableComponents. |
getEnableComponentsValue(int index)
public int getEnableComponentsValue(int index)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of enableComponents at the given index. |
getEnableComponentsValueList()
public List<Integer> getEnableComponentsValueList()
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for enableComponents. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MonitoringComponentConfig other)
public MonitoringComponentConfig.Builder mergeFrom(MonitoringComponentConfig other)
Name | Description |
other | MonitoringComponentConfig |
Type | Description |
MonitoringComponentConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MonitoringComponentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MonitoringComponentConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MonitoringComponentConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MonitoringComponentConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringComponentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MonitoringComponentConfig.Builder |
setEnableComponents(int index, MonitoringComponentConfig.Component value)
public MonitoringComponentConfig.Builder setEnableComponents(int index, MonitoringComponentConfig.Component value)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
index | int The index to set the value at. |
value | MonitoringComponentConfig.Component The enableComponents to set. |
Type | Description |
MonitoringComponentConfig.Builder | This builder for chaining. |
setEnableComponentsValue(int index, int value)
public MonitoringComponentConfig.Builder setEnableComponentsValue(int index, int value)
Select components to collect metrics. An empty set would disable all monitoring.
repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;
Name | Description |
index | int The index of the value to return. |
value | int |
Type | Description |
MonitoringComponentConfig.Builder | The enum numeric value on the wire of enableComponents at the given index. |
setField(Descriptors.FieldDescriptor field, Object value)
public MonitoringComponentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MonitoringComponentConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MonitoringComponentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MonitoringComponentConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MonitoringComponentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MonitoringComponentConfig.Builder |