Class AutomationRolloutMetadata.Builder

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

public static final class AutomationRolloutMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder> implements AutomationRolloutMetadataOrBuilder
 AutomationRolloutMetadata contains Automation-related actions that
 were performed on a rollout.
 
Protobuf type google.cloud.deploy.v1.AutomationRolloutMetadata
  • 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<AutomationRolloutMetadata.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<AutomationRolloutMetadata.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<AutomationRolloutMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AutomationRolloutMetadata.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<AutomationRolloutMetadata.Builder>
      Throws:
      IOException
    • getPromoteAutomationRun

      public String getPromoteAutomationRun()
       Output only. The name of the AutomationRun initiated by a promote release
       rule.
       
      string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPromoteAutomationRun in interface AutomationRolloutMetadataOrBuilder
      Returns:
      The promoteAutomationRun.
    • getPromoteAutomationRunBytes

      public com.google.protobuf.ByteString getPromoteAutomationRunBytes()
       Output only. The name of the AutomationRun initiated by a promote release
       rule.
       
      string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPromoteAutomationRunBytes in interface AutomationRolloutMetadataOrBuilder
      Returns:
      The bytes for promoteAutomationRun.
    • setPromoteAutomationRun

      public AutomationRolloutMetadata.Builder setPromoteAutomationRun(String value)
       Output only. The name of the AutomationRun initiated by a promote release
       rule.
       
      string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The promoteAutomationRun to set.
      Returns:
      This builder for chaining.
    • clearPromoteAutomationRun

      public AutomationRolloutMetadata.Builder clearPromoteAutomationRun()
       Output only. The name of the AutomationRun initiated by a promote release
       rule.
       
      string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPromoteAutomationRunBytes

      public AutomationRolloutMetadata.Builder setPromoteAutomationRunBytes(com.google.protobuf.ByteString value)
       Output only. The name of the AutomationRun initiated by a promote release
       rule.
       
      string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for promoteAutomationRun to set.
      Returns:
      This builder for chaining.
    • getAdvanceAutomationRunsList

      public com.google.protobuf.ProtocolStringList getAdvanceAutomationRunsList()
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceAutomationRunsList in interface AutomationRolloutMetadataOrBuilder
      Returns:
      A list containing the advanceAutomationRuns.
    • getAdvanceAutomationRunsCount

      public int getAdvanceAutomationRunsCount()
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceAutomationRunsCount in interface AutomationRolloutMetadataOrBuilder
      Returns:
      The count of advanceAutomationRuns.
    • getAdvanceAutomationRuns

      public String getAdvanceAutomationRuns(int index)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceAutomationRuns in interface AutomationRolloutMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The advanceAutomationRuns at the given index.
    • getAdvanceAutomationRunsBytes

      public com.google.protobuf.ByteString getAdvanceAutomationRunsBytes(int index)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvanceAutomationRunsBytes in interface AutomationRolloutMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the advanceAutomationRuns at the given index.
    • setAdvanceAutomationRuns

      public AutomationRolloutMetadata.Builder setAdvanceAutomationRuns(int index, String value)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The advanceAutomationRuns to set.
      Returns:
      This builder for chaining.
    • addAdvanceAutomationRuns

      public AutomationRolloutMetadata.Builder addAdvanceAutomationRuns(String value)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The advanceAutomationRuns to add.
      Returns:
      This builder for chaining.
    • addAllAdvanceAutomationRuns

      public AutomationRolloutMetadata.Builder addAllAdvanceAutomationRuns(Iterable<String> values)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The advanceAutomationRuns to add.
      Returns:
      This builder for chaining.
    • clearAdvanceAutomationRuns

      public AutomationRolloutMetadata.Builder clearAdvanceAutomationRuns()
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addAdvanceAutomationRunsBytes

      public AutomationRolloutMetadata.Builder addAdvanceAutomationRunsBytes(com.google.protobuf.ByteString value)
       Output only. The names of the AutomationRuns initiated by an advance
       rollout rule.
       
      repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the advanceAutomationRuns to add.
      Returns:
      This builder for chaining.
    • getRepairAutomationRunsList

      public com.google.protobuf.ProtocolStringList getRepairAutomationRunsList()
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairAutomationRunsList in interface AutomationRolloutMetadataOrBuilder
      Returns:
      A list containing the repairAutomationRuns.
    • getRepairAutomationRunsCount

      public int getRepairAutomationRunsCount()
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairAutomationRunsCount in interface AutomationRolloutMetadataOrBuilder
      Returns:
      The count of repairAutomationRuns.
    • getRepairAutomationRuns

      public String getRepairAutomationRuns(int index)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairAutomationRuns in interface AutomationRolloutMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The repairAutomationRuns at the given index.
    • getRepairAutomationRunsBytes

      public com.google.protobuf.ByteString getRepairAutomationRunsBytes(int index)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepairAutomationRunsBytes in interface AutomationRolloutMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the repairAutomationRuns at the given index.
    • setRepairAutomationRuns

      public AutomationRolloutMetadata.Builder setRepairAutomationRuns(int index, String value)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The repairAutomationRuns to set.
      Returns:
      This builder for chaining.
    • addRepairAutomationRuns

      public AutomationRolloutMetadata.Builder addRepairAutomationRuns(String value)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The repairAutomationRuns to add.
      Returns:
      This builder for chaining.
    • addAllRepairAutomationRuns

      public AutomationRolloutMetadata.Builder addAllRepairAutomationRuns(Iterable<String> values)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The repairAutomationRuns to add.
      Returns:
      This builder for chaining.
    • clearRepairAutomationRuns

      public AutomationRolloutMetadata.Builder clearRepairAutomationRuns()
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addRepairAutomationRunsBytes

      public AutomationRolloutMetadata.Builder addRepairAutomationRunsBytes(com.google.protobuf.ByteString value)
       Output only. The names of the AutomationRuns initiated by a repair rollout
       rule.
       
      repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the repairAutomationRuns to add.
      Returns:
      This builder for chaining.