Class AutomationRunEvent.Builder

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

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

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

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

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

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

      public AutomationRunEvent.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<AutomationRunEvent.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 AutomationRunEventOrBuilder
      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 AutomationRunEventOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public AutomationRunEvent.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 AutomationRunEvent.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 AutomationRunEvent.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.
    • getAutomationRun

      public String getAutomationRun()
       The name of the `AutomationRun`.
       
      string automation_run = 2;
      Specified by:
      getAutomationRun in interface AutomationRunEventOrBuilder
      Returns:
      The automationRun.
    • getAutomationRunBytes

      public com.google.protobuf.ByteString getAutomationRunBytes()
       The name of the `AutomationRun`.
       
      string automation_run = 2;
      Specified by:
      getAutomationRunBytes in interface AutomationRunEventOrBuilder
      Returns:
      The bytes for automationRun.
    • setAutomationRun

      public AutomationRunEvent.Builder setAutomationRun(String value)
       The name of the `AutomationRun`.
       
      string automation_run = 2;
      Parameters:
      value - The automationRun to set.
      Returns:
      This builder for chaining.
    • clearAutomationRun

      public AutomationRunEvent.Builder clearAutomationRun()
       The name of the `AutomationRun`.
       
      string automation_run = 2;
      Returns:
      This builder for chaining.
    • setAutomationRunBytes

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

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

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

      public AutomationRunEvent.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.
    • getAutomationId

      public String getAutomationId()
       Identifier of the `Automation`.
       
      string automation_id = 4;
      Specified by:
      getAutomationId in interface AutomationRunEventOrBuilder
      Returns:
      The automationId.
    • getAutomationIdBytes

      public com.google.protobuf.ByteString getAutomationIdBytes()
       Identifier of the `Automation`.
       
      string automation_id = 4;
      Specified by:
      getAutomationIdBytes in interface AutomationRunEventOrBuilder
      Returns:
      The bytes for automationId.
    • setAutomationId

      public AutomationRunEvent.Builder setAutomationId(String value)
       Identifier of the `Automation`.
       
      string automation_id = 4;
      Parameters:
      value - The automationId to set.
      Returns:
      This builder for chaining.
    • clearAutomationId

      public AutomationRunEvent.Builder clearAutomationId()
       Identifier of the `Automation`.
       
      string automation_id = 4;
      Returns:
      This builder for chaining.
    • setAutomationIdBytes

      public AutomationRunEvent.Builder setAutomationIdBytes(com.google.protobuf.ByteString value)
       Identifier of the `Automation`.
       
      string automation_id = 4;
      Parameters:
      value - The bytes for automationId to set.
      Returns:
      This builder for chaining.
    • getRuleId

      public String getRuleId()
       Identifier of the `Automation` rule.
       
      string rule_id = 5;
      Specified by:
      getRuleId in interface AutomationRunEventOrBuilder
      Returns:
      The ruleId.
    • getRuleIdBytes

      public com.google.protobuf.ByteString getRuleIdBytes()
       Identifier of the `Automation` rule.
       
      string rule_id = 5;
      Specified by:
      getRuleIdBytes in interface AutomationRunEventOrBuilder
      Returns:
      The bytes for ruleId.
    • setRuleId

      public AutomationRunEvent.Builder setRuleId(String value)
       Identifier of the `Automation` rule.
       
      string rule_id = 5;
      Parameters:
      value - The ruleId to set.
      Returns:
      This builder for chaining.
    • clearRuleId

      public AutomationRunEvent.Builder clearRuleId()
       Identifier of the `Automation` rule.
       
      string rule_id = 5;
      Returns:
      This builder for chaining.
    • setRuleIdBytes

      public AutomationRunEvent.Builder setRuleIdBytes(com.google.protobuf.ByteString value)
       Identifier of the `Automation` rule.
       
      string rule_id = 5;
      Parameters:
      value - The bytes for ruleId to set.
      Returns:
      This builder for chaining.
    • getDestinationTargetId

      public String getDestinationTargetId()
       ID of the `Target` to which the `AutomationRun` is created.
       
      string destination_target_id = 6;
      Specified by:
      getDestinationTargetId in interface AutomationRunEventOrBuilder
      Returns:
      The destinationTargetId.
    • getDestinationTargetIdBytes

      public com.google.protobuf.ByteString getDestinationTargetIdBytes()
       ID of the `Target` to which the `AutomationRun` is created.
       
      string destination_target_id = 6;
      Specified by:
      getDestinationTargetIdBytes in interface AutomationRunEventOrBuilder
      Returns:
      The bytes for destinationTargetId.
    • setDestinationTargetId

      public AutomationRunEvent.Builder setDestinationTargetId(String value)
       ID of the `Target` to which the `AutomationRun` is created.
       
      string destination_target_id = 6;
      Parameters:
      value - The destinationTargetId to set.
      Returns:
      This builder for chaining.
    • clearDestinationTargetId

      public AutomationRunEvent.Builder clearDestinationTargetId()
       ID of the `Target` to which the `AutomationRun` is created.
       
      string destination_target_id = 6;
      Returns:
      This builder for chaining.
    • setDestinationTargetIdBytes

      public AutomationRunEvent.Builder setDestinationTargetIdBytes(com.google.protobuf.ByteString value)
       ID of the `Target` to which the `AutomationRun` is created.
       
      string destination_target_id = 6;
      Parameters:
      value - The bytes for destinationTargetId 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 AutomationRunEventOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public AutomationRunEvent.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 AutomationRunEventOrBuilder
      Returns:
      The type.
    • setType

      public AutomationRunEvent.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 AutomationRunEvent.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.