Class AutopilotCompatibilityIssue.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public AutopilotCompatibilityIssue 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • 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.
      • 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.
      • 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.
      • getDocumentationUrlBytes

        public com.google.protobuf.ByteString getDocumentationUrlBytes()
         A URL to a public documnetation, 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 documnetation, 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 documnetation, 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 documnetation, which addresses resolving this issue.
         
        string documentation_url = 5;
        Parameters:
        value - The bytes for documentationUrl to set.
        Returns:
        This builder for chaining.
      • 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.
      • 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.
      • mergeUnknownFields

        public final AutopilotCompatibilityIssue.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutopilotCompatibilityIssue.Builder>