Send feedback
Class LoggingComponentConfig.Builder (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.8.0 keyboard_arrow_down
public static final class LoggingComponentConfig . Builder extends GeneratedMessageV3 . Builder<LoggingComponentConfig . Builder > implements LoggingComponentConfigOrBuilder
Parameters that describe the Logging component configuration in a cluster.
Protobuf type google.cloud.gkemulticloud.v1.LoggingComponentConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ()
Returns
Methods
addAllEnableComponents(Iterable<? extends LoggingComponentConfig.Component> values)
public LoggingComponentConfig . Builder addAllEnableComponents ( Iterable <? extends LoggingComponentConfig . Component > values )
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter
Name Description values
Iterable <? extends com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component >
The enableComponents to add.
Returns
addAllEnableComponentsValue(Iterable<Integer> values)
public LoggingComponentConfig . Builder addAllEnableComponentsValue ( Iterable<Integer> values )
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter
Name Description values
Iterable <Integer >
The enum numeric values on the wire for enableComponents to add.
Returns
addEnableComponents(LoggingComponentConfig.Component value)
public LoggingComponentConfig . Builder addEnableComponents ( LoggingComponentConfig . Component value )
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter
Returns
addEnableComponentsValue(int value)
public LoggingComponentConfig . Builder addEnableComponentsValue ( int value )
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Parameter
Name Description value
int
The enum numeric value on the wire for enableComponents to add.
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingComponentConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public LoggingComponentConfig build ()
Returns
buildPartial()
public LoggingComponentConfig buildPartial ()
Returns
clear()
public LoggingComponentConfig . Builder clear ()
Returns
Overrides
clearEnableComponents()
public LoggingComponentConfig . Builder clearEnableComponents ()
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public LoggingComponentConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingComponentConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public LoggingComponentConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public LoggingComponentConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
Name Description index
int
The index of the element to return.
Returns
getEnableComponentsCount()
public int getEnableComponentsCount ()
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Returns
Type Description 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
Type Description 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
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 ()
The components to be enabled.
repeated .google.cloud.gkemulticloud.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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(LoggingComponentConfig other)
public LoggingComponentConfig . Builder mergeFrom ( LoggingComponentConfig other )
Parameter
Returns
public LoggingComponentConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LoggingComponentConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingComponentConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setEnableComponents(int index, LoggingComponentConfig.Component value)
public LoggingComponentConfig . Builder setEnableComponents ( int index , LoggingComponentConfig . Component value )
The components to be enabled.
repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1;
Parameters
Returns
setEnableComponentsValue(int index, int value)
public LoggingComponentConfig . Builder setEnableComponentsValue ( int index , int value )
The components to be enabled.
repeated .google.cloud.gkemulticloud.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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingComponentConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingComponentConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingComponentConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]