All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.knative.flows.v1.ParallelSpecFluent Maven / Gradle / Ivy

package io.fabric8.knative.flows.v1;

import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.Fluent;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import io.fabric8.knative.messaging.v1.ChannelTemplateSpec;
import java.util.function.Predicate;
import io.fabric8.knative.internal.pkg.apis.duck.v1.DestinationFluent;
import io.fabric8.knative.messaging.v1.ChannelTemplateSpecFluent;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface ParallelSpecFluent> extends Fluent{
  public A addToBranches(Integer index,ParallelBranch item);
  public A setToBranches(Integer index,ParallelBranch item);
  public A addToBranches(io.fabric8.knative.flows.v1.ParallelBranch... items);
  public A addAllToBranches(Collection items);
  public A removeFromBranches(io.fabric8.knative.flows.v1.ParallelBranch... items);
  public A removeAllFromBranches(Collection items);
  public A removeMatchingFromBranches(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildBranches instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getBranches();
  public List buildBranches();
  public ParallelBranch buildBranch(Integer index);
  public ParallelBranch buildFirstBranch();
  public ParallelBranch buildLastBranch();
  public ParallelBranch buildMatchingBranch(Predicate predicate);
  public Boolean hasMatchingBranch(Predicate predicate);
  public A withBranches(List branches);
  public A withBranches(io.fabric8.knative.flows.v1.ParallelBranch... branches);
  public Boolean hasBranches();
  public ParallelSpecFluent.BranchesNested addNewBranch();
  public ParallelSpecFluent.BranchesNested addNewBranchLike(ParallelBranch item);
  public ParallelSpecFluent.BranchesNested setNewBranchLike(Integer index,ParallelBranch item);
  public ParallelSpecFluent.BranchesNested editBranch(Integer index);
  public ParallelSpecFluent.BranchesNested editFirstBranch();
  public ParallelSpecFluent.BranchesNested editLastBranch();
  public ParallelSpecFluent.BranchesNested editMatchingBranch(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildChannelTemplate instead.
   * @return The buildable object.
   */
  @Deprecated
  public ChannelTemplateSpec getChannelTemplate();
  public ChannelTemplateSpec buildChannelTemplate();
  public A withChannelTemplate(ChannelTemplateSpec channelTemplate);
  public Boolean hasChannelTemplate();
  public ParallelSpecFluent.ChannelTemplateNested withNewChannelTemplate();
  public ParallelSpecFluent.ChannelTemplateNested withNewChannelTemplateLike(ChannelTemplateSpec item);
  public ParallelSpecFluent.ChannelTemplateNested editChannelTemplate();
  public ParallelSpecFluent.ChannelTemplateNested editOrNewChannelTemplate();
  public ParallelSpecFluent.ChannelTemplateNested editOrNewChannelTemplateLike(ChannelTemplateSpec item);
  
  /**
   * This method has been deprecated, please use method buildReply instead.
   * @return The buildable object.
   */
  @Deprecated
  public Destination getReply();
  public Destination buildReply();
  public A withReply(Destination reply);
  public Boolean hasReply();
  public ParallelSpecFluent.ReplyNested withNewReply();
  public ParallelSpecFluent.ReplyNested withNewReplyLike(Destination item);
  public ParallelSpecFluent.ReplyNested editReply();
  public ParallelSpecFluent.ReplyNested editOrNewReply();
  public ParallelSpecFluent.ReplyNested editOrNewReplyLike(Destination item);
  public interface BranchesNested extends Nested,ParallelBranchFluent>{
    public N and();
    public N endBranch();
    
  }
  public interface ChannelTemplateNested extends Nested,ChannelTemplateSpecFluent>{
    public N and();
    public N endChannelTemplate();
    
  }
  public interface ReplyNested extends Nested,DestinationFluent>{
    public N and();
    public N endReply();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy