public static final class ListTracesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder> 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 | Method and Description |
|---|---|
ListTracesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTracesRequest |
build() |
ListTracesRequest |
buildPartial() |
ListTracesRequest.Builder |
clear() |
ListTracesRequest.Builder |
clearEndTime()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTracesRequest.Builder |
clearFilter()
Optional.
|
ListTracesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTracesRequest.Builder |
clearOrderBy()
Optional.
|
ListTracesRequest.Builder |
clearPageSize()
Optional.
|
ListTracesRequest.Builder |
clearPageToken()
Token identifying the page of results to return.
|
ListTracesRequest.Builder |
clearProjectId()
Required.
|
ListTracesRequest.Builder |
clearStartTime()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
clearView()
Optional.
|
ListTracesRequest.Builder |
clone() |
ListTracesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Token identifying the page of results to return.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Token identifying the page of results to return.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
com.google.protobuf.Timestamp |
getStartTime()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.ViewType |
getView()
Optional.
|
int |
getViewValue()
Optional.
|
boolean |
hasEndTime()
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
boolean |
hasStartTime()
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTracesRequest.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListTracesRequest.Builder |
mergeFrom(ListTracesRequest other) |
ListTracesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListTracesRequest.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListTracesRequest.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
setEndTime(com.google.protobuf.Timestamp value)
End of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTracesRequest.Builder |
setFilter(String value)
Optional.
|
ListTracesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
ListTracesRequest.Builder |
setOrderBy(String value)
Optional.
|
ListTracesRequest.Builder |
setOrderByBytes(com.google.protobuf.ByteString value)
Optional.
|
ListTracesRequest.Builder |
setPageSize(int value)
Optional.
|
ListTracesRequest.Builder |
setPageToken(String value)
Token identifying the page of results to return.
|
ListTracesRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Token identifying the page of results to return.
|
ListTracesRequest.Builder |
setProjectId(String value)
Required.
|
ListTracesRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
ListTracesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListTracesRequest.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
setStartTime(com.google.protobuf.Timestamp value)
Start of the time interval (inclusive) during which the trace data was
collected from the application.
|
ListTracesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListTracesRequest.Builder |
setView(ListTracesRequest.ViewType value)
Optional.
|
ListTracesRequest.Builder |
setViewValue(int value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListTracesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListTracesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListTracesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder mergeFrom(ListTracesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public ListTracesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTracesRequest.Builder>IOExceptionpublic String getProjectId()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectId in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];getProjectIdBytes in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setProjectId(String value)
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The projectId to set.public ListTracesRequest.Builder clearProjectId()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];public ListTracesRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for projectId to set.public int getViewValue()
Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL];
getViewValue in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setViewValue(int value)
Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for view to set.public ListTracesRequest.ViewType getView()
Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL];
getView in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setView(ListTracesRequest.ViewType value)
Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The view to set.public ListTracesRequest.Builder clearView()
Optional. Type of data returned for traces in the list. Default is `MINIMAL`.
.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL];
public int getPageSize()
Optional. 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.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setPageSize(int value)
Optional. 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.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListTracesRequest.Builder clearPageSize()
Optional. 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.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];public 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.
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.
string page_token = 4;getPageTokenBytes in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setPageToken(String value)
Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request.
string page_token = 4;value - The pageToken to set.public ListTracesRequest.Builder clearPageToken()
Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request.
string page_token = 4;public ListTracesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request.
string page_token = 4;value - The bytes for pageToken to set.public boolean hasStartTime()
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;hasStartTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;getStartTime in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setStartTime(com.google.protobuf.Timestamp value)
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;public ListTracesRequest.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;public ListTracesRequest.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;public ListTracesRequest.Builder clearStartTime()
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp start_time = 5;getStartTimeOrBuilder in interface ListTracesRequestOrBuilderpublic boolean hasEndTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;hasEndTime in interface ListTracesRequestOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;getEndTime in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setEndTime(com.google.protobuf.Timestamp value)
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;public ListTracesRequest.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;public ListTracesRequest.Builder mergeEndTime(com.google.protobuf.Timestamp value)
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;public ListTracesRequest.Builder clearEndTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;getEndTimeOrBuilder in interface ListTracesRequestOrBuilderpublic String getFilter()
Optional. A filter against labels for the request.
By default, searches use prefix matching. To specify exact match, prepend
a plus symbol (`+`) to the search term.
Multiple terms are ANDed. Syntax:
* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
span starts with `NAME_PREFIX`.
* `+root:NAME` or `+NAME`: Return traces where any root span's name is
exactly `NAME`.
* `span:NAME_PREFIX`: Return traces where any span starts with
`NAME_PREFIX`.
* `+span:NAME`: Return traces where any span's name is exactly
`NAME`.
* `latency:DURATION`: Return traces whose overall latency is
greater or equal to than `DURATION`. Accepted units are nanoseconds
(`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
example, `latency:24ms` returns traces whose overall latency
is greater than or equal to 24 milliseconds.
* `label:LABEL_KEY`: Return all traces containing the specified
label key (exact match, case-sensitive) regardless of the key:value
pair's value (including empty values).
* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
label key (exact match, case-sensitive) whose value starts with
`VALUE_PREFIX`. Both a key and a value must be specified.
* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
exactly matching the specified text. Both a key and a value must be
specified.
* `method:VALUE`: Equivalent to `/http/method:VALUE`.
* `url:VALUE`: Equivalent to `/http/url:VALUE`.
string filter = 7 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter against labels for the request.
By default, searches use prefix matching. To specify exact match, prepend
a plus symbol (`+`) to the search term.
Multiple terms are ANDed. Syntax:
* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
span starts with `NAME_PREFIX`.
* `+root:NAME` or `+NAME`: Return traces where any root span's name is
exactly `NAME`.
* `span:NAME_PREFIX`: Return traces where any span starts with
`NAME_PREFIX`.
* `+span:NAME`: Return traces where any span's name is exactly
`NAME`.
* `latency:DURATION`: Return traces whose overall latency is
greater or equal to than `DURATION`. Accepted units are nanoseconds
(`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
example, `latency:24ms` returns traces whose overall latency
is greater than or equal to 24 milliseconds.
* `label:LABEL_KEY`: Return all traces containing the specified
label key (exact match, case-sensitive) regardless of the key:value
pair's value (including empty values).
* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
label key (exact match, case-sensitive) whose value starts with
`VALUE_PREFIX`. Both a key and a value must be specified.
* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
exactly matching the specified text. Both a key and a value must be
specified.
* `method:VALUE`: Equivalent to `/http/method:VALUE`.
* `url:VALUE`: Equivalent to `/http/url:VALUE`.
string filter = 7 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setFilter(String value)
Optional. A filter against labels for the request.
By default, searches use prefix matching. To specify exact match, prepend
a plus symbol (`+`) to the search term.
Multiple terms are ANDed. Syntax:
* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
span starts with `NAME_PREFIX`.
* `+root:NAME` or `+NAME`: Return traces where any root span's name is
exactly `NAME`.
* `span:NAME_PREFIX`: Return traces where any span starts with
`NAME_PREFIX`.
* `+span:NAME`: Return traces where any span's name is exactly
`NAME`.
* `latency:DURATION`: Return traces whose overall latency is
greater or equal to than `DURATION`. Accepted units are nanoseconds
(`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
example, `latency:24ms` returns traces whose overall latency
is greater than or equal to 24 milliseconds.
* `label:LABEL_KEY`: Return all traces containing the specified
label key (exact match, case-sensitive) regardless of the key:value
pair's value (including empty values).
* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
label key (exact match, case-sensitive) whose value starts with
`VALUE_PREFIX`. Both a key and a value must be specified.
* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
exactly matching the specified text. Both a key and a value must be
specified.
* `method:VALUE`: Equivalent to `/http/method:VALUE`.
* `url:VALUE`: Equivalent to `/http/url:VALUE`.
string filter = 7 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListTracesRequest.Builder clearFilter()
Optional. A filter against labels for the request.
By default, searches use prefix matching. To specify exact match, prepend
a plus symbol (`+`) to the search term.
Multiple terms are ANDed. Syntax:
* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
span starts with `NAME_PREFIX`.
* `+root:NAME` or `+NAME`: Return traces where any root span's name is
exactly `NAME`.
* `span:NAME_PREFIX`: Return traces where any span starts with
`NAME_PREFIX`.
* `+span:NAME`: Return traces where any span's name is exactly
`NAME`.
* `latency:DURATION`: Return traces whose overall latency is
greater or equal to than `DURATION`. Accepted units are nanoseconds
(`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
example, `latency:24ms` returns traces whose overall latency
is greater than or equal to 24 milliseconds.
* `label:LABEL_KEY`: Return all traces containing the specified
label key (exact match, case-sensitive) regardless of the key:value
pair's value (including empty values).
* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
label key (exact match, case-sensitive) whose value starts with
`VALUE_PREFIX`. Both a key and a value must be specified.
* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
exactly matching the specified text. Both a key and a value must be
specified.
* `method:VALUE`: Equivalent to `/http/method:VALUE`.
* `url:VALUE`: Equivalent to `/http/url:VALUE`.
string filter = 7 [(.google.api.field_behavior) = OPTIONAL];public ListTracesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. A filter against labels for the request.
By default, searches use prefix matching. To specify exact match, prepend
a plus symbol (`+`) to the search term.
Multiple terms are ANDed. Syntax:
* `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
span starts with `NAME_PREFIX`.
* `+root:NAME` or `+NAME`: Return traces where any root span's name is
exactly `NAME`.
* `span:NAME_PREFIX`: Return traces where any span starts with
`NAME_PREFIX`.
* `+span:NAME`: Return traces where any span's name is exactly
`NAME`.
* `latency:DURATION`: Return traces whose overall latency is
greater or equal to than `DURATION`. Accepted units are nanoseconds
(`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
example, `latency:24ms` returns traces whose overall latency
is greater than or equal to 24 milliseconds.
* `label:LABEL_KEY`: Return all traces containing the specified
label key (exact match, case-sensitive) regardless of the key:value
pair's value (including empty values).
* `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
label key (exact match, case-sensitive) whose value starts with
`VALUE_PREFIX`. Both a key and a value must be specified.
* `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
exactly matching the specified text. Both a key and a value must be
specified.
* `method:VALUE`: Equivalent to `/http/method:VALUE`.
* `url:VALUE`: Equivalent to `/http/url:VALUE`.
string filter = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public String getOrderBy()
Optional. Field used to sort the returned traces.
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.
string order_by = 8 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListTracesRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. Field used to sort the returned traces.
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.
string order_by = 8 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListTracesRequestOrBuilderpublic ListTracesRequest.Builder setOrderBy(String value)
Optional. Field used to sort the returned traces.
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.
string order_by = 8 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListTracesRequest.Builder clearOrderBy()
Optional. Field used to sort the returned traces.
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.
string order_by = 8 [(.google.api.field_behavior) = OPTIONAL];public ListTracesRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. Field used to sort the returned traces.
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.
string order_by = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public final ListTracesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>public final ListTracesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.