Class Trace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Trace.Builder>
com.google.cloud.networkmanagement.v1beta1.Trace.Builder
- All Implemented Interfaces:
TraceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Trace
public static final class Trace.Builder
extends com.google.protobuf.GeneratedMessage.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). ``` |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final)) ```Protobuf type
google.cloud.networkmanagement.v1beta1.Trace-
Method Summary
Modifier and TypeMethodDescriptionaddAllSteps(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).A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).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).A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).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).A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).addStepsBuilder(int index) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).build()clear()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.ID of trace.A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDerived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.intID of trace.getSteps(int index) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).getStepsBuilder(int index) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).intA trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).getStepsOrBuilder(int index) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).List<? extends StepOrBuilder>A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).booleanDerived from the source and destination endpoints definition specified by user request, and validated by the data plane model.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndpointInfo(EndpointInfo value) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSteps(int index) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).setEndpointInfo(EndpointInfo value) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.setEndpointInfo(EndpointInfo.Builder builderForValue) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.setForwardTraceId(int value) ID of trace.A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).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).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Trace.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Trace.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Trace.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Trace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Trace.Builder>
-
mergeFrom
public Trace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Trace.Builder>- Throws:
IOException
-
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;- Specified by:
hasEndpointInfoin interfaceTraceOrBuilder- Returns:
- Whether the endpointInfo field is set.
-
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;- Specified by:
getEndpointInfoin interfaceTraceOrBuilder- Returns:
- The endpointInfo.
-
setEndpointInfo
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
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; -
mergeEndpointInfo
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; -
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; -
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
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;- Specified by:
getEndpointInfoOrBuilderin interfaceTraceOrBuilder
-
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;- Specified by:
getStepsListin interfaceTraceOrBuilder
-
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;- Specified by:
getStepsCountin interfaceTraceOrBuilder
-
getSteps
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;- Specified by:
getStepsin interfaceTraceOrBuilder
-
setSteps
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; -
setSteps
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
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
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
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
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; -
addAllSteps
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; -
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; -
removeSteps
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; -
getStepsBuilder
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
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;- Specified by:
getStepsOrBuilderin interfaceTraceOrBuilder
-
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;- Specified by:
getStepsOrBuilderListin interfaceTraceOrBuilder
-
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
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; -
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; -
getForwardTraceId
public int getForwardTraceId()ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.
int32 forward_trace_id = 4;- Specified by:
getForwardTraceIdin interfaceTraceOrBuilder- Returns:
- The forwardTraceId.
-
setForwardTraceId
ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.
int32 forward_trace_id = 4;- Parameters:
value- The forwardTraceId to set.- Returns:
- This builder for chaining.
-
clearForwardTraceId
ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.
int32 forward_trace_id = 4;- Returns:
- This builder for chaining.
-