Class RolloutUpdateEvent.Builder

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

public static final class RolloutUpdateEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<RolloutUpdateEvent.Builder> implements RolloutUpdateEventOrBuilder
 Payload proto for "clouddeploy.googleapis.com/rollout_update"
 Platform Log event that describes the rollout update event.
 
Protobuf type google.cloud.deploy.v1.RolloutUpdateEvent
  • 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<RolloutUpdateEvent.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<RolloutUpdateEvent.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<RolloutUpdateEvent.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getMessage()
       Debug message for when a rollout update event occurs.
       
      string message = 6;
      Specified by:
      getMessage in interface RolloutUpdateEventOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Debug message for when a rollout update event occurs.
       
      string message = 6;
      Specified by:
      getMessageBytes in interface RolloutUpdateEventOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public RolloutUpdateEvent.Builder setMessage(String value)
       Debug message for when a rollout update event occurs.
       
      string message = 6;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public RolloutUpdateEvent.Builder clearMessage()
       Debug message for when a rollout update event occurs.
       
      string message = 6;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public RolloutUpdateEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Debug message for when a rollout update event occurs.
       
      string message = 6;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getPipelineUid

      public String getPipelineUid()
       Unique identifier of the pipeline.
       
      string pipeline_uid = 1;
      Specified by:
      getPipelineUid in interface RolloutUpdateEventOrBuilder
      Returns:
      The pipelineUid.
    • getPipelineUidBytes

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

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

      public RolloutUpdateEvent.Builder clearPipelineUid()
       Unique identifier of the pipeline.
       
      string pipeline_uid = 1;
      Returns:
      This builder for chaining.
    • setPipelineUidBytes

      public RolloutUpdateEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the pipeline.
       
      string pipeline_uid = 1;
      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 = 2;
      Specified by:
      getReleaseUid in interface RolloutUpdateEventOrBuilder
      Returns:
      The releaseUid.
    • getReleaseUidBytes

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

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

      public RolloutUpdateEvent.Builder clearReleaseUid()
       Unique identifier of the release.
       
      string release_uid = 2;
      Returns:
      This builder for chaining.
    • setReleaseUidBytes

      public RolloutUpdateEvent.Builder setReleaseUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the release.
       
      string release_uid = 2;
      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 RolloutUpdateEventOrBuilder
      Returns:
      The release.
    • getReleaseBytes

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

      public RolloutUpdateEvent.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 RolloutUpdateEvent.Builder clearRelease()
       The name of the `Release`.
       
      string release = 8;
      Returns:
      This builder for chaining.
    • setReleaseBytes

      public RolloutUpdateEvent.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.
    • getRollout

      public String getRollout()
       The name of the rollout.
       rollout_uid is not in this log message because we write some of these log
       messages at rollout creation time, before we've generated the uid.
       
      string rollout = 3;
      Specified by:
      getRollout in interface RolloutUpdateEventOrBuilder
      Returns:
      The rollout.
    • getRolloutBytes

      public com.google.protobuf.ByteString getRolloutBytes()
       The name of the rollout.
       rollout_uid is not in this log message because we write some of these log
       messages at rollout creation time, before we've generated the uid.
       
      string rollout = 3;
      Specified by:
      getRolloutBytes in interface RolloutUpdateEventOrBuilder
      Returns:
      The bytes for rollout.
    • setRollout

      public RolloutUpdateEvent.Builder setRollout(String value)
       The name of the rollout.
       rollout_uid is not in this log message because we write some of these log
       messages at rollout creation time, before we've generated the uid.
       
      string rollout = 3;
      Parameters:
      value - The rollout to set.
      Returns:
      This builder for chaining.
    • clearRollout

      public RolloutUpdateEvent.Builder clearRollout()
       The name of the rollout.
       rollout_uid is not in this log message because we write some of these log
       messages at rollout creation time, before we've generated the uid.
       
      string rollout = 3;
      Returns:
      This builder for chaining.
    • setRolloutBytes

      public RolloutUpdateEvent.Builder setRolloutBytes(com.google.protobuf.ByteString value)
       The name of the rollout.
       rollout_uid is not in this log message because we write some of these log
       messages at rollout creation time, before we've generated the uid.
       
      string rollout = 3;
      Parameters:
      value - The bytes for rollout to set.
      Returns:
      This builder for chaining.
    • getTargetId

      public String getTargetId()
       ID of the target.
       
      string target_id = 4;
      Specified by:
      getTargetId in interface RolloutUpdateEventOrBuilder
      Returns:
      The targetId.
    • getTargetIdBytes

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

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

      public RolloutUpdateEvent.Builder clearTargetId()
       ID of the target.
       
      string target_id = 4;
      Returns:
      This builder for chaining.
    • setTargetIdBytes

      public RolloutUpdateEvent.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
       ID of the target.
       
      string target_id = 4;
      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 rollout update event.
       
      .google.cloud.deploy.v1.Type type = 7;
      Specified by:
      getTypeValue in interface RolloutUpdateEventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public RolloutUpdateEvent.Builder setTypeValue(int value)
       Type of this notification, e.g. for a rollout update event.
       
      .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 rollout update event.
       
      .google.cloud.deploy.v1.Type type = 7;
      Specified by:
      getType in interface RolloutUpdateEventOrBuilder
      Returns:
      The type.
    • setType

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

      public RolloutUpdateEvent.Builder clearType()
       Type of this notification, e.g. for a rollout update event.
       
      .google.cloud.deploy.v1.Type type = 7;
      Returns:
      This builder for chaining.
    • getRolloutUpdateTypeValue

      public int getRolloutUpdateTypeValue()
       The type of the rollout update.
       
      .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;
      Specified by:
      getRolloutUpdateTypeValue in interface RolloutUpdateEventOrBuilder
      Returns:
      The enum numeric value on the wire for rolloutUpdateType.
    • setRolloutUpdateTypeValue

      public RolloutUpdateEvent.Builder setRolloutUpdateTypeValue(int value)
       The type of the rollout update.
       
      .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;
      Parameters:
      value - The enum numeric value on the wire for rolloutUpdateType to set.
      Returns:
      This builder for chaining.
    • getRolloutUpdateType

      public RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType()
       The type of the rollout update.
       
      .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;
      Specified by:
      getRolloutUpdateType in interface RolloutUpdateEventOrBuilder
      Returns:
      The rolloutUpdateType.
    • setRolloutUpdateType

       The type of the rollout update.
       
      .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;
      Parameters:
      value - The rolloutUpdateType to set.
      Returns:
      This builder for chaining.
    • clearRolloutUpdateType

      public RolloutUpdateEvent.Builder clearRolloutUpdateType()
       The type of the rollout update.
       
      .google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;
      Returns:
      This builder for chaining.