Class Traces (2.51.0)

public final class Traces extends GeneratedMessageV3 implements TracesOrBuilder

List of new or updated traces.

Protobuf type google.devtools.cloudtrace.v1.Traces

Implements

TracesOrBuilder

Static Fields

TRACES_FIELD_NUMBER

public static final int TRACES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Traces getDefaultInstance()
Returns
Type Description
Traces

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Traces.Builder newBuilder()
Returns
Type Description
Traces.Builder

newBuilder(Traces prototype)

public static Traces.Builder newBuilder(Traces prototype)
Parameter
Name Description
prototype Traces
Returns
Type Description
Traces.Builder

parseDelimitedFrom(InputStream input)

public static Traces parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Traces parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Traces parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Traces parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Traces parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Traces parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Traces
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Traces> parser()
Returns
Type Description
Parser<Traces>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Traces getDefaultInstanceForType()
Returns
Type Description
Traces

getParserForType()

public Parser<Traces> getParserForType()
Returns
Type Description
Parser<Traces>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTraces(int index)

public Trace getTraces(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
Trace

getTracesCount()

public int getTracesCount()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
int

getTracesList()

public List<Trace> getTracesList()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
List<Trace>

getTracesOrBuilder(int index)

public TraceOrBuilder getTracesOrBuilder(int index)

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Parameter
Name Description
index int
Returns
Type Description
TraceOrBuilder

getTracesOrBuilderList()

public List<? extends TraceOrBuilder> getTracesOrBuilderList()

List of traces.

repeated .google.devtools.cloudtrace.v1.Trace traces = 1;

Returns
Type Description
List<? extends com.google.devtools.cloudtrace.v1.TraceOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Traces.Builder newBuilderForType()
Returns
Type Description
Traces.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Traces.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Traces.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Traces.Builder toBuilder()
Returns
Type Description
Traces.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException