public final class Trace extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
Trace.Builder
Trace represents one simulated packet forwarding path.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENDPOINT_INFO_FIELD_NUMBER |
static int |
STEPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Trace |
getDefaultInstance() |
Trace |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EndpointInfo |
getEndpointInfo()
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.
|
com.google.protobuf.Parser<Trace> |
getParserForType() |
int |
getSerializedSize() |
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).
|
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).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndpointInfo()
Derived from the source and destination endpoints definition specified by
user request, and validated by the data plane model.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Trace.Builder |
newBuilder() |
static Trace.Builder |
newBuilder(Trace prototype) |
Trace.Builder |
newBuilderForType() |
protected Trace.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Trace |
parseDelimitedFrom(InputStream input) |
static Trace |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(byte[] data) |
static Trace |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(ByteBuffer data) |
static Trace |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(com.google.protobuf.ByteString data) |
static Trace |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Trace |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trace |
parseFrom(InputStream input) |
static Trace |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Trace> |
parser() |
Trace.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENDPOINT_INFO_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasEndpointInfo in interface TraceOrBuilderpublic 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;getEndpointInfo in interface TraceOrBuilderpublic 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;getEndpointInfoOrBuilder in interface TraceOrBuilderpublic 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;getStepsList in interface TraceOrBuilderpublic 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;getStepsOrBuilderList in interface TraceOrBuilderpublic 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;getStepsCount in interface TraceOrBuilderpublic 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;getSteps in interface TraceOrBuilderpublic 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;getStepsOrBuilder in interface TraceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Trace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trace parseFrom(InputStream input) throws IOException
IOExceptionpublic static Trace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Trace parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Trace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Trace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Trace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Trace.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Trace.Builder newBuilder()
public static Trace.Builder newBuilder(Trace prototype)
public Trace.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Trace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Trace getDefaultInstance()
public static com.google.protobuf.Parser<Trace> parser()
public com.google.protobuf.Parser<Trace> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Trace getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.