public static final class Trace.Builder extends GeneratedMessageV3.Builder<Trace.Builder> implements TraceOrBuilder
   
   Trace represents one simulated packet forwarding path.
- Each trace contains multiple ordered steps.
- Each step is in a particular state with associated configuration.
- State is categorized as final or non-final states.
- Each final state has a reason associated.
- Each trace must end with a final state (the last step).
<code><code>
|---------------------Trace----------------------|
Step1(State) Step2(State) ---  StepN(State(final))
</code></code>
 Protobuf type google.cloud.networkmanagement.v1beta1.Trace
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
    
    
    
    
    
      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
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  Methods
  
  
  addAllSteps(Iterable<? extends Step> values)
  
    public Trace.Builder addAllSteps(Iterable<? extends Step> values)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.networkmanagement.v1beta1.Step>
 | 
    
  
  Returns
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public Trace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  addSteps(Step value)
  
    public Trace.Builder addSteps(Step value)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | value | Step
 | 
    
  
  Returns
  
  
  addSteps(Step.Builder builderForValue)
  
    public Trace.Builder addSteps(Step.Builder builderForValue)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
addSteps(int index, Step value)
  
    public Trace.Builder addSteps(int index, Step value)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Step
 | 
    
  
  Returns
  
  
  addSteps(int index, Step.Builder builderForValue)
  
    public Trace.Builder addSteps(int index, Step.Builder builderForValue)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
addStepsBuilder()
  
    public Step.Builder addStepsBuilder()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
addStepsBuilder(int index)
  
    public Step.Builder addStepsBuilder(int index)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  build()
  
  Returns
  
  
  buildPartial()
  
    public Trace buildPartial()
   
  Returns
  
  
  clear()
  
    public Trace.Builder clear()
   
  Returns
  
  Overrides
  
  
  clearEndpointInfo()
  
    public Trace.Builder clearEndpointInfo()
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
clearField(Descriptors.FieldDescriptor field)
  
    public Trace.Builder clearField(Descriptors.FieldDescriptor field)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public Trace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearSteps()
  
    public Trace.Builder clearSteps()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
clone()
  
    public Trace.Builder clone()
   
  Returns
  
  Overrides
  
  
  getDefaultInstanceForType()
  
    public Trace getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  Returns
  
  Overrides
  
  
  getEndpointInfo()
  
    public EndpointInfo getEndpointInfo()
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
getEndpointInfoBuilder()
  
    public EndpointInfo.Builder getEndpointInfoBuilder()
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
getEndpointInfoOrBuilder()
  
    public EndpointInfoOrBuilder getEndpointInfoOrBuilder()
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
getSteps(int index)
  
    public Step getSteps(int index)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getStepsBuilder(int index)
  
    public Step.Builder getStepsBuilder(int index)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getStepsBuilderList()
  
    public List<Step.Builder> getStepsBuilderList()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
getStepsCount()
  
    public int getStepsCount()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
getStepsList()
  
    public List<Step> getStepsList()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
getStepsOrBuilder(int index)
  
    public StepOrBuilder getStepsOrBuilder(int index)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getStepsOrBuilderList()
  
    public List<? extends StepOrBuilder> getStepsOrBuilderList()
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.networkmanagement.v1beta1.StepOrBuilder> |  | 
    
  
  
  hasEndpointInfo()
  
    public boolean hasEndpointInfo()
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
    
      
        | Type | Description | 
      
        | boolean | Whether the endpointInfo field is set. | 
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  mergeEndpointInfo(EndpointInfo value)
  
    public Trace.Builder mergeEndpointInfo(EndpointInfo value)
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
mergeFrom(Trace other)
  
    public Trace.Builder mergeFrom(Trace other)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | other | Trace
 | 
    
  
  Returns
  
  
  
  
    public Trace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Overrides
  
  Exceptions
  
  
  mergeFrom(Message other)
  
    public Trace.Builder mergeFrom(Message other)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final Trace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  removeSteps(int index)
  
    public Trace.Builder removeSteps(int index)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  setEndpointInfo(EndpointInfo value)
  
    public Trace.Builder setEndpointInfo(EndpointInfo value)
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
setEndpointInfo(EndpointInfo.Builder builderForValue)
  
    public Trace.Builder setEndpointInfo(EndpointInfo.Builder builderForValue)
   
   Derived from the source and destination endpoints definition specified by
 user request, and validated by the data plane model.
 If there are multiple traces starting from different source locations, then
 the endpoint_info may be different between traces.
 .google.cloud.networkmanagement.v1beta1.EndpointInfo endpoint_info = 1;
setField(Descriptors.FieldDescriptor field, Object value)
  
    public Trace.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public Trace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setSteps(int index, Step value)
  
    public Trace.Builder setSteps(int index, Step value)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
      
        | value | Step
 | 
    
  
  Returns
  
  
  setSteps(int index, Step.Builder builderForValue)
  
    public Trace.Builder setSteps(int index, Step.Builder builderForValue)
   
   A trace of a test contains multiple steps from the initial state to the
 final state (delivered, dropped, forwarded, or aborted).
 The steps are ordered by the processing sequence within the simulated
 network state machine. It is critical to preserve the order of the steps
 and avoid reordering or sorting them.
 repeated .google.cloud.networkmanagement.v1beta1.Step steps = 2;
setUnknownFields(UnknownFieldSet unknownFields)
  
    public final Trace.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides