Class SecurityBulletinEvent

  • All Implemented Interfaces:
    SecurityBulletinEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class SecurityBulletinEvent
    extends com.google.protobuf.GeneratedMessageV3
    implements SecurityBulletinEventOrBuilder
     SecurityBulletinEvent is a notification sent to customers when a security
     bulletin has been posted that they are vulnerable to.
     
    Protobuf type google.container.v1.SecurityBulletinEvent
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_TYPE_AFFECTED_FIELD_NUMBER

        public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BULLETIN_ID_FIELD_NUMBER

        public static final int BULLETIN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BULLETIN_URI_FIELD_NUMBER

        public static final int BULLETIN_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BRIEF_DESCRIPTION_FIELD_NUMBER

        public static final int BRIEF_DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER

        public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PATCHED_VERSIONS_FIELD_NUMBER

        public static final int PATCHED_VERSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER

        public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MANUAL_STEPS_REQUIRED_FIELD_NUMBER

        public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getResourceTypeAffected

        public String getResourceTypeAffected()
         The resource type (node/control plane) that has the vulnerability. Multiple
         notifications (1 notification per resource type) will be sent for a
         vulnerability that affects > 1 resource type.
         
        string resource_type_affected = 1;
        Specified by:
        getResourceTypeAffected in interface SecurityBulletinEventOrBuilder
        Returns:
        The resourceTypeAffected.
      • getResourceTypeAffectedBytes

        public com.google.protobuf.ByteString getResourceTypeAffectedBytes()
         The resource type (node/control plane) that has the vulnerability. Multiple
         notifications (1 notification per resource type) will be sent for a
         vulnerability that affects > 1 resource type.
         
        string resource_type_affected = 1;
        Specified by:
        getResourceTypeAffectedBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for resourceTypeAffected.
      • getBulletinIdBytes

        public com.google.protobuf.ByteString getBulletinIdBytes()
         The ID of the bulletin corresponding to the vulnerability.
         
        string bulletin_id = 2;
        Specified by:
        getBulletinIdBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for bulletinId.
      • getCveIdsList

        public com.google.protobuf.ProtocolStringList getCveIdsList()
         The CVEs associated with this bulletin.
         
        repeated string cve_ids = 3;
        Specified by:
        getCveIdsList in interface SecurityBulletinEventOrBuilder
        Returns:
        A list containing the cveIds.
      • getCveIdsCount

        public int getCveIdsCount()
         The CVEs associated with this bulletin.
         
        repeated string cve_ids = 3;
        Specified by:
        getCveIdsCount in interface SecurityBulletinEventOrBuilder
        Returns:
        The count of cveIds.
      • getCveIds

        public String getCveIds​(int index)
         The CVEs associated with this bulletin.
         
        repeated string cve_ids = 3;
        Specified by:
        getCveIds in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The cveIds at the given index.
      • getCveIdsBytes

        public com.google.protobuf.ByteString getCveIdsBytes​(int index)
         The CVEs associated with this bulletin.
         
        repeated string cve_ids = 3;
        Specified by:
        getCveIdsBytes in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the cveIds at the given index.
      • getSeverityBytes

        public com.google.protobuf.ByteString getSeverityBytes()
         The severity of this bulletin as it relates to GKE.
         
        string severity = 4;
        Specified by:
        getSeverityBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for severity.
      • getBulletinUriBytes

        public com.google.protobuf.ByteString getBulletinUriBytes()
         The URI link to the bulletin on the website for more information.
         
        string bulletin_uri = 5;
        Specified by:
        getBulletinUriBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for bulletinUri.
      • getBriefDescription

        public String getBriefDescription()
         A brief description of the bulletin. See the bulletin pointed to by the
         bulletin_uri field for an expanded description.
         
        string brief_description = 6;
        Specified by:
        getBriefDescription in interface SecurityBulletinEventOrBuilder
        Returns:
        The briefDescription.
      • getBriefDescriptionBytes

        public com.google.protobuf.ByteString getBriefDescriptionBytes()
         A brief description of the bulletin. See the bulletin pointed to by the
         bulletin_uri field for an expanded description.
         
        string brief_description = 6;
        Specified by:
        getBriefDescriptionBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for briefDescription.
      • getAffectedSupportedMinorsList

        public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList()
         The GKE minor versions affected by this vulnerability.
         
        repeated string affected_supported_minors = 7;
        Specified by:
        getAffectedSupportedMinorsList in interface SecurityBulletinEventOrBuilder
        Returns:
        A list containing the affectedSupportedMinors.
      • getAffectedSupportedMinorsCount

        public int getAffectedSupportedMinorsCount()
         The GKE minor versions affected by this vulnerability.
         
        repeated string affected_supported_minors = 7;
        Specified by:
        getAffectedSupportedMinorsCount in interface SecurityBulletinEventOrBuilder
        Returns:
        The count of affectedSupportedMinors.
      • getAffectedSupportedMinors

        public String getAffectedSupportedMinors​(int index)
         The GKE minor versions affected by this vulnerability.
         
        repeated string affected_supported_minors = 7;
        Specified by:
        getAffectedSupportedMinors in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The affectedSupportedMinors at the given index.
      • getAffectedSupportedMinorsBytes

        public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes​(int index)
         The GKE minor versions affected by this vulnerability.
         
        repeated string affected_supported_minors = 7;
        Specified by:
        getAffectedSupportedMinorsBytes in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the affectedSupportedMinors at the given index.
      • getPatchedVersionsList

        public com.google.protobuf.ProtocolStringList getPatchedVersionsList()
         The GKE versions where this vulnerability is patched.
         
        repeated string patched_versions = 8;
        Specified by:
        getPatchedVersionsList in interface SecurityBulletinEventOrBuilder
        Returns:
        A list containing the patchedVersions.
      • getPatchedVersionsCount

        public int getPatchedVersionsCount()
         The GKE versions where this vulnerability is patched.
         
        repeated string patched_versions = 8;
        Specified by:
        getPatchedVersionsCount in interface SecurityBulletinEventOrBuilder
        Returns:
        The count of patchedVersions.
      • getPatchedVersions

        public String getPatchedVersions​(int index)
         The GKE versions where this vulnerability is patched.
         
        repeated string patched_versions = 8;
        Specified by:
        getPatchedVersions in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The patchedVersions at the given index.
      • getPatchedVersionsBytes

        public com.google.protobuf.ByteString getPatchedVersionsBytes​(int index)
         The GKE versions where this vulnerability is patched.
         
        repeated string patched_versions = 8;
        Specified by:
        getPatchedVersionsBytes in interface SecurityBulletinEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the patchedVersions at the given index.
      • getSuggestedUpgradeTarget

        public String getSuggestedUpgradeTarget()
         This represents a version selected from the patched_versions field that
         the cluster receiving this notification should most likely want to upgrade
         to based on its current version. Note that if this notification is being
         received by a given cluster, it means that this version is currently
         available as an upgrade target in that cluster's location.
         
        string suggested_upgrade_target = 9;
        Specified by:
        getSuggestedUpgradeTarget in interface SecurityBulletinEventOrBuilder
        Returns:
        The suggestedUpgradeTarget.
      • getSuggestedUpgradeTargetBytes

        public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes()
         This represents a version selected from the patched_versions field that
         the cluster receiving this notification should most likely want to upgrade
         to based on its current version. Note that if this notification is being
         received by a given cluster, it means that this version is currently
         available as an upgrade target in that cluster's location.
         
        string suggested_upgrade_target = 9;
        Specified by:
        getSuggestedUpgradeTargetBytes in interface SecurityBulletinEventOrBuilder
        Returns:
        The bytes for suggestedUpgradeTarget.
      • getManualStepsRequired

        public boolean getManualStepsRequired()
         If this field is specified, it means there are manual steps that the user
         must take to make their clusters safe.
         
        bool manual_steps_required = 10;
        Specified by:
        getManualStepsRequired in interface SecurityBulletinEventOrBuilder
        Returns:
        The manualStepsRequired.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SecurityBulletinEvent parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public SecurityBulletinEvent.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public SecurityBulletinEvent.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected SecurityBulletinEvent.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<SecurityBulletinEvent> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public SecurityBulletinEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder