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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AutopilotCompatibilityIssue.Builder>
    • getDefaultInstanceForType

      public AutopilotCompatibilityIssue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AutopilotCompatibilityIssue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AutopilotCompatibilityIssue.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutopilotCompatibilityIssue.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasLastObservation in interface AutopilotCompatibilityIssueOrBuilder
      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:
      getLastObservation in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The lastObservation.
    • setLastObservation

      public AutopilotCompatibilityIssue.Builder setLastObservation(com.google.protobuf.Timestamp value)
       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

      public AutopilotCompatibilityIssue.Builder 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:
      getLastObservationOrBuilder in interface AutopilotCompatibilityIssueOrBuilder
    • getConstraintType

      public String getConstraintType()
       The constraint type of the issue.
       
      string constraint_type = 2;
      Specified by:
      getConstraintType in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The constraintType.
    • getConstraintTypeBytes

      public com.google.protobuf.ByteString getConstraintTypeBytes()
       The constraint type of the issue.
       
      string constraint_type = 2;
      Specified by:
      getConstraintTypeBytes in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The bytes for constraintType.
    • setConstraintType

      public AutopilotCompatibilityIssue.Builder setConstraintType(String value)
       The constraint type of the issue.
       
      string constraint_type = 2;
      Parameters:
      value - The constraintType to set.
      Returns:
      This builder for chaining.
    • clearConstraintType

      public AutopilotCompatibilityIssue.Builder 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:
      getIncompatibilityTypeValue in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The enum numeric value on the wire for incompatibilityType.
    • setIncompatibilityTypeValue

      public AutopilotCompatibilityIssue.Builder setIncompatibilityTypeValue(int value)
       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

      public AutopilotCompatibilityIssue.IssueType getIncompatibilityType()
       The incompatibility type of this issue.
       
      .google.container.v1.AutopilotCompatibilityIssue.IssueType incompatibility_type = 3;
      Specified by:
      getIncompatibilityType in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The incompatibilityType.
    • setIncompatibilityType

       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

      public AutopilotCompatibilityIssue.Builder 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:
      getSubjectsList in interface AutopilotCompatibilityIssueOrBuilder
      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:
      getSubjectsCount in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The count of subjects.
    • getSubjects

      public String getSubjects(int index)
       The name of the resources which are subject to this issue.
       
      repeated string subjects = 4;
      Specified by:
      getSubjects in interface AutopilotCompatibilityIssueOrBuilder
      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:
      getSubjectsBytes in interface AutopilotCompatibilityIssueOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subjects at the given index.
    • setSubjects

      public AutopilotCompatibilityIssue.Builder setSubjects(int index, String value)
       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

      public AutopilotCompatibilityIssue.Builder addSubjects(String value)
       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

      public AutopilotCompatibilityIssue.Builder addAllSubjects(Iterable<String> values)
       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

      public AutopilotCompatibilityIssue.Builder clearSubjects()
       The name of the resources which are subject to this issue.
       
      repeated string subjects = 4;
      Returns:
      This builder for chaining.
    • addSubjectsBytes

      public AutopilotCompatibilityIssue.Builder addSubjectsBytes(com.google.protobuf.ByteString value)
       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

      public String getDocumentationUrl()
       A URL to a public documentation, which addresses resolving this issue.
       
      string documentation_url = 5;
      Specified by:
      getDocumentationUrl in interface AutopilotCompatibilityIssueOrBuilder
      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:
      getDocumentationUrlBytes in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The bytes for documentationUrl.
    • setDocumentationUrl

      public AutopilotCompatibilityIssue.Builder setDocumentationUrl(String value)
       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

      public AutopilotCompatibilityIssue.Builder 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

      public String getDescription()
       The description of the issue.
       
      string description = 6;
      Specified by:
      getDescription in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the issue.
       
      string description = 6;
      Specified by:
      getDescriptionBytes in interface AutopilotCompatibilityIssueOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public AutopilotCompatibilityIssue.Builder setDescription(String value)
       The description of the issue.
       
      string description = 6;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AutopilotCompatibilityIssue.Builder 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.