Class Trace.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
- com.google.cloud.networkmanagement.v1.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.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). ``` |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final)) ```
Protobuf typegoogle.cloud.networkmanagement.v1.Trace
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Trace.BuilderaddAllSteps(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).Trace.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Trace.BuilderaddSteps(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).Trace.BuilderaddSteps(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).Trace.BuilderaddSteps(Step value)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Trace.BuilderaddSteps(Step.Builder builderForValue)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Step.BuilderaddStepsBuilder()A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Step.BuilderaddStepsBuilder(int index)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Tracebuild()TracebuildPartial()Trace.Builderclear()Trace.BuilderclearEndpointInfo()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Trace.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Trace.BuilderclearSteps()A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Trace.Builderclone()TracegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EndpointInfogetEndpointInfo()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.EndpointInfo.BuildergetEndpointInfoBuilder()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.EndpointInfoOrBuildergetEndpointInfoOrBuilder()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.StepgetSteps(int index)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Step.BuildergetStepsBuilder(int index)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).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).intgetStepsCount()A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).List<Step>getStepsList()A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).StepOrBuildergetStepsOrBuilder(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>getStepsOrBuilderList()A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).booleanhasEndpointInfo()Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Trace.BuildermergeEndpointInfo(EndpointInfo value)Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.BuildermergeFrom(Trace other)Trace.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Trace.BuildermergeFrom(com.google.protobuf.Message other)Trace.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Trace.BuilderremoveSteps(int index)A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Trace.BuildersetEndpointInfo(EndpointInfo value)Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.BuildersetEndpointInfo(EndpointInfo.Builder builderForValue)Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Trace.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Trace.BuildersetSteps(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).Trace.BuildersetSteps(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).Trace.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clear
public Trace.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Trace.Builder>
-
getDefaultInstanceForType
public Trace getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Trace build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Trace buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Trace.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
setField
public Trace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clearField
public Trace.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clearOneof
public Trace.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
setRepeatedField
public Trace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
addRepeatedField
public Trace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
mergeFrom
public Trace.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Trace.Builder>
-
mergeFrom
public Trace.Builder mergeFrom(Trace other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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.v1.EndpointInfo endpoint_info = 1;- Specified by:
hasEndpointInfoin interfaceTraceOrBuilder- Returns:
- Whether the endpointInfo field is set.
-
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.v1.EndpointInfo endpoint_info = 1;- Specified by:
getEndpointInfoin interfaceTraceOrBuilder- Returns:
- The endpointInfo.
-
setEndpointInfo
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.v1.EndpointInfo endpoint_info = 1;
-
setEndpointInfo
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.v1.EndpointInfo endpoint_info = 1;
-
mergeEndpointInfo
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.v1.EndpointInfo endpoint_info = 1;
-
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.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.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.cloud.networkmanagement.v1.EndpointInfo endpoint_info = 1;- Specified by:
getEndpointInfoOrBuilderin interfaceTraceOrBuilder
-
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.v1.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.v1.Step steps = 2;- Specified by:
getStepsCountin interfaceTraceOrBuilder
-
getSteps
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.v1.Step steps = 2;- Specified by:
getStepsin interfaceTraceOrBuilder
-
setSteps
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.v1.Step steps = 2;
-
setSteps
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.v1.Step steps = 2;
-
addSteps
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.v1.Step steps = 2;
-
addSteps
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.v1.Step steps = 2;
-
addSteps
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.v1.Step steps = 2;
-
addSteps
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.v1.Step steps = 2;
-
addAllSteps
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.v1.Step steps = 2;
-
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.v1.Step steps = 2;
-
removeSteps
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.v1.Step steps = 2;
-
getStepsBuilder
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.v1.Step steps = 2;
-
getStepsOrBuilder
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.v1.Step steps = 2;- Specified by:
getStepsOrBuilderin interfaceTraceOrBuilder
-
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.v1.Step steps = 2;- Specified by:
getStepsOrBuilderListin interfaceTraceOrBuilder
-
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.v1.Step steps = 2;
-
addStepsBuilder
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.v1.Step steps = 2;
-
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.v1.Step steps = 2;
-
setUnknownFields
public final Trace.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
mergeUnknownFields
public final Trace.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
-