Class AutopilotCompatibilityIssue.Builder (2.22.0)

public static final class AutopilotCompatibilityIssue.Builder extends GeneratedMessageV3.Builder<AutopilotCompatibilityIssue.Builder> implements AutopilotCompatibilityIssueOrBuilder

AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.

Protobuf type google.container.v1beta1.AutopilotCompatibilityIssue

Static Methods

getDescriptor()

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

Methods

addAllSubjects(Iterable<String> values)

public AutopilotCompatibilityIssue.Builder addAllSubjects(Iterable<String> values)

The name of the resources which are subject to this issue.

repeated string subjects = 4;

Parameter
NameDescription
valuesIterable<String>

The subjects to add.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutopilotCompatibilityIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides

addSubjects(String value)

public AutopilotCompatibilityIssue.Builder addSubjects(String value)

The name of the resources which are subject to this issue.

repeated string subjects = 4;

Parameter
NameDescription
valueString

The subjects to add.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

addSubjectsBytes(ByteString value)

public AutopilotCompatibilityIssue.Builder addSubjectsBytes(ByteString value)

The name of the resources which are subject to this issue.

repeated string subjects = 4;

Parameter
NameDescription
valueByteString

The bytes of the subjects to add.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

build()

public AutopilotCompatibilityIssue build()
Returns
TypeDescription
AutopilotCompatibilityIssue

buildPartial()

public AutopilotCompatibilityIssue buildPartial()
Returns
TypeDescription
AutopilotCompatibilityIssue

clear()

public AutopilotCompatibilityIssue.Builder clear()
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides

clearConstraintType()

public AutopilotCompatibilityIssue.Builder clearConstraintType()

The constraint type of the issue.

string constraint_type = 2;

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearDescription()

public AutopilotCompatibilityIssue.Builder clearDescription()