Class ReleaseNotificationEvent.Builder

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

public static final class ReleaseNotificationEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReleaseNotificationEvent.Builder> implements ReleaseNotificationEventOrBuilder
 Payload proto for "clouddeploy.googleapis.com/release_notification"
 Platform Log event that describes the failure to send release status change
 Pub/Sub notification.
 
Protobuf type google.cloud.deploy.v1.ReleaseNotificationEvent
  • 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<ReleaseNotificationEvent.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<ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

      public ReleaseNotificationEvent.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 ReleaseNotificationEvent.Builder clearMessage()
       Debug message for when a notification fails to send.
       
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public ReleaseNotificationEvent.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.
    • getPipelineUid

      public String getPipelineUid()
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 4;
      Specified by:
      getPipelineUid in interface ReleaseNotificationEventOrBuilder
      Returns:
      The pipelineUid.
    • getPipelineUidBytes

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

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

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

      public ReleaseNotificationEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 4;
      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 = 5;
      Specified by:
      getReleaseUid in interface ReleaseNotificationEventOrBuilder
      Returns:
      The releaseUid.
    • getReleaseUidBytes

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

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

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

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

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

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

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

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

      public ReleaseNotificationEvent.Builder setReleaseBytes(com.google.protobuf.ByteString value)
       The name of the `Release`.
       
      string release = 2;
      Parameters:
      value - The bytes for release 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 = 3;
      Specified by:
      getTypeValue in interface ReleaseNotificationEventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ReleaseNotificationEvent.Builder setTypeValue(int value)
       Type of this notification, e.g. for a Pub/Sub failure.
       
      .google.cloud.deploy.v1.Type type = 3;
      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 = 3;
      Specified by:
      getType in interface ReleaseNotificationEventOrBuilder
      Returns:
      The type.
    • setType

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

       Type of this notification, e.g. for a Pub/Sub failure.
       
      .google.cloud.deploy.v1.Type type = 3;
      Returns:
      This builder for chaining.