Class Traces (2.5.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Traces getDefaultInstance()
Returns
TypeDescription
Traces

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Traces.Builder newBuilder()
Returns
TypeDescription
Traces.Builder

newBuilder(Traces prototype)

public static Traces.Builder newBuilder(Traces prototype)
Parameter
NameDescription
prototypeTraces
Returns
TypeDescription
Traces.Builder

parseDelimitedFrom(InputStream input)

public static Traces parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Traces parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Traces parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Traces parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Traces parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Traces parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Traces parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Traces
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Traces> parser()
Returns
TypeDescription
Parser<Traces>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Traces getDefaultInstanceForType()
Returns
TypeDescription
Traces

getParserForType()

public Parser<Traces> getParserForType()
Returns
TypeDescription
Parser<Traces>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTraces(int index)

public Trace getTraces(int index)

List of traces.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Trace

getTracesCount()

public int getTracesCount()

List of traces.

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

Returns
TypeDescription
int

getTracesList()

public List<Trace> getTracesList()

List of traces.

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

Returns
TypeDescription
List<Trace>

getTracesOrBuilder(int index)

public TraceOrBuilder getTracesOrBuilder(int index)

List of traces.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TraceOrBuilder

getTracesOrBuilderList()

public List<? extends TraceOrBuilder> getTracesOrBuilderList()

List of traces.

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

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Traces.Builder newBuilderForType()
Returns
TypeDescription
Traces.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Traces.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Traces.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Traces.Builder toBuilder()
Returns
TypeDescription
Traces.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException