Package com.google.container.v1
Class AutopilotCompatibilityIssue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
com.google.container.v1.AutopilotCompatibilityIssue.Builder
- All Implemented Interfaces:
AutopilotCompatibilityIssueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutopilotCompatibilityIssue
public static final class AutopilotCompatibilityIssue.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
implements AutopilotCompatibilityIssueOrBuilder
AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.Protobuf type
google.container.v1.AutopilotCompatibilityIssue-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubjects(Iterable<String> values) The name of the resources which are subject to this issue.addSubjects(String value) The name of the resources which are subject to this issue.addSubjectsBytes(com.google.protobuf.ByteString value) The name of the resources which are subject to this issue.build()clear()The constraint type of the issue.The description of the issue.A URL to a public documentation, which addresses resolving this issue.The incompatibility type of this issue.The last time when this issue was observed.The name of the resources which are subject to this issue.The constraint type of the issue.com.google.protobuf.ByteStringThe constraint type of the issue.The description of the issue.com.google.protobuf.ByteStringThe description of the issue.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA URL to a public documentation, which addresses resolving this issue.com.google.protobuf.ByteStringA URL to a public documentation, which addresses resolving this issue.The incompatibility type of this issue.intThe incompatibility type of this issue.com.google.protobuf.TimestampThe last time when this issue was observed.com.google.protobuf.Timestamp.BuilderThe last time when this issue was observed.com.google.protobuf.TimestampOrBuilderThe last time when this issue was observed.getSubjects(int index) The name of the resources which are subject to this issue.com.google.protobuf.ByteStringgetSubjectsBytes(int index) The name of the resources which are subject to this issue.intThe name of the resources which are subject to this issue.com.google.protobuf.ProtocolStringListThe name of the resources which are subject to this issue.booleanThe last time when this issue was observed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastObservation(com.google.protobuf.Timestamp value) The last time when this issue was observed.setConstraintType(String value) The constraint type of the issue.setConstraintTypeBytes(com.google.protobuf.ByteString value) The constraint type of the issue.setDescription(String value) The description of the issue.setDescriptionBytes(com.google.protobuf.ByteString value) The description of the issue.setDocumentationUrl(String value) A URL to a public documentation, which addresses resolving this issue.setDocumentationUrlBytes(com.google.protobuf.ByteString value) A URL to a public documentation, which addresses resolving this issue.The incompatibility type of this issue.setIncompatibilityTypeValue(int value) The incompatibility type of this issue.setLastObservation(com.google.protobuf.Timestamp value) The last time when this issue was observed.setLastObservation(com.google.protobuf.Timestamp.Builder builderForValue) The last time when this issue was observed.setSubjects(int index, String value) The name of the resources which are subject to this issue.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutopilotCompatibilityIssue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
-
mergeFrom
public AutopilotCompatibilityIssue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutopilotCompatibilityIssue.Builder>- Throws:
IOException
-
hasLastObservation
public boolean hasLastObservation()The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1;- Specified by:
hasLastObservationin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- Whether the lastObservation field is set.
-
getLastObservation
public com.google.protobuf.Timestamp getLastObservation()The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1;- Specified by:
getLastObservationin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The lastObservation.
-
setLastObservation
The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1; -
setLastObservation
public AutopilotCompatibilityIssue.Builder setLastObservation(com.google.protobuf.Timestamp.Builder builderForValue) The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1; -
mergeLastObservation
public AutopilotCompatibilityIssue.Builder mergeLastObservation(com.google.protobuf.Timestamp value) The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1; -
clearLastObservation
The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1; -
getLastObservationBuilder
public com.google.protobuf.Timestamp.Builder getLastObservationBuilder()The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1; -
getLastObservationOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastObservationOrBuilder()The last time when this issue was observed.
.google.protobuf.Timestamp last_observation = 1;- Specified by:
getLastObservationOrBuilderin interfaceAutopilotCompatibilityIssueOrBuilder
-
getConstraintType
The constraint type of the issue.
string constraint_type = 2;- Specified by:
getConstraintTypein interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The constraintType.
-
getConstraintTypeBytes
public com.google.protobuf.ByteString getConstraintTypeBytes()The constraint type of the issue.
string constraint_type = 2;- Specified by:
getConstraintTypeBytesin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The bytes for constraintType.
-
setConstraintType
The constraint type of the issue.
string constraint_type = 2;- Parameters:
value- The constraintType to set.- Returns:
- This builder for chaining.
-
clearConstraintType
The constraint type of the issue.
string constraint_type = 2;- Returns:
- This builder for chaining.
-
setConstraintTypeBytes
public AutopilotCompatibilityIssue.Builder setConstraintTypeBytes(com.google.protobuf.ByteString value) The constraint type of the issue.
string constraint_type = 2;- Parameters:
value- The bytes for constraintType to set.- Returns:
- This builder for chaining.
-
getIncompatibilityTypeValue
public int getIncompatibilityTypeValue()The incompatibility type of this issue.
.google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;- Specified by:
getIncompatibilityTypeValuein interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The enum numeric value on the wire for incompatibilityType.
-
setIncompatibilityTypeValue
The incompatibility type of this issue.
.google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;- Parameters:
value- The enum numeric value on the wire for incompatibilityType to set.- Returns:
- This builder for chaining.
-
getIncompatibilityType
The incompatibility type of this issue.
.google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;- Specified by:
getIncompatibilityTypein interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The incompatibilityType.
-
setIncompatibilityType
public AutopilotCompatibilityIssue.Builder setIncompatibilityType(AutopilotCompatibilityIssue.IssueType value) The incompatibility type of this issue.
.google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;- Parameters:
value- The incompatibilityType to set.- Returns:
- This builder for chaining.
-
clearIncompatibilityType
The incompatibility type of this issue.
.google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;- Returns:
- This builder for chaining.
-
getSubjectsList
public com.google.protobuf.ProtocolStringList getSubjectsList()The name of the resources which are subject to this issue.
repeated string subjects = 4;- Specified by:
getSubjectsListin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- A list containing the subjects.
-
getSubjectsCount
public int getSubjectsCount()The name of the resources which are subject to this issue.
repeated string subjects = 4;- Specified by:
getSubjectsCountin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The count of subjects.
-
getSubjects
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Specified by:
getSubjectsin interfaceAutopilotCompatibilityIssueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The subjects at the given index.
-
getSubjectsBytes
public com.google.protobuf.ByteString getSubjectsBytes(int index) The name of the resources which are subject to this issue.
repeated string subjects = 4;- Specified by:
getSubjectsBytesin interfaceAutopilotCompatibilityIssueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subjects at the given index.
-
setSubjects
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Parameters:
index- The index to set the value at.value- The subjects to set.- Returns:
- This builder for chaining.
-
addSubjects
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Parameters:
value- The subjects to add.- Returns:
- This builder for chaining.
-
addAllSubjects
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Parameters:
values- The subjects to add.- Returns:
- This builder for chaining.
-
clearSubjects
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Returns:
- This builder for chaining.
-
addSubjectsBytes
The name of the resources which are subject to this issue.
repeated string subjects = 4;- Parameters:
value- The bytes of the subjects to add.- Returns:
- This builder for chaining.
-
getDocumentationUrl
A URL to a public documentation, which addresses resolving this issue.
string documentation_url = 5;- Specified by:
getDocumentationUrlin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The documentationUrl.
-
getDocumentationUrlBytes
public com.google.protobuf.ByteString getDocumentationUrlBytes()A URL to a public documentation, which addresses resolving this issue.
string documentation_url = 5;- Specified by:
getDocumentationUrlBytesin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The bytes for documentationUrl.
-
setDocumentationUrl
A URL to a public documentation, which addresses resolving this issue.
string documentation_url = 5;- Parameters:
value- The documentationUrl to set.- Returns:
- This builder for chaining.
-
clearDocumentationUrl
A URL to a public documentation, which addresses resolving this issue.
string documentation_url = 5;- Returns:
- This builder for chaining.
-
setDocumentationUrlBytes
public AutopilotCompatibilityIssue.Builder setDocumentationUrlBytes(com.google.protobuf.ByteString value) A URL to a public documentation, which addresses resolving this issue.
string documentation_url = 5;- Parameters:
value- The bytes for documentationUrl to set.- Returns:
- This builder for chaining.
-
getDescription
The description of the issue.
string description = 6;- Specified by:
getDescriptionin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the issue.
string description = 6;- Specified by:
getDescriptionBytesin interfaceAutopilotCompatibilityIssueOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description of the issue.
string description = 6;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description of the issue.
string description = 6;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AutopilotCompatibilityIssue.Builder setDescriptionBytes(com.google.protobuf.ByteString value) The description of the issue.
string description = 6;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-