/** * * * <pre> * End of the time interval (inclusive) during which the trace data was * collected from the application. * </pre> * * <code>.google.protobuf.Timestamp end_time = 6;</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; }
/** * * * <pre> * End of the time interval (inclusive) during which the trace data was * collected from the application. * </pre> * * <code>.google.protobuf.Timestamp end_time = 6;</code> */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /**
/** * * * <pre> * Start of the time interval (inclusive) during which the trace data was * collected from the application. * </pre> * * <code>.google.protobuf.Timestamp start_time = 5;</code> */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; }
/** * Returns of a list of traces that match the specified filter conditions. * * <p>Sample code: * * <pre><code> * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { * String projectId = ""; * for (Trace element : traceServiceClient.listTraces(projectId).iterateAllElements()) { * // doThingsWith(element); * } * } * </code></pre> * * @param projectId ID of the Cloud project where the trace data is stored. * @throws com.google.api.gax.grpc.ApiException if the remote call fails */ public final ListTracesPagedResponse listTraces(String projectId) { ListTracesRequest request = ListTracesRequest.newBuilder().setProjectId(projectId).build(); return listTraces(request); }
@Override public ListTracesRequest injectToken(ListTracesRequest payload, Object token) { return ListTracesRequest.newBuilder(payload).setPageToken((String) token).build(); }
/** * Returns of a list of traces that match the specified filter conditions. * * <p>Sample code: * * <pre><code> * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { * String projectId = ""; * for (Trace element : traceServiceClient.listTraces(projectId).iterateAll()) { * // doThingsWith(element); * } * } * </code></pre> * * @param projectId ID of the Cloud project where the trace data is stored. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTracesPagedResponse listTraces(String projectId) { ListTracesRequest request = ListTracesRequest.newBuilder().setProjectId(projectId).build(); return listTraces(request); }
/** * * * <pre> * Start of the time interval (inclusive) during which the trace data was * collected from the application. * </pre> * * <code>.google.protobuf.Timestamp start_time = 5;</code> */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /**
@Override public ListTracesRequest injectToken(ListTracesRequest payload, String token) { return ListTracesRequest.newBuilder(payload).setPageToken(token).build(); }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
@java.lang.Override protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
@java.lang.Override public com.google.devtools.cloudtrace.v1.ListTracesRequest build() { com.google.devtools.cloudtrace.v1.ListTracesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }