Class TimedPromoteReleaseCondition.Targets.Builder (1.72.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.72.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  TimedPromoteReleaseCondition . Targets . Builder   extends   GeneratedMessageV3 . Builder<TimedPromoteReleaseCondition . Targets . Builder >  implements   TimedPromoteReleaseCondition . TargetsOrBuilder  
   The targets involved in a single timed promotion.
 Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets   build ()  
  
  
    
public   TimedPromoteReleaseCondition . Targets   buildPartial ()  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   clear ()  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   clearDestinationTargetId ()  
   Optional. The destination target ID.
 string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
public   TimedPromoteReleaseCondition . Targets . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   clearSourceTargetId ()  
   Optional. The source target ID.
 string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
    
public   TimedPromoteReleaseCondition . Targets . Builder   clone ()  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   String   getDestinationTargetId ()  
   Optional. The destination target ID.
 string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The destinationTargetId.
 
     
  
  
    
public   ByteString   getDestinationTargetIdBytes ()  
   Optional. The destination target ID.
 string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for destinationTargetId.
 
     
  
  
    
public   String   getSourceTargetId ()  
   Optional. The source target ID.
 string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The sourceTargetId.
 
     
  
  
    
public   ByteString   getSourceTargetIdBytes ()  
   Optional. The source target ID.
 string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for sourceTargetId.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   mergeFrom ( TimedPromoteReleaseCondition . Targets   other )  
  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   TimedPromoteReleaseCondition . Targets . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setDestinationTargetId ( String   value )  
   Optional. The destination target ID.
 string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueString The destinationTargetId to set.
 
     
  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setDestinationTargetIdBytes ( ByteString   value )  
   Optional. The destination target ID.
 string destination_target_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for destinationTargetId to set.
 
     
  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setSourceTargetId ( String   value )  
   Optional. The source target ID.
 string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueString The sourceTargetId to set.
 
     
  
  
  
    
public   TimedPromoteReleaseCondition . Targets . Builder   setSourceTargetIdBytes ( ByteString   value )  
   Optional. The source target ID.
 string source_target_id = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for sourceTargetId to set.
 
     
  
  
  
    
public   final   TimedPromoteReleaseCondition . Targets . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]