- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.0
- 2.1.13
public static final class StackTrace.Builder extends GeneratedMessageV3.Builder<StackTrace.Builder> implements StackTraceOrBuilder
A call stack appearing in a trace.
Protobuf type google.devtools.cloudtrace.v2.StackTrace
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StackTrace.BuilderImplements
StackTraceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StackTrace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StackTrace.Builder |
build()
public StackTrace build()
Type | Description |
StackTrace |
buildPartial()
public StackTrace buildPartial()
Type | Description |
StackTrace |
clear()
public StackTrace.Builder clear()
Type | Description |
StackTrace.Builder |
clearField(Descriptors.FieldDescriptor field)
public StackTrace.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StackTrace.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StackTrace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StackTrace.Builder |
clearStackFrames()
public StackTrace.Builder clearStackFrames()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Type | Description |
StackTrace.Builder |
clearStackTraceHashId()
public StackTrace.Builder clearStackTraceHashId()
The hash ID is used to conserve network bandwidth for duplicate
stack traces within a single trace.
Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
stackFrame
content and a value in stackTraceHashId
.
Subsequent spans within the same request can refer
to that stack trace by only setting stackTraceHashId
.
int64 stack_trace_hash_id = 2;
Type | Description |
StackTrace.Builder | This builder for chaining. |
clone()
public StackTrace.Builder clone()
Type | Description |
StackTrace.Builder |
getDefaultInstanceForType()
public StackTrace getDefaultInstanceForType()
Type | Description |
StackTrace |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getStackFrames()
public StackTrace.StackFrames getStackFrames()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Type | Description |
StackTrace.StackFrames | The stackFrames. |
getStackFramesBuilder()
public StackTrace.StackFrames.Builder getStackFramesBuilder()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Type | Description |
StackTrace.StackFrames.Builder |
getStackFramesOrBuilder()
public StackTrace.StackFramesOrBuilder getStackFramesOrBuilder()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Type | Description |
StackTrace.StackFramesOrBuilder |
getStackTraceHashId()
public long getStackTraceHashId()
The hash ID is used to conserve network bandwidth for duplicate
stack traces within a single trace.
Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
stackFrame
content and a value in stackTraceHashId
.
Subsequent spans within the same request can refer
to that stack trace by only setting stackTraceHashId
.
int64 stack_trace_hash_id = 2;
Type | Description |
long | The stackTraceHashId. |
hasStackFrames()
public boolean hasStackFrames()
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Type | Description |
boolean | Whether the stackFrames field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(StackTrace other)
public StackTrace.Builder mergeFrom(StackTrace other)
Name | Description |
other | StackTrace |
Type | Description |
StackTrace.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StackTrace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StackTrace.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StackTrace.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StackTrace.Builder |
mergeStackFrames(StackTrace.StackFrames value)
public StackTrace.Builder mergeStackFrames(StackTrace.StackFrames value)
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Name | Description |
value | StackTrace.StackFrames |
Type | Description |
StackTrace.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StackTrace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StackTrace.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StackTrace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StackTrace.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StackTrace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StackTrace.Builder |
setStackFrames(StackTrace.StackFrames value)
public StackTrace.Builder setStackFrames(StackTrace.StackFrames value)
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Name | Description |
value | StackTrace.StackFrames |
Type | Description |
StackTrace.Builder |
setStackFrames(StackTrace.StackFrames.Builder builderForValue)
public StackTrace.Builder setStackFrames(StackTrace.StackFrames.Builder builderForValue)
Stack frames in this stack trace. A maximum of 128 frames are allowed.
.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;
Name | Description |
builderForValue | StackTrace.StackFrames.Builder |
Type | Description |
StackTrace.Builder |
setStackTraceHashId(long value)
public StackTrace.Builder setStackTraceHashId(long value)
The hash ID is used to conserve network bandwidth for duplicate
stack traces within a single trace.
Often multiple spans will have identical stack traces.
The first occurrence of a stack trace should contain both the
stackFrame
content and a value in stackTraceHashId
.
Subsequent spans within the same request can refer
to that stack trace by only setting stackTraceHashId
.
int64 stack_trace_hash_id = 2;
Name | Description |
value | long The stackTraceHashId to set. |
Type | Description |
StackTrace.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StackTrace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StackTrace.Builder |