Class AutopilotCompatibilityIssue.Builder (2.27.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()

The description of the issue.

string description = 6;

Returns
TypeDescription
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
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutopilotCompatibilityIssue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides

clearIncompatibilityType()

public AutopilotCompatibilityIssue.Builder clearIncompatibilityType()

The incompatibility type of this issue.

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

Returns
TypeDescription
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
TypeDescription
AutopilotCompatibilityIssue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AutopilotCompatibilityIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides

clearSubjects()

public AutopilotCompatibilityIssue.Builder clearSubjects()

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

repeated string subjects = 4;

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

clone()

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

getConstraintType()

public String getConstraintType()

The constraint type of the issue.

string constraint_type = 2;

Returns
TypeDescription
String

The constraintType.

getConstraintTypeBytes()

public ByteString getConstraintTypeBytes()

The constraint type of the issue.

string constraint_type = 2;

Returns
TypeDescription
ByteString

The bytes for constraintType.

getDefaultInstanceForType()

public AutopilotCompatibilityIssue getDefaultInstanceForType()
Returns
TypeDescription
AutopilotCompatibilityIssue

getDescription()

public String getDescription()

The description of the issue.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the issue.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentationUrl()

public String getDocumentationUrl()

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

string documentation_url = 5;

Returns
TypeDescription
String

The documentationUrl.

getDocumentationUrlBytes()

public ByteString getDocumentationUrlBytes()

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

string documentation_url = 5;

Returns
TypeDescription
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
TypeDescription
AutopilotCompatibilityIssue.IssueType

The incompatibilityType.

getIncompatibilityTypeValue()

public int getIncompatibilityTypeValue()

The incompatibility type of this issue.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The lastObservation.

getLastObservationBuilder()

public Timestamp.Builder getLastObservationBuilder()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
TypeDescription
Builder

getLastObservationOrBuilder()

public TimestampOrBuilder getLastObservationOrBuilder()

The last time when this issue was observed.

.google.protobuf.Timestamp last_observation = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastObservation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutopilotCompatibilityIssue other)

public AutopilotCompatibilityIssue.Builder mergeFrom(AutopilotCompatibilityIssue other)
Parameter
NameDescription
otherAutopilotCompatibilityIssue
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutopilotCompatibilityIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutopilotCompatibilityIssue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutopilotCompatibilityIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides

setConstraintType(String value)

public AutopilotCompatibilityIssue.Builder setConstraintType(String value)

The constraint type of the issue.

string constraint_type = 2;

Parameter
NameDescription
valueString

The constraintType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for constraintType to set.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDescription(String value)

public AutopilotCompatibilityIssue.Builder setDescription(String value)

The description of the issue.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AutopilotCompatibilityIssue.Builder setDescriptionBytes(ByteString value)

The description of the issue.

string description = 6;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The documentationUrl to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for documentationUrl to set.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutopilotCompatibilityIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAutopilotCompatibilityIssue.IssueType

The incompatibilityType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

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

public AutopilotCompatibilityIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The subjects to set.

Returns
TypeDescription
AutopilotCompatibilityIssue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutopilotCompatibilityIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutopilotCompatibilityIssue.Builder
Overrides