Class ListTracesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
- com.google.devtools.cloudtrace.v1.ListTracesRequest.Builder
-
- All Implemented Interfaces:
ListTracesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTracesRequest
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 typegoogle.devtools.cloudtrace.v1.ListTracesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTracesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTracesRequestbuild()ListTracesRequestbuildPartial()ListTracesRequest.Builderclear()ListTracesRequest.BuilderclearEndTime()End of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListTracesRequest.BuilderclearFilter()Optional.ListTracesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListTracesRequest.BuilderclearOrderBy()Optional.ListTracesRequest.BuilderclearPageSize()Optional.ListTracesRequest.BuilderclearPageToken()Token identifying the page of results to return.ListTracesRequest.BuilderclearProjectId()Required.ListTracesRequest.BuilderclearStartTime()Start of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuilderclearView()Optional.ListTracesRequest.Builderclone()ListTracesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()End of the time interval (inclusive) during which the trace data was collected from the application.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()End of the time interval (inclusive) during which the trace data was collected from the application.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()End of the time interval (inclusive) during which the trace data was collected from the application.StringgetFilter()Optional.com.google.protobuf.ByteStringgetFilterBytes()Optional.StringgetOrderBy()Optional.com.google.protobuf.ByteStringgetOrderByBytes()Optional.intgetPageSize()Optional.StringgetPageToken()Token identifying the page of results to return.com.google.protobuf.ByteStringgetPageTokenBytes()Token identifying the page of results to return.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.com.google.protobuf.TimestampgetStartTime()Start of the time interval (inclusive) during which the trace data was collected from the application.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Start of the time interval (inclusive) during which the trace data was collected from the application.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Start of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.ViewTypegetView()Optional.intgetViewValue()Optional.booleanhasEndTime()End of the time interval (inclusive) during which the trace data was collected from the application.booleanhasStartTime()Start of the time interval (inclusive) during which the trace data was collected from the application.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListTracesRequest.BuildermergeEndTime(com.google.protobuf.Timestamp value)End of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildermergeFrom(ListTracesRequest other)ListTracesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListTracesRequest.BuildermergeFrom(com.google.protobuf.Message other)ListTracesRequest.BuildermergeStartTime(com.google.protobuf.Timestamp value)Start of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListTracesRequest.BuildersetEndTime(com.google.protobuf.Timestamp value)End of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)End of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTracesRequest.BuildersetFilter(String value)Optional.ListTracesRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)Optional.ListTracesRequest.BuildersetOrderBy(String value)Optional.ListTracesRequest.BuildersetOrderByBytes(com.google.protobuf.ByteString value)Optional.ListTracesRequest.BuildersetPageSize(int value)Optional.ListTracesRequest.BuildersetPageToken(String value)Token identifying the page of results to return.ListTracesRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)Token identifying the page of results to return.ListTracesRequest.BuildersetProjectId(String value)Required.ListTracesRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)Required.ListTracesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListTracesRequest.BuildersetStartTime(com.google.protobuf.Timestamp value)Start of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Start of the time interval (inclusive) during which the trace data was collected from the application.ListTracesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListTracesRequest.BuildersetView(ListTracesRequest.ViewType value)Optional.ListTracesRequest.BuildersetViewValue(int value)Optional.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
clear
public ListTracesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
getDefaultInstanceForType
public ListTracesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListTracesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListTracesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListTracesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
setField
public ListTracesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
clearField
public ListTracesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
clearOneof
public ListTracesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
setRepeatedField
public ListTracesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
addRepeatedField
public ListTracesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
mergeFrom
public ListTracesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTracesRequest.Builder>
-
mergeFrom
public ListTracesRequest.Builder mergeFrom(ListTracesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
mergeFrom
public ListTracesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTracesRequest.Builder>- Throws:
IOException
-
getProjectId
public String getProjectId()
Required. ID of the Cloud project where the trace data is stored.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getProjectIdin interfaceListTracesRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public 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];- Specified by:
getProjectIdBytesin interfaceListTracesRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public 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];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
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];- Returns:
- This builder for chaining.
-
setProjectIdBytes
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];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getViewValue
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];- Specified by:
getViewValuein interfaceListTracesRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
setViewValue
public 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];- Parameters:
value- The enum numeric value on the wire for view to set.- Returns:
- This builder for chaining.
-
getView
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];- Specified by:
getViewin interfaceListTracesRequestOrBuilder- Returns:
- The view.
-
setView
public 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];- Parameters:
value- The view to set.- Returns:
- This builder for chaining.
-
clearView
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];- Returns:
- This builder for chaining.
-
getPageSize
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];- Specified by:
getPageSizein interfaceListTracesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public 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];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
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];- Returns:
- This builder for chaining.
-
getPageToken
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;- Specified by:
getPageTokenin interfaceListTracesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public 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;- Specified by:
getPageTokenBytesin interfaceListTracesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public 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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
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;- Returns:
- This builder for chaining.
-
setPageTokenBytes
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasStartTime
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;- Specified by:
hasStartTimein interfaceListTracesRequestOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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;- Specified by:
getStartTimein interfaceListTracesRequestOrBuilder- Returns:
- The startTime.
-
setStartTime
public 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;
-
setStartTime
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;
-
mergeStartTime
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;
-
clearStartTime
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;
-
getStartTimeBuilder
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;
-
getStartTimeOrBuilder
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;- Specified by:
getStartTimeOrBuilderin interfaceListTracesRequestOrBuilder
-
hasEndTime
public boolean hasEndTime()
End of the time interval (inclusive) during which the trace data was collected from the application.
.google.protobuf.Timestamp end_time = 6;- Specified by:
hasEndTimein interfaceListTracesRequestOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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;- Specified by:
getEndTimein interfaceListTracesRequestOrBuilder- Returns:
- The endTime.
-
setEndTime
public 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;
-
setEndTime
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;
-
mergeEndTime
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;
-
clearEndTime
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;
-
getEndTimeBuilder
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;
-
getEndTimeOrBuilder
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;- Specified by:
getEndTimeOrBuilderin interfaceListTracesRequestOrBuilder
-
getFilter
public 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];- Specified by:
getFilterin interfaceListTracesRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public 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];- Specified by:
getFilterBytesin interfaceListTracesRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public 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];- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
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];- Returns:
- This builder for chaining.
-
setFilterBytes
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];- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
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];- Specified by:
getOrderByin interfaceListTracesRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public 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];- Specified by:
getOrderByBytesin interfaceListTracesRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
public 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];- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
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];- Returns:
- This builder for chaining.
-
setOrderByBytes
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];- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListTracesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
mergeUnknownFields
public final ListTracesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTracesRequest.Builder>
-
-