public static final class LoggingComponentConfig.Builder extends GeneratedMessageV3.Builder<LoggingComponentConfig.Builder> implements LoggingComponentConfigOrBuilder
LoggingComponentConfig is cluster logging component configuration.
Protobuf type google.container.v1.LoggingComponentConfig
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
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.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.container.v1.LoggingComponentConfig.Component>
The enableComponents to add.
|
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.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter |
---|
Name | Description |
values | Iterable<Integer>
The enum numeric values on the wire for enableComponents to add.
|
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.v1.LoggingComponentConfig.Component enable_components = 1;
addEnableComponentsValue(int value)
public LoggingComponentConfig.Builder addEnableComponentsValue(int value)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for enableComponents to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingComponentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LoggingComponentConfig build()
buildPartial()
public LoggingComponentConfig buildPartial()
clear()
public LoggingComponentConfig.Builder clear()
Overrides
clearEnableComponents()
public LoggingComponentConfig.Builder clearEnableComponents()
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
clearField(Descriptors.FieldDescriptor field)
public LoggingComponentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingComponentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LoggingComponentConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public LoggingComponentConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableComponents(int index)
public LoggingComponentConfig.Component getEnableComponents(int index)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
getEnableComponentsCount()
public int getEnableComponentsCount()
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.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.v1.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.v1.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.v1.LoggingComponentConfig.Component enable_components = 1;
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for enableComponents.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LoggingComponentConfig other)
public LoggingComponentConfig.Builder mergeFrom(LoggingComponentConfig other)
public LoggingComponentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LoggingComponentConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingComponentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnableComponents(int index, LoggingComponentConfig.Component value)
public LoggingComponentConfig.Builder setEnableComponents(int index, LoggingComponentConfig.Component value)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
setEnableComponentsValue(int index, int value)
public LoggingComponentConfig.Builder setEnableComponentsValue(int index, int value)
Select components to collect logs. An empty set would disable all logging.
repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | int
The enum numeric value on the wire for enableComponents to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingComponentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingComponentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingComponentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides