Class Span
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Span
- All Implemented Interfaces:
SpanOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Span
extends com.google.protobuf.GeneratedMessage
implements SpanOrBuilder
A span represents a sub execution step of an action.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Span- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA span represents a sub execution step of an action.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampTimestamp of the completion of the span.com.google.protobuf.TimestampOrBuilderTimestamp of the completion of the span.static Spanstatic final com.google.protobuf.Descriptors.DescriptorgetMetrics(int index) The unordered collection of metrics in this span.intThe unordered collection of metrics in this span.The unordered collection of metrics in this span.getMetricsOrBuilder(int index) The unordered collection of metrics in this span.List<? extends NamedMetricOrBuilder>The unordered collection of metrics in this span.getName()The name of the span.com.google.protobuf.ByteStringThe name of the span.com.google.protobuf.Parser<Span>intcom.google.protobuf.TimestampTimestamp of the start of the span.com.google.protobuf.TimestampOrBuilderTimestamp of the start of the span.getTags(int index) The metadata tags of the span such as span type.com.google.protobuf.ByteStringgetTagsBytes(int index) The metadata tags of the span such as span type.intThe metadata tags of the span such as span type.com.google.protobuf.ProtocolStringListThe metadata tags of the span such as span type.booleanTimestamp of the completion of the span.inthashCode()booleanTimestamp of the start of the span.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Span.Builderstatic Span.BuildernewBuilder(Span prototype) protected Span.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SpanparseDelimitedFrom(InputStream input) static SpanparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanparseFrom(byte[] data) static SpanparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanparseFrom(com.google.protobuf.ByteString data) static SpanparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanparseFrom(com.google.protobuf.CodedInputStream input) static SpanparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanparseFrom(InputStream input) static SpanparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpanparseFrom(ByteBuffer data) static SpanparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Span>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
COMPLETE_TIME_FIELD_NUMBER
public static final int COMPLETE_TIME_FIELD_NUMBER- See Also:
-
-
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
-
getName
The name of the span.
string name = 1;- Specified by:
getNamein interfaceSpanOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the span.
string name = 1;- Specified by:
getNameBytesin interfaceSpanOrBuilder- Returns:
- The bytes for name.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()The metadata tags of the span such as span type.
repeated string tags = 2;- Specified by:
getTagsListin interfaceSpanOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()The metadata tags of the span such as span type.
repeated string tags = 2;- Specified by:
getTagsCountin interfaceSpanOrBuilder- Returns:
- The count of tags.
-
getTags
The metadata tags of the span such as span type.
repeated string tags = 2;- Specified by:
getTagsin interfaceSpanOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) The metadata tags of the span such as span type.
repeated string tags = 2;- Specified by:
getTagsBytesin interfaceSpanOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getMetricsList
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;- Specified by:
getMetricsListin interfaceSpanOrBuilder
-
getMetricsOrBuilderList
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;- Specified by:
getMetricsOrBuilderListin interfaceSpanOrBuilder
-
getMetricsCount
public int getMetricsCount()The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;- Specified by:
getMetricsCountin interfaceSpanOrBuilder
-
getMetrics
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;- Specified by:
getMetricsin interfaceSpanOrBuilder
-
getMetricsOrBuilder
The unordered collection of metrics in this span.
repeated .google.cloud.dialogflow.cx.v3beta1.NamedMetric metrics = 3;- Specified by:
getMetricsOrBuilderin interfaceSpanOrBuilder
-
hasStartTime
public boolean hasStartTime()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4;- Specified by:
hasStartTimein interfaceSpanOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimein interfaceSpanOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Timestamp of the start of the span.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimeOrBuilderin interfaceSpanOrBuilder
-
hasCompleteTime
public boolean hasCompleteTime()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;- Specified by:
hasCompleteTimein interfaceSpanOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;- Specified by:
getCompleteTimein interfaceSpanOrBuilder- Returns:
- The completeTime.
-
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()Timestamp of the completion of the span.
.google.protobuf.Timestamp complete_time = 5;- Specified by:
getCompleteTimeOrBuilderin interfaceSpanOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Span parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Span parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Span parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Span parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Span parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-