Class SystemComponentsConfig.Builder (0.80.0)

public static final class SystemComponentsConfig.Builder extends GeneratedMessageV3.Builder<SystemComponentsConfig.Builder> implements SystemComponentsConfigOrBuilder

SystemComponentsConfig defines the fields for customizing configurations for auto-installed components.

Protobuf type google.cloud.gkemulticloud.v1.SystemComponentsConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLabels(Iterable<? extends Label> values)

public SystemComponentsConfig.Builder addAllLabels(Iterable<? extends Label> values)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.Label>
Returns
Type Description
SystemComponentsConfig.Builder

addAllTolerations(Iterable<? extends Toleration> values)

public SystemComponentsConfig.Builder addAllTolerations(Iterable<? extends Toleration> values)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.Toleration>
Returns
Type Description
SystemComponentsConfig.Builder

addLabels(Label value)

public SystemComponentsConfig.Builder addLabels(Label value)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
value Label
Returns
Type Description
SystemComponentsConfig.Builder

addLabels(Label.Builder builderForValue)

public SystemComponentsConfig.Builder addLabels(Label.Builder builderForValue)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
builderForValue Label.Builder
Returns
Type Description
SystemComponentsConfig.Builder

addLabels(int index, Label value)

public SystemComponentsConfig.Builder addLabels(int index, Label value)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameters
Name Description
index int
value Label
Returns
Type Description
SystemComponentsConfig.Builder

addLabels(int index, Label.Builder builderForValue)

public SystemComponentsConfig.Builder addLabels(int index, Label.Builder builderForValue)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameters
Name Description
index int
builderForValue Label.Builder
Returns
Type Description
SystemComponentsConfig.Builder

addLabelsBuilder()

public Label.Builder addLabelsBuilder()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
Label.Builder

addLabelsBuilder(int index)

public Label.Builder addLabelsBuilder(int index)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
index int
Returns
Type Description
Label.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SystemComponentsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

addTolerations(Toleration value)

public SystemComponentsConfig.Builder addTolerations(Toleration value)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
value Toleration
Returns
Type Description
SystemComponentsConfig.Builder

addTolerations(Toleration.Builder builderForValue)

public SystemComponentsConfig.Builder addTolerations(Toleration.Builder builderForValue)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
builderForValue Toleration.Builder
Returns
Type Description
SystemComponentsConfig.Builder

addTolerations(int index, Toleration value)

public SystemComponentsConfig.Builder addTolerations(int index, Toleration value)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameters
Name Description
index int
value Toleration
Returns
Type Description
SystemComponentsConfig.Builder

addTolerations(int index, Toleration.Builder builderForValue)

public SystemComponentsConfig.Builder addTolerations(int index, Toleration.Builder builderForValue)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameters
Name Description
index int
builderForValue Toleration.Builder
Returns
Type Description
SystemComponentsConfig.Builder

addTolerationsBuilder()

public Toleration.Builder addTolerationsBuilder()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
Toleration.Builder

addTolerationsBuilder(int index)

public Toleration.Builder addTolerationsBuilder(int index)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
index int
Returns
Type Description
Toleration.Builder

build()

public SystemComponentsConfig build()
Returns
Type Description
SystemComponentsConfig

buildPartial()

public SystemComponentsConfig buildPartial()
Returns
Type Description
SystemComponentsConfig

clear()

public SystemComponentsConfig.Builder clear()
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SystemComponentsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

clearLabels()

public SystemComponentsConfig.Builder clearLabels()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
SystemComponentsConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SystemComponentsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

clearTolerations()

public SystemComponentsConfig.Builder clearTolerations()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
SystemComponentsConfig.Builder

clone()

public SystemComponentsConfig.Builder clone()
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

getDefaultInstanceForType()

public SystemComponentsConfig getDefaultInstanceForType()
Returns
Type Description
SystemComponentsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels(int index)

public Label getLabels(int index)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
index int
Returns
Type Description
Label

getLabelsBuilder(int index)

public Label.Builder getLabelsBuilder(int index)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
index int
Returns
Type Description
Label.Builder

getLabelsBuilderList()

public List<Label.Builder> getLabelsBuilderList()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
List<Builder>

getLabelsCount()

public int getLabelsCount()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
int

getLabelsList()

public List<Label> getLabelsList()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
List<Label>

getLabelsOrBuilder(int index)

public LabelOrBuilder getLabelsOrBuilder(int index)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getLabelsOrBuilderList()

public List<? extends LabelOrBuilder> getLabelsOrBuilderList()

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.LabelOrBuilder>

getTolerations(int index)

public Toleration getTolerations(int index)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
index int
Returns
Type Description
Toleration

getTolerationsBuilder(int index)

public Toleration.Builder getTolerationsBuilder(int index)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
index int
Returns
Type Description
Toleration.Builder

getTolerationsBuilderList()

public List<Toleration.Builder> getTolerationsBuilderList()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
List<Builder>

getTolerationsCount()

public int getTolerationsCount()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
int

getTolerationsList()

public List<Toleration> getTolerationsList()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
List<Toleration>

getTolerationsOrBuilder(int index)

public TolerationOrBuilder getTolerationsOrBuilder(int index)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
index int
Returns
Type Description
TolerationOrBuilder

getTolerationsOrBuilderList()

public List<? extends TolerationOrBuilder> getTolerationsOrBuilderList()

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.TolerationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SystemComponentsConfig other)

public SystemComponentsConfig.Builder mergeFrom(SystemComponentsConfig other)
Parameter
Name Description
other SystemComponentsConfig
Returns
Type Description
SystemComponentsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SystemComponentsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SystemComponentsConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SystemComponentsConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SystemComponentsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

removeLabels(int index)

public SystemComponentsConfig.Builder removeLabels(int index)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameter
Name Description
index int
Returns
Type Description
SystemComponentsConfig.Builder

removeTolerations(int index)

public SystemComponentsConfig.Builder removeTolerations(int index)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameter
Name Description
index int
Returns
Type Description
SystemComponentsConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SystemComponentsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

setLabels(int index, Label value)

public SystemComponentsConfig.Builder setLabels(int index, Label value)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameters
Name Description
index int
value Label
Returns
Type Description
SystemComponentsConfig.Builder

setLabels(int index, Label.Builder builderForValue)

public SystemComponentsConfig.Builder setLabels(int index, Label.Builder builderForValue)

Sets custom labels for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Label labels = 2;

Parameters
Name Description
index int
builderForValue Label.Builder
Returns
Type Description
SystemComponentsConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SystemComponentsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SystemComponentsConfig.Builder
Overrides

setTolerations(int index, Toleration value)

public SystemComponentsConfig.Builder setTolerations(int index, Toleration value)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameters
Name Description
index int
value Toleration
Returns
Type Description
SystemComponentsConfig.Builder

setTolerations(int index, Toleration.Builder builderForValue)

public SystemComponentsConfig.Builder setTolerations(int index, Toleration.Builder builderForValue)

Sets custom tolerations for pods created by auto-installed components.

repeated .google.cloud.gkemulticloud.v1.Toleration tolerations = 1;

Parameters
Name Description
index int
builderForValue Toleration.Builder
Returns
Type Description
SystemComponentsConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SystemComponentsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SystemComponentsConfig.Builder
Overrides