public final class LoggingComponentConfig extends GeneratedMessageV3 implements LoggingComponentConfigOrBuilder
LoggingComponentConfig is cluster logging component configuration.
Protobuf type google.container.v1.LoggingComponentConfig
Static Fields
ENABLE_COMPONENTS_FIELD_NUMBER
public static final int ENABLE_COMPONENTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LoggingComponentConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LoggingComponentConfig.Builder newBuilder()
Returns
newBuilder(LoggingComponentConfig prototype)
public static LoggingComponentConfig.Builder newBuilder(LoggingComponentConfig prototype)
Parameter
Returns
public static LoggingComponentConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoggingComponentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LoggingComponentConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LoggingComponentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LoggingComponentConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LoggingComponentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoggingComponentConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LoggingComponentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LoggingComponentConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LoggingComponentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LoggingComponentConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LoggingComponentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LoggingComponentConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LoggingComponentConfig getDefaultInstanceForType()
Returns
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.
|
Returns
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.
|
getParserForType()
public Parser<LoggingComponentConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LoggingComponentConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LoggingComponentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LoggingComponentConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions