Class AutomationEvent.Builder

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

public static final class AutomationEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder> implements AutomationEventOrBuilder
 Payload proto for "clouddeploy.googleapis.com/automation"
 Platform Log event that describes the Automation related events.
 
Protobuf type google.cloud.deploy.v1.AutomationEvent
  • 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<AutomationEvent.Builder>
    • clear

      public AutomationEvent.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<AutomationEvent.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<AutomationEvent.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AutomationEvent.Builder mergeFrom(AutomationEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AutomationEvent.Builder>
    • mergeFrom

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

      public String getMessage()
       Debug message for when there is an update on the AutomationRun.
       Provides further details about the resource creation or state change.
       
      string message = 1;
      Specified by:
      getMessage in interface AutomationEventOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Debug message for when there is an update on the AutomationRun.
       Provides further details about the resource creation or state change.
       
      string message = 1;
      Specified by:
      getMessageBytes in interface AutomationEventOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public AutomationEvent.Builder setMessage(String value)
       Debug message for when there is an update on the AutomationRun.
       Provides further details about the resource creation or state change.
       
      string message = 1;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public AutomationEvent.Builder clearMessage()
       Debug message for when there is an update on the AutomationRun.
       Provides further details about the resource creation or state change.
       
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public AutomationEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Debug message for when there is an update on the AutomationRun.
       Provides further details about the resource creation or state change.
       
      string message = 1;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getAutomation

      public String getAutomation()
       The name of the `AutomationRun`.
       
      string automation = 2;
      Specified by:
      getAutomation in interface AutomationEventOrBuilder
      Returns:
      The automation.
    • getAutomationBytes

      public com.google.protobuf.ByteString getAutomationBytes()
       The name of the `AutomationRun`.
       
      string automation = 2;
      Specified by:
      getAutomationBytes in interface AutomationEventOrBuilder
      Returns:
      The bytes for automation.
    • setAutomation

      public AutomationEvent.Builder setAutomation(String value)
       The name of the `AutomationRun`.
       
      string automation = 2;
      Parameters:
      value - The automation to set.
      Returns:
      This builder for chaining.
    • clearAutomation

      public AutomationEvent.Builder clearAutomation()
       The name of the `AutomationRun`.
       
      string automation = 2;
      Returns:
      This builder for chaining.
    • setAutomationBytes

      public AutomationEvent.Builder setAutomationBytes(com.google.protobuf.ByteString value)
       The name of the `AutomationRun`.
       
      string automation = 2;
      Parameters:
      value - The bytes for automation 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 AutomationEventOrBuilder
      Returns:
      The pipelineUid.
    • getPipelineUidBytes

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

      public AutomationEvent.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 AutomationEvent.Builder clearPipelineUid()
       Unique identifier of the `DeliveryPipeline`.
       
      string pipeline_uid = 3;
      Returns:
      This builder for chaining.
    • setPipelineUidBytes

      public AutomationEvent.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.
    • getTypeValue

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

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

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

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