Class ListTracesResponse (2.40.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
TypeDescription
int

TRACES_FIELD_NUMBER

public static final int TRACES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTracesResponse getDefaultInstance()
Returns
TypeDescription
ListTracesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTracesResponse prototype)

public static ListTracesResponse.Builder newBuilder(ListTracesResponse prototype)
Parameter
NameDescription
prototypeListTracesResponse
Returns
TypeDescription
ListTracesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTracesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Trace

getTracesCount()

public int getTracesCount()

List of trace records as specified by the view parameter.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.devtools.cloudtrace.v1.TraceOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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