Class AutopilotCompatibilityIssue.Builder (2.48.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
Type Description
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
Name Description
values Iterable<String>

The subjects to add.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutopilotCompatibilityIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The subjects to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the subjects to add.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

build()

public AutopilotCompatibilityIssue build()
Returns
Type Description
AutopilotCompatibilityIssue

buildPartial()

public AutopilotCompatibilityIssue buildPartial()
Returns
Type Description
AutopilotCompatibilityIssue

clear()

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

clearConstraintType()

public AutopilotCompatibilityIssue.Builder clearConstraintType()

The constraint type of the issue.

string constraint_type = 2;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearDescription()

public AutopilotCompatibilityIssue.Builder clearDescription()

The description of the issue.

string description = 6;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearDocumentationUrl()

public AutopilotCompatibilityIssue.Builder clearDocumentationUrl()

A URL to a public documnetation, which addresses resolving this issue.

string documentation_url = 5;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncompatibilityType()

public AutopilotCompatibilityIssue.Builder clearIncompatibilityType()

The incompatibility type of this issue.

.google.container.v1beta1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearLastObservation()

public AutopilotCompatibilityIssue.Builder clearLastObservation()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubjects()

public AutopilotCompatibilityIssue.Builder clearSubjects()

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

repeated string subjects = 4;

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clone()

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

getConstraintType()

public String getConstraintType()

The constraint type of the issue.

string constraint_type = 2;

Returns
Type Description
String

The constraintType.

getConstraintTypeBytes()

public ByteString getConstraintTypeBytes()

The constraint type of the issue.

string constraint_type = 2;

Returns
Type Description
ByteString

The bytes for constraintType.

getDefaultInstanceForType()

public AutopilotCompatibilityIssue getDefaultInstanceForType()
Returns
Type Description
AutopilotCompatibilityIssue

getDescription()

public String getDescription()

The description of the issue.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the issue.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDocumentationUrl()

public String getDocumentationUrl()

A URL to a public documnetation, which addresses resolving this issue.

string documentation_url = 5;

Returns
Type Description
String

The documentationUrl.

getDocumentationUrlBytes()

public ByteString getDocumentationUrlBytes()

A URL to a public documnetation, which addresses resolving this issue.

string documentation_url = 5;

Returns
Type Description
ByteString

The bytes for documentationUrl.

getIncompatibilityType()

public AutopilotCompatibilityIssue.IssueType getIncompatibilityType()

The incompatibility type of this issue.

.google.container.v1beta1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;

Returns
Type Description
AutopilotCompatibilityIssue.IssueType

The incompatibilityType.

getIncompatibilityTypeValue()

public int getIncompatibilityTypeValue()

The incompatibility type of this issue.

.google.container.v1beta1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for incompatibilityType.

getLastObservation()

public Timestamp getLastObservation()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
Type Description
Timestamp

The lastObservation.

getLastObservationBuilder()

public Timestamp.Builder getLastObservationBuilder()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
Type Description
Builder

getLastObservationOrBuilder()

public TimestampOrBuilder getLastObservationOrBuilder()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
Type Description
TimestampOrBuilder

getSubjects(int index)

public String getSubjects(int index)

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

repeated string subjects = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The subjects at the given index.

getSubjectsBytes(int index)

public ByteString getSubjectsBytes(int index)

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

repeated string subjects = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subjects at the given index.

getSubjectsCount()

public int getSubjectsCount()

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

repeated string subjects = 4;

Returns
Type Description
int

The count of subjects.

getSubjectsList()

public ProtocolStringList getSubjectsList()

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

repeated string subjects = 4;

Returns
Type Description
ProtocolStringList

A list containing the subjects.

hasLastObservation()

public boolean hasLastObservation()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
Type Description
boolean

Whether the lastObservation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutopilotCompatibilityIssue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastObservation(Timestamp value)

public AutopilotCompatibilityIssue.Builder mergeLastObservation(Timestamp value)

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AutopilotCompatibilityIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConstraintType(String value)

public AutopilotCompatibilityIssue.Builder setConstraintType(String value)

The constraint type of the issue.

string constraint_type = 2;

Parameter
Name Description
value String

The constraintType to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setConstraintTypeBytes(ByteString value)

public AutopilotCompatibilityIssue.Builder setConstraintTypeBytes(ByteString value)

The constraint type of the issue.

string constraint_type = 2;

Parameter
Name Description
value ByteString

The bytes for constraintType to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDescription(String value)

public AutopilotCompatibilityIssue.Builder setDescription(String value)

The description of the issue.

string description = 6;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AutopilotCompatibilityIssue.Builder setDescriptionBytes(ByteString value)

The description of the issue.

string description = 6;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDocumentationUrl(String value)

public AutopilotCompatibilityIssue.Builder setDocumentationUrl(String value)

A URL to a public documnetation, which addresses resolving this issue.

string documentation_url = 5;

Parameter
Name Description
value String

The documentationUrl to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDocumentationUrlBytes(ByteString value)

public AutopilotCompatibilityIssue.Builder setDocumentationUrlBytes(ByteString value)

A URL to a public documnetation, which addresses resolving this issue.

string documentation_url = 5;

Parameter
Name Description
value ByteString

The bytes for documentationUrl to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncompatibilityType(AutopilotCompatibilityIssue.IssueType value)

public AutopilotCompatibilityIssue.Builder setIncompatibilityType(AutopilotCompatibilityIssue.IssueType value)

The incompatibility type of this issue.

.google.container.v1beta1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;

Parameter
Name Description
value AutopilotCompatibilityIssue.IssueType

The incompatibilityType to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setIncompatibilityTypeValue(int value)

public AutopilotCompatibilityIssue.Builder setIncompatibilityTypeValue(int value)

The incompatibility type of this issue.

.google.container.v1beta1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for incompatibilityType to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setLastObservation(Timestamp value)

public AutopilotCompatibilityIssue.Builder setLastObservation(Timestamp value)

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
AutopilotCompatibilityIssue.Builder

setLastObservation(Timestamp.Builder builderForValue)

public AutopilotCompatibilityIssue.Builder setLastObservation(Timestamp.Builder builderForValue)

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutopilotCompatibilityIssue.Builder

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

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

setSubjects(int index, String value)

public AutopilotCompatibilityIssue.Builder setSubjects(int index, String value)

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

repeated string subjects = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The subjects to set.

Returns
Type Description
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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