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.events.cloud.networkmanagement.v1.Trace
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.events.cloud.networkmanagement.v1.Step>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Trace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
value | Step
|
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameters |
---|
Name | Description |
index | int
|
value | Step
|
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
index | int
|
build()
Returns |
---|
Type | Description |
Trace | |
buildPartial()
public Trace buildPartial()
Returns |
---|
Type | Description |
Trace | |
clear()
public Trace.Builder clear()
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.events.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
clearField(Descriptors.FieldDescriptor field)
public Trace.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Trace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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.events.cloud.networkmanagement.v1.Step steps = 2;
clone()
public Trace.Builder clone()
Overrides
getDefaultInstanceForType()
public Trace getDefaultInstanceForType()
Returns |
---|
Type | Description |
Trace | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Step | |
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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
index | int
|
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.Step steps = 2;
Returns |
---|
Type | Description |
int | |
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
index | int
|
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.events.cloud.networkmanagement.v1.Step steps = 2;
Returns |
---|
Type | Description |
List<? extends com.google.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
Returns |
---|
Type | Description |
boolean | Whether the endpointInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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.events.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
mergeFrom(Trace other)
public Trace.Builder mergeFrom(Trace other)
Parameter |
---|
Name | Description |
other | Trace
|
public Trace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Trace.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Trace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameter |
---|
Name | Description |
index | int
|
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.events.cloud.networkmanagement.v1.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.events.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public Trace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Trace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.events.cloud.networkmanagement.v1.Step steps = 2;
Parameters |
---|
Name | Description |
index | int
|
value | Step
|
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.events.cloud.networkmanagement.v1.Step steps = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final Trace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides