Class JobRunNotificationEvent

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

    public final class JobRunNotificationEvent
    extends com.google.protobuf.GeneratedMessageV3
    implements JobRunNotificationEventOrBuilder
     Payload proto for "clouddeploy.googleapis.com/jobrun_notification"
     Platform Log event that describes the failure to send JobRun resource update
     Pub/Sub notification.
     
    Protobuf type google.cloud.deploy.v1.JobRunNotificationEvent
    See Also:
    Serialized Form
    • 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
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         Debug message for when a notification fails to send.
         
        string message = 1;
        Specified by:
        getMessageBytes in interface JobRunNotificationEventOrBuilder
        Returns:
        The bytes for message.
      • getPipelineUidBytes

        public com.google.protobuf.ByteString getPipelineUidBytes()
         Unique identifier of the `DeliveryPipeline`.
         
        string pipeline_uid = 3;
        Specified by:
        getPipelineUidBytes in interface JobRunNotificationEventOrBuilder
        Returns:
        The bytes for pipelineUid.
      • getReleaseUidBytes

        public com.google.protobuf.ByteString getReleaseUidBytes()
         Unique identifier of the `Release`.
         
        string release_uid = 4;
        Specified by:
        getReleaseUidBytes in interface JobRunNotificationEventOrBuilder
        Returns:
        The bytes for releaseUid.
      • getRolloutUidBytes

        public com.google.protobuf.ByteString getRolloutUidBytes()
         Unique identifier of the `Rollout`.
         
        string rollout_uid = 5;
        Specified by:
        getRolloutUidBytes in interface JobRunNotificationEventOrBuilder
        Returns:
        The bytes for rolloutUid.
      • getTypeValue

        public int getTypeValue()
         Type of this notification, e.g. for a Pub/Sub failure.
         
        .google.cloud.deploy.v1.Type type = 7;
        Specified by:
        getTypeValue in interface JobRunNotificationEventOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getType

        public Type getType()
         Type of this notification, e.g. for a Pub/Sub failure.
         
        .google.cloud.deploy.v1.Type type = 7;
        Specified by:
        getType in interface JobRunNotificationEventOrBuilder
        Returns:
        The type.
      • 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 JobRunNotificationEvent parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<JobRunNotificationEvent> 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 JobRunNotificationEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder