Class LoggingComponentConfig (0.2.3)

public final class LoggingComponentConfig extends GeneratedMessageV3 implements LoggingComponentConfigOrBuilder

Parameters that describe the Logging component configuration in a cluster.

Protobuf type google.cloud.gkemulticloud.v1.LoggingComponentConfig

Static Fields

ENABLE_COMPONENTS_FIELD_NUMBER

public static final int ENABLE_COMPONENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoggingComponentConfig getDefaultInstance()
Returns
TypeDescription
LoggingComponentConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LoggingComponentConfig.Builder newBuilder()
Returns
TypeDescription
LoggingComponentConfig.Builder

newBuilder(LoggingComponentConfig prototype)

public static LoggingComponentConfig.Builder newBuilder(LoggingComponentConfig prototype)
Parameter
NameDescription
prototypeLoggingComponentConfig
Returns
TypeDescription
LoggingComponentConfig.Builder

parseDelimitedFrom(InputStream input)

public static LoggingComponentConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LoggingComponentConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LoggingComponentConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LoggingComponentConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LoggingComponentConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LoggingComponentConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LoggingComponentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingComponentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LoggingComponentConfig> parser()
Returns
TypeDescription
Parser<LoggingComponentConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LoggingComponentConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingComponentConfig

getEnableComponents(int index)

public LoggingComponentConfig.Component getEnableComponents(int index)

The components to be enabled.

repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
LoggingComponentConfig.Component

The enableComponents at the given index.

getEnableComponentsCount()

public int getEnableComponentsCount()

The components to be enabled.

repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;

Returns
TypeDescription
int

The count of enableComponents.

getEnableComponentsList()

public List<LoggingComponentConfig.Component> getEnableComponentsList()

The components to be enabled.

repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Component>

A list containing the enableComponents.

getEnableComponentsValue(int index)

public int getEnableComponentsValue(int index)

The components to be enabled.

repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of enableComponents at the given index.

getEnableComponentsValueList()

public List<Integer> getEnableComponentsValueList()

The components to be enabled.

repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for enableComponents.

getParserForType()

public Parser<LoggingComponentConfig> getParserForType()
Returns
TypeDescription
Parser<LoggingComponentConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LoggingComponentConfig.Builder newBuilderForType()
Returns
TypeDescription
LoggingComponentConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LoggingComponentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LoggingComponentConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LoggingComponentConfig.Builder toBuilder()
Returns
TypeDescription
LoggingComponentConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException