Class ListTracesResponse (2.46.0)

public final class ListTracesResponse extends GeneratedMessageV3 implements ListTracesResponseOrBuilder

The response message for the ListTraces method.

Protobuf type google.devtools.cloudtrace.v1.ListTracesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

TRACES_FIELD_NUMBER

public static final int TRACES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListTracesResponse getDefaultInstance()
Returns
Type Description
ListTracesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTracesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTracesResponse getDefaultInstanceForType()
Returns
Type Description
ListTracesResponse

getNextPageToken()

public String getNextPageToken()

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTraces(int index)

public Trace getTraces(int index)

List of trace records as specified by the view parameter.

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

Parameter
Name Description
index int
Returns
Type Description
Trace

getTracesCount()

public int getTracesCount()

List of trace records as specified by the view parameter.

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

Returns
Type Description
int

getTracesList()

public List<Trace> getTracesList()

List of trace records as specified by the view parameter.

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

Returns
Type Description
List<Trace>

getTracesOrBuilder(int index)

public TraceOrBuilder getTracesOrBuilder(int index)

List of trace records as specified by the view parameter.

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 trace records as specified by the view parameter.

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 ListTracesResponse.Builder newBuilderForType()
Returns
Type Description
ListTracesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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