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.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).Trace.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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).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).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).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).Step.Builder
addStepsBuilder()
A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).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).Trace
build()
Trace
buildPartial()
Trace.Builder
clear()
Trace.Builder
clearEndpointInfo()
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Trace.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Trace.Builder
clearSteps()
A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted).Trace.Builder
clone()
Trace
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EndpointInfo
getEndpointInfo()
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.EndpointInfo.Builder
getEndpointInfoBuilder()
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.EndpointInfoOrBuilder
getEndpointInfoOrBuilder()
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.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).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).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).int
getStepsCount()
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).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).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).boolean
hasEndpointInfo()
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Trace.Builder
mergeEndpointInfo(EndpointInfo value)
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.Trace.Builder
mergeFrom(Trace other)
Trace.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Trace.Builder
mergeFrom(com.google.protobuf.Message other)
Trace.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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).Trace.Builder
setEndpointInfo(EndpointInfo value)
Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.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.Trace.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Trace.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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).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).Trace.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clear
public Trace.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
getDefaultInstanceForType
public Trace getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Trace build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Trace buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Trace.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
setField
public Trace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clearField
public Trace.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
clearOneof
public Trace.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
setRepeatedField
public Trace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
addRepeatedField
public Trace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
mergeFrom
public Trace.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Trace.Builder>
-
mergeFrom
public Trace.Builder mergeFrom(Trace other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasEndpointInfo
in 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:
getEndpointInfo
in 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:
getEndpointInfoOrBuilder
in 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:
getStepsList
in 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:
getStepsCount
in 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:
getSteps
in 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:
getStepsOrBuilder
in 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:
getStepsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
mergeUnknownFields
public final Trace.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trace.Builder>
-
-