public final class ListTracesRequest extends com.google.protobuf.GeneratedMessageV3 implements ListTracesRequestOrBuilder
The request message for the `ListTraces` method. All fields are required unless specified.Protobuf type
google.devtools.cloudtrace.v1.ListTracesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListTracesRequest.Builder
The request message for the `ListTraces` method.
|
static class |
ListTracesRequest.ViewType
Type of data returned for traces in the list.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
END_TIME_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
ORDER_BY_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
VIEW_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ListTracesRequest |
getDefaultInstance() |
ListTracesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
java.lang.String |
getFilter()
An optional filter for the request.
|
com.google.protobuf.ByteString |
getFilterBytes()
An optional filter for the request.
|
java.lang.String |
getOrderBy()
Field used to sort the returned traces.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Field used to sort the returned traces.
|
int |
getPageSize()
Maximum number of traces to return.
|
java.lang.String |
getPageToken()
Token identifying the page of results to return.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Token identifying the page of results to return.
|
com.google.protobuf.Parser<ListTracesRequest> |
getParserForType() |
java.lang.String |
getProjectId()
ID of the Cloud project where the trace data is stored.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
ID of the Cloud project where the trace data is stored.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
ListTracesRequest.ViewType |
getView()
Type of data returned for traces in the list.
|
int |
getViewValue()
Type of data returned for traces in the list.
|
boolean |
hasEndTime()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
int |
hashCode() |
boolean |
hasStartTime()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListTracesRequest.Builder |
newBuilder() |
static ListTracesRequest.Builder |
newBuilder(ListTracesRequest prototype) |
ListTracesRequest.Builder |
newBuilderForType() |
protected ListTracesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListTracesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListTracesRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTracesRequest |
parseFrom(byte[] data) |
static ListTracesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTracesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListTracesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTracesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListTracesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTracesRequest |
parseFrom(java.io.InputStream input) |
static ListTracesRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListTracesRequest> |
parser() |
ListTracesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_ID_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getProjectId()
ID of the Cloud project where the trace data is stored.
optional string project_id = 1;getProjectId in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
ID of the Cloud project where the trace data is stored.
optional string project_id = 1;getProjectIdBytes in interface ListTracesRequestOrBuilderpublic int getViewValue()
Type of data returned for traces in the list. Optional. Default is `MINIMAL`.
optional .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2;getViewValue in interface ListTracesRequestOrBuilderpublic ListTracesRequest.ViewType getView()
Type of data returned for traces in the list. Optional. Default is `MINIMAL`.
optional .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2;getView in interface ListTracesRequestOrBuilderpublic int getPageSize()
Maximum number of traces to return. If not specified or <= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size. Optional.
optional int32 page_size = 3;getPageSize in interface ListTracesRequestOrBuilderpublic java.lang.String getPageToken()
Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request. Optional.
optional string page_token = 4;getPageToken in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request. Optional.
optional string page_token = 4;getPageTokenBytes in interface ListTracesRequestOrBuilderpublic boolean hasStartTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp start_time = 5;hasStartTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp start_time = 5;getStartTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
End of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp start_time = 5;getStartTimeOrBuilder in interface ListTracesRequestOrBuilderpublic boolean hasEndTime()
Start of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp end_time = 6;hasEndTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Start of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp end_time = 6;getEndTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Start of the time interval (inclusive) during which the trace data was collected from the application.
optional .google.protobuf.Timestamp end_time = 6;getEndTimeOrBuilder in interface ListTracesRequestOrBuilderpublic java.lang.String getFilter()
An optional filter for the request.
optional string filter = 7;getFilter in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
An optional filter for the request.
optional string filter = 7;getFilterBytes in interface ListTracesRequestOrBuilderpublic java.lang.String getOrderBy()
Field used to sort the returned traces. Optional.
Can be one of the following:
* `trace_id`
* `name` (`name` field of root span in the trace)
* `duration` (difference between `end_time` and `start_time` fields of
the root span)
* `start` (`start_time` field of the root span)
Descending order can be specified by appending `desc` to the sort field
(for example, `name desc`).
Only one sort field is permitted.
optional string order_by = 8;getOrderBy in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Field used to sort the returned traces. Optional.
Can be one of the following:
* `trace_id`
* `name` (`name` field of root span in the trace)
* `duration` (difference between `end_time` and `start_time` fields of
the root span)
* `start` (`start_time` field of the root span)
Descending order can be specified by appending `desc` to the sort field
(for example, `name desc`).
Only one sort field is permitted.
optional string order_by = 8;getOrderByBytes in interface ListTracesRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListTracesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTracesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTracesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTracesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTracesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTracesRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListTracesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTracesRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListTracesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTracesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListTracesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListTracesRequest.Builder newBuilder()
public static ListTracesRequest.Builder newBuilder(ListTracesRequest prototype)
public ListTracesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListTracesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListTracesRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListTracesRequest> parser()
public com.google.protobuf.Parser<ListTracesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListTracesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder