Class JobRunNotificationEvent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<JobRunNotificationEvent.Builder>
com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder
All Implemented Interfaces:
JobRunNotificationEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
JobRunNotificationEvent

public static final class JobRunNotificationEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<JobRunNotificationEvent.Builder> 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
  • 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<JobRunNotificationEvent.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<JobRunNotificationEvent.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<JobRunNotificationEvent.Builder>
    • getDefaultInstanceForType

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

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

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

      public JobRunNotificationEvent.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<JobRunNotificationEvent.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<JobRunNotificationEvent.Builder>
    • mergeFrom

      public JobRunNotificationEvent.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<JobRunNotificationEvent.Builder>
      Throws:
      IOException
    • getMessage

      public String getMessage()
       Debug message for when a notification fails to send.
       
      string message = 1;
      Specified by:
      getMessage in interface JobRunNotificationEventOrBuilder
      Returns:
      The message.
    • 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.
    • setMessage

      public JobRunNotificationEvent.Builder setMessage(String value)
       Debug message for when a notification fails to send.
       
      string message = 1;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public JobRunNotificationEvent.Builder clearMessage()
       Debug message for when a notification fails to send.
       
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public JobRunNotificationEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Debug message for when a notification fails to send.
       
      string message = 1;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getJobRun

      public String getJobRun()
       The name of the `JobRun`.
       
      string job_run = 2;
      Specified by:
      getJobRun in interface JobRunNotificationEventOrBuilder
      Returns:
      The jobRun.
    • getJobRunBytes

      public com.google.protobuf.ByteString getJobRunBytes()
       The name of the `JobRun`.
       
      string job_run = 2;
      Specified by:
      getJobRunBytes in interface JobRunNotificationEventOrBuilder
      Returns:
      The bytes for jobRun.
    • setJobRun

      public JobRunNotificationEvent.Builder setJobRun(String value)
       The name of the `JobRun`.
       
      string job_run = 2;
      Parameters:
      value - The jobRun to set.
      Returns:
      This builder for chaining.
    • clearJobRun

      public JobRunNotificationEvent.Builder clearJobRun()
       The name of the `JobRun`.
       
      string job_run = 2;
      Returns:
      This builder for chaining.
    • setJobRunBytes

      public JobRunNotificationEvent.Builder setJobRunBytes(com.google.protobuf.ByteString value)
       The name of the `JobRun`.
       
      string job_run = 2;
      Parameters:
      value - The bytes for jobRun to set.
      Returns:
      This builder for chaining.
    • getPipelineUid

      public String getPipelineUid()
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 3;
      Specified by:
      getPipelineUid in interface JobRunNotificationEventOrBuilder
      Returns:
      The pipelineUid.
    • 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.
    • setPipelineUid

      public JobRunNotificationEvent.Builder setPipelineUid(String value)
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 3;
      Parameters:
      value - The pipelineUid to set.
      Returns:
      This builder for chaining.
    • clearPipelineUid

      public JobRunNotificationEvent.Builder clearPipelineUid()
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 3;
      Returns:
      This builder for chaining.
    • setPipelineUidBytes

      public JobRunNotificationEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 3;
      Parameters:
      value - The bytes for pipelineUid to set.
      Returns:
      This builder for chaining.
    • getReleaseUid

      public String getReleaseUid()
       Unique identifier of the `Release`.
       
      string release_uid = 4;
      Specified by:
      getReleaseUid in interface JobRunNotificationEventOrBuilder
      Returns:
      The releaseUid.
    • 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.
    • setReleaseUid

      public JobRunNotificationEvent.Builder setReleaseUid(String value)
       Unique identifier of the `Release`.
       
      string release_uid = 4;
      Parameters:
      value - The releaseUid to set.
      Returns:
      This builder for chaining.
    • clearReleaseUid

      public JobRunNotificationEvent.Builder clearReleaseUid()
       Unique identifier of the `Release`.
       
      string release_uid = 4;
      Returns:
      This builder for chaining.
    • setReleaseUidBytes

      public JobRunNotificationEvent.Builder setReleaseUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `Release`.
       
      string release_uid = 4;
      Parameters:
      value - The bytes for releaseUid to set.
      Returns:
      This builder for chaining.
    • getRelease

      public String getRelease()
       The name of the `Release`.
       
      string release = 8;
      Specified by:
      getRelease in interface JobRunNotificationEventOrBuilder
      Returns:
      The release.
    • getReleaseBytes

      public com.google.protobuf.ByteString getReleaseBytes()
       The name of the `Release`.
       
      string release = 8;
      Specified by:
      getReleaseBytes in interface JobRunNotificationEventOrBuilder
      Returns:
      The bytes for release.
    • setRelease

      public JobRunNotificationEvent.Builder setRelease(String value)
       The name of the `Release`.
       
      string release = 8;
      Parameters:
      value - The release to set.
      Returns:
      This builder for chaining.
    • clearRelease

      public JobRunNotificationEvent.Builder clearRelease()
       The name of the `Release`.
       
      string release = 8;
      Returns:
      This builder for chaining.
    • setReleaseBytes

      public JobRunNotificationEvent.Builder setReleaseBytes(com.google.protobuf.ByteString value)
       The name of the `Release`.
       
      string release = 8;
      Parameters:
      value - The bytes for release to set.
      Returns:
      This builder for chaining.
    • getRolloutUid

      public String getRolloutUid()
       Unique identifier of the `Rollout`.
       
      string rollout_uid = 5;
      Specified by:
      getRolloutUid in interface JobRunNotificationEventOrBuilder
      Returns:
      The rolloutUid.
    • 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.
    • setRolloutUid

      public JobRunNotificationEvent.Builder setRolloutUid(String value)
       Unique identifier of the `Rollout`.
       
      string rollout_uid = 5;
      Parameters:
      value - The rolloutUid to set.
      Returns:
      This builder for chaining.
    • clearRolloutUid

      public JobRunNotificationEvent.Builder clearRolloutUid()
       Unique identifier of the `Rollout`.
       
      string rollout_uid = 5;
      Returns:
      This builder for chaining.
    • setRolloutUidBytes

      public JobRunNotificationEvent.Builder setRolloutUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `Rollout`.
       
      string rollout_uid = 5;
      Parameters:
      value - The bytes for rolloutUid to set.
      Returns:
      This builder for chaining.
    • getRollout

      public String getRollout()
       The name of the `Rollout`.
       
      string rollout = 9;
      Specified by:
      getRollout in interface JobRunNotificationEventOrBuilder
      Returns:
      The rollout.
    • getRolloutBytes

      public com.google.protobuf.ByteString getRolloutBytes()
       The name of the `Rollout`.
       
      string rollout = 9;
      Specified by:
      getRolloutBytes in interface JobRunNotificationEventOrBuilder
      Returns:
      The bytes for rollout.
    • setRollout

      public JobRunNotificationEvent.Builder setRollout(String value)
       The name of the `Rollout`.
       
      string rollout = 9;
      Parameters:
      value - The rollout to set.
      Returns:
      This builder for chaining.
    • clearRollout

      public JobRunNotificationEvent.Builder clearRollout()
       The name of the `Rollout`.
       
      string rollout = 9;
      Returns:
      This builder for chaining.
    • setRolloutBytes

      public JobRunNotificationEvent.Builder setRolloutBytes(com.google.protobuf.ByteString value)
       The name of the `Rollout`.
       
      string rollout = 9;
      Parameters:
      value - The bytes for rollout to set.
      Returns:
      This builder for chaining.
    • getTargetId

      public String getTargetId()
       ID of the `Target`.
       
      string target_id = 6;
      Specified by:
      getTargetId in interface JobRunNotificationEventOrBuilder
      Returns:
      The targetId.
    • getTargetIdBytes

      public com.google.protobuf.ByteString getTargetIdBytes()
       ID of the `Target`.
       
      string target_id = 6;
      Specified by:
      getTargetIdBytes in interface JobRunNotificationEventOrBuilder
      Returns:
      The bytes for targetId.
    • setTargetId

      public JobRunNotificationEvent.Builder setTargetId(String value)
       ID of the `Target`.
       
      string target_id = 6;
      Parameters:
      value - The targetId to set.
      Returns:
      This builder for chaining.
    • clearTargetId

      public JobRunNotificationEvent.Builder clearTargetId()
       ID of the `Target`.
       
      string target_id = 6;
      Returns:
      This builder for chaining.
    • setTargetIdBytes

      public JobRunNotificationEvent.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
       ID of the `Target`.
       
      string target_id = 6;
      Parameters:
      value - The bytes for targetId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTypeValue

      public JobRunNotificationEvent.Builder setTypeValue(int value)
       Type of this notification, e.g. for a Pub/Sub failure.
       
      .google.cloud.deploy.v1.Type type = 7;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • 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.
    • setType

      public JobRunNotificationEvent.Builder setType(Type value)
       Type of this notification, e.g. for a Pub/Sub failure.
       
      .google.cloud.deploy.v1.Type type = 7;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public JobRunNotificationEvent.Builder clearType()
       Type of this notification, e.g. for a Pub/Sub failure.
       
      .google.cloud.deploy.v1.Type type = 7;
      Returns:
      This builder for chaining.