- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 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 LoggingComponentConfig.Builder extends GeneratedMessageV3.Builder<LoggingComponentConfig.Builder> implements LoggingComponentConfigOrBuilder
LoggingComponentConfig is cluster logging component configuration.
Protobuf type google.container.v1beta1.LoggingComponentConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LoggingComponentConfig.BuilderImplements
LoggingComponentConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEnableComponents(Iterable<? extends LoggingComponentConfig.Component> values)
public LoggingComponentConfig.Builder addAllEnableComponents(Iterable<? extends LoggingComponentConfig.Component> values)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.LoggingComponentConfig.Component> The enableComponents to add. |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder | This builder for chaining. |
addAllEnableComponentsValue(Iterable<Integer> values)
public LoggingComponentConfig.Builder addAllEnableComponentsValue(Iterable<Integer> values)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for enableComponents to add. |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder | This builder for chaining. |
addEnableComponents(LoggingComponentConfig.Component value)
public LoggingComponentConfig.Builder addEnableComponents(LoggingComponentConfig.Component value)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
value | LoggingComponentConfig.Component The enableComponents to add. |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder | This builder for chaining. |
addEnableComponentsValue(int value)
public LoggingComponentConfig.Builder addEnableComponentsValue(int value)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for enableComponents to add. |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingComponentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder |
build()
public LoggingComponentConfig build()
Returns | |
---|---|
Type | Description |
LoggingComponentConfig |
buildPartial()
public LoggingComponentConfig buildPartial()
Returns | |
---|---|
Type | Description |
LoggingComponentConfig |
clear()
public LoggingComponentConfig.Builder clear()
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder |
clearEnableComponents()
public LoggingComponentConfig.Builder clearEnableComponents()
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LoggingComponentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingComponentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder |
clone()
public LoggingComponentConfig.Builder clone()
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Builder |
getDefaultInstanceForType()
public LoggingComponentConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoggingComponentConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnableComponents(int index)
public LoggingComponentConfig.Component getEnableComponents(int index)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
LoggingComponentConfig.Component | The enableComponents at the given index. |
getEnableComponentsCount()
public int getEnableComponentsCount()
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Returns | |
---|---|
Type | Description |
int | The count of enableComponents. |
getEnableComponentsList()
public List<LoggingComponentConfig.Component> getEnableComponentsList()
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Returns | |
---|---|
Type | Description |
List<Component> | A list containing the enableComponents. |
getEnableComponentsValue(int index)
public int getEnableComponentsValue(int index)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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 logs. An empty set would disable all logging.
repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for enableComponents. |