From 1589f08e28b248874663b41cce2ba74e60e4cfba Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 18 Nov 2019 10:13:21 -0800 Subject: [PATCH 1/4] docs: regenerate generated javadoc (#43) --- .../cloud/trace/v1/TraceServiceClient.java | 184 ++++++------ .../cloud/trace/v1/TraceServiceSettings.java | 32 +- .../google/cloud/trace/v1/package-info.java | 4 +- .../trace/v1/stub/GrpcTraceServiceStub.java | 80 ++--- .../cloud/trace/v1/stub/TraceServiceStub.java | 16 +- .../v1/stub/TraceServiceStubSettings.java | 72 ++--- .../cloud/trace/v2/TraceServiceClient.java | 8 +- .../trace/v1/TraceServiceClientTest.java | 52 ++-- .../cloudtrace/v1/GetTraceRequest.java | 56 ++-- .../v1/GetTraceRequestOrBuilder.java | 16 +- .../cloudtrace/v1/ListTracesRequest.java | 164 +++++----- .../v1/ListTracesRequestOrBuilder.java | 46 +-- .../cloudtrace/v1/ListTracesResponse.java | 46 +-- .../v1/ListTracesResponseOrBuilder.java | 10 +- .../cloudtrace/v1/PatchTracesRequest.java | 100 ++++--- .../v1/PatchTracesRequestOrBuilder.java | 26 +- .../google/devtools/cloudtrace/v1/Trace.java | 21 +- .../cloudtrace/v1/TraceOrBuilder.java | 6 +- .../devtools/cloudtrace/v1/TraceProto.java | 117 +++++--- .../devtools/cloudtrace/v1/TraceSpan.java | 38 +-- .../cloudtrace/v1/TraceSpanOrBuilder.java | 10 +- .../google/devtools/cloudtrace/v1/trace.proto | 67 +++-- .../cloudtrace/v2/BatchWriteSpansRequest.java | 166 +++++++---- .../v2/BatchWriteSpansRequestOrBuilder.java | 38 ++- .../google/devtools/cloudtrace/v2/Span.java | 280 ++++++++++-------- .../devtools/cloudtrace/v2/SpanOrBuilder.java | 54 ++-- .../devtools/cloudtrace/v2/TraceProto.java | 177 +++++------ .../devtools/cloudtrace/v2/TracingProto.java | 54 ++-- .../google/devtools/cloudtrace/v2/trace.proto | 22 +- .../devtools/cloudtrace/v2/tracing.proto | 25 +- synth.metadata | 10 +- 31 files changed, 1133 insertions(+), 864 deletions(-) diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java index 0d45805d..73d225a7 100644 --- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java +++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceClient.java @@ -54,8 +54,8 @@ * * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { * String projectId = ""; - * Traces traces = Traces.newBuilder().build(); - * traceServiceClient.patchTraces(projectId, traces); + * String traceId = ""; + * Trace response = traceServiceClient.getTrace(projectId, traceId); * } * * @@ -165,85 +165,105 @@ public TraceServiceStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you - * send matches that of an existing trace, any fields in the existing trace and its spans are - * overwritten by the provided values, and any new fields provided are merged with the existing - * trace data. If the ID does not match, a new trace is created. + * Returns of a list of traces that match the specified filter conditions. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   Traces traces = Traces.newBuilder().build();
-   *   traceServiceClient.patchTraces(projectId, traces);
+   *   for (Trace element : traceServiceClient.listTraces(projectId).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* - * @param projectId ID of the Cloud project where the trace data is stored. - * @param traces The body of the message. + * @param projectId Required. 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 void patchTraces(String projectId, Traces traces) { - - PatchTracesRequest request = - PatchTracesRequest.newBuilder().setProjectId(projectId).setTraces(traces).build(); - patchTraces(request); + public final ListTracesPagedResponse listTraces(String projectId) { + ListTracesRequest request = ListTracesRequest.newBuilder().setProjectId(projectId).build(); + return listTraces(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you - * send matches that of an existing trace, any fields in the existing trace and its spans are - * overwritten by the provided values, and any new fields provided are merged with the existing - * trace data. If the ID does not match, a new trace is created. + * Returns of a list of traces that match the specified filter conditions. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   Traces traces = Traces.newBuilder().build();
-   *   PatchTracesRequest request = PatchTracesRequest.newBuilder()
+   *   ListTracesRequest request = ListTracesRequest.newBuilder()
    *     .setProjectId(projectId)
-   *     .setTraces(traces)
    *     .build();
-   *   traceServiceClient.patchTraces(request);
+   *   for (Trace element : traceServiceClient.listTraces(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final void patchTraces(PatchTracesRequest request) { - patchTracesCallable().call(request); + public final ListTracesPagedResponse listTraces(ListTracesRequest request) { + return listTracesPagedCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you - * send matches that of an existing trace, any fields in the existing trace and its spans are - * overwritten by the provided values, and any new fields provided are merged with the existing - * trace data. If the ID does not match, a new trace is created. + * Returns of a list of traces that match the specified filter conditions. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   Traces traces = Traces.newBuilder().build();
-   *   PatchTracesRequest request = PatchTracesRequest.newBuilder()
+   *   ListTracesRequest request = ListTracesRequest.newBuilder()
    *     .setProjectId(projectId)
-   *     .setTraces(traces)
    *     .build();
-   *   ApiFuture<Void> future = traceServiceClient.patchTracesCallable().futureCall(request);
+   *   ApiFuture<ListTracesPagedResponse> future = traceServiceClient.listTracesPagedCallable().futureCall(request);
    *   // Do something
-   *   future.get();
+   *   for (Trace element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
*/ - public final UnaryCallable patchTracesCallable() { - return stub.patchTracesCallable(); + public final UnaryCallable listTracesPagedCallable() { + return stub.listTracesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Returns of a list of traces that match the specified filter conditions. + * + *

Sample code: + * + *


+   * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
+   *   String projectId = "";
+   *   ListTracesRequest request = ListTracesRequest.newBuilder()
+   *     .setProjectId(projectId)
+   *     .build();
+   *   while (true) {
+   *     ListTracesResponse response = traceServiceClient.listTracesCallable().call(request);
+   *     for (Trace element : response.getTracesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * 
+ */ + public final UnaryCallable listTracesCallable() { + return stub.listTracesCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -260,8 +280,8 @@ public final UnaryCallable patchTracesCallable() { * } * * - * @param projectId ID of the Cloud project where the trace data is stored. - * @param traceId ID of the trace to return. + * @param projectId Required. ID of the Cloud project where the trace data is stored. + * @param traceId Required. ID of the trace to return. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Trace getTrace(String projectId, String traceId) { @@ -322,105 +342,85 @@ public final UnaryCallable getTraceCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns of a list of traces that match the specified filter conditions. + * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you + * send matches that of an existing trace, any fields in the existing trace and its spans are + * overwritten by the provided values, and any new fields provided are merged with the existing + * trace data. If the ID does not match, a new trace is created. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   for (Trace element : traceServiceClient.listTraces(projectId).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
+   *   Traces traces = Traces.newBuilder().build();
+   *   traceServiceClient.patchTraces(projectId, traces);
    * }
    * 
* - * @param projectId ID of the Cloud project where the trace data is stored. + * @param projectId Required. ID of the Cloud project where the trace data is stored. + * @param traces Required. The body of the message. * @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); + public final void patchTraces(String projectId, Traces traces) { + + PatchTracesRequest request = + PatchTracesRequest.newBuilder().setProjectId(projectId).setTraces(traces).build(); + patchTraces(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns of a list of traces that match the specified filter conditions. + * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you + * send matches that of an existing trace, any fields in the existing trace and its spans are + * overwritten by the provided values, and any new fields provided are merged with the existing + * trace data. If the ID does not match, a new trace is created. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   ListTracesRequest request = ListTracesRequest.newBuilder()
+   *   Traces traces = Traces.newBuilder().build();
+   *   PatchTracesRequest request = PatchTracesRequest.newBuilder()
    *     .setProjectId(projectId)
+   *     .setTraces(traces)
    *     .build();
-   *   for (Trace element : traceServiceClient.listTraces(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
+   *   traceServiceClient.patchTraces(request);
    * }
    * 
* * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListTracesPagedResponse listTraces(ListTracesRequest request) { - return listTracesPagedCallable().call(request); + public final void patchTraces(PatchTracesRequest request) { + patchTracesCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Returns of a list of traces that match the specified filter conditions. + * Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you + * send matches that of an existing trace, any fields in the existing trace and its spans are + * overwritten by the provided values, and any new fields provided are merged with the existing + * trace data. If the ID does not match, a new trace is created. * *

Sample code: * *


    * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
    *   String projectId = "";
-   *   ListTracesRequest request = ListTracesRequest.newBuilder()
+   *   Traces traces = Traces.newBuilder().build();
+   *   PatchTracesRequest request = PatchTracesRequest.newBuilder()
    *     .setProjectId(projectId)
+   *     .setTraces(traces)
    *     .build();
-   *   ApiFuture<ListTracesPagedResponse> future = traceServiceClient.listTracesPagedCallable().futureCall(request);
+   *   ApiFuture<Void> future = traceServiceClient.patchTracesCallable().futureCall(request);
    *   // Do something
-   *   for (Trace element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * 
- */ - public final UnaryCallable listTracesPagedCallable() { - return stub.listTracesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Returns of a list of traces that match the specified filter conditions. - * - *

Sample code: - * - *


-   * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
-   *   String projectId = "";
-   *   ListTracesRequest request = ListTracesRequest.newBuilder()
-   *     .setProjectId(projectId)
-   *     .build();
-   *   while (true) {
-   *     ListTracesResponse response = traceServiceClient.listTracesCallable().call(request);
-   *     for (Trace element : response.getTracesList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
+   *   future.get();
    * }
    * 
*/ - public final UnaryCallable listTracesCallable() { - return stub.listTracesCallable(); + public final UnaryCallable patchTracesCallable() { + return stub.patchTracesCallable(); } @Override diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java index 1261fc7d..1c2e2925 100644 --- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java +++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/TraceServiceSettings.java @@ -54,13 +54,13 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of patchTraces to 30 seconds: + *

For example, to set the total timeout of getTrace to 30 seconds: * *

  * 
  * TraceServiceSettings.Builder traceServiceSettingsBuilder =
  *     TraceServiceSettings.newBuilder();
- * traceServiceSettingsBuilder.patchTracesSettings().getRetrySettings().toBuilder()
+ * traceServiceSettingsBuilder.getTraceSettings().getRetrySettings().toBuilder()
  *     .setTotalTimeout(Duration.ofSeconds(30));
  * TraceServiceSettings traceServiceSettings = traceServiceSettingsBuilder.build();
  * 
@@ -69,9 +69,10 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class TraceServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to patchTraces. */
-  public UnaryCallSettings patchTracesSettings() {
-    return ((TraceServiceStubSettings) getStubSettings()).patchTracesSettings();
+  /** Returns the object with the settings used for calls to listTraces. */
+  public PagedCallSettings
+      listTracesSettings() {
+    return ((TraceServiceStubSettings) getStubSettings()).listTracesSettings();
   }
 
   /** Returns the object with the settings used for calls to getTrace. */
@@ -79,10 +80,9 @@ public UnaryCallSettings getTraceSettings() {
     return ((TraceServiceStubSettings) getStubSettings()).getTraceSettings();
   }
 
-  /** Returns the object with the settings used for calls to listTraces. */
-  public PagedCallSettings
-      listTracesSettings() {
-    return ((TraceServiceStubSettings) getStubSettings()).listTracesSettings();
+  /** Returns the object with the settings used for calls to patchTraces. */
+  public UnaryCallSettings patchTracesSettings() {
+    return ((TraceServiceStubSettings) getStubSettings()).patchTracesSettings();
   }
 
   public static final TraceServiceSettings create(TraceServiceStubSettings stub)
@@ -182,9 +182,10 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to patchTraces. */
-    public UnaryCallSettings.Builder patchTracesSettings() {
-      return getStubSettingsBuilder().patchTracesSettings();
+    /** Returns the builder for the settings used for calls to listTraces. */
+    public PagedCallSettings.Builder
+        listTracesSettings() {
+      return getStubSettingsBuilder().listTracesSettings();
     }
 
     /** Returns the builder for the settings used for calls to getTrace. */
@@ -192,10 +193,9 @@ public UnaryCallSettings.Builder getTraceSettings() {
       return getStubSettingsBuilder().getTraceSettings();
     }
 
-    /** Returns the builder for the settings used for calls to listTraces. */
-    public PagedCallSettings.Builder
-        listTracesSettings() {
-      return getStubSettingsBuilder().listTracesSettings();
+    /** Returns the builder for the settings used for calls to patchTraces. */
+    public UnaryCallSettings.Builder patchTracesSettings() {
+      return getStubSettingsBuilder().patchTracesSettings();
     }
 
     @Override
diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java
index 961d8c4a..a8721384 100644
--- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java
+++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/package-info.java
@@ -32,8 +32,8 @@
  * 
  * try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
  *   String projectId = "";
- *   Traces traces = Traces.newBuilder().build();
- *   traceServiceClient.patchTraces(projectId, traces);
+ *   String traceId = "";
+ *   Trace response = traceServiceClient.getTrace(projectId, traceId);
  * }
  * 
  * 
diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java index f788a394..750f0d75 100644 --- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java +++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/GrpcTraceServiceStub.java @@ -49,20 +49,6 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcTraceServiceStub extends TraceServiceStub { - private static final MethodDescriptor patchTracesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.devtools.cloudtrace.v1.TraceService/PatchTraces") - .setRequestMarshaller(ProtoUtils.marshaller(PatchTracesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - private static final MethodDescriptor getTraceMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.devtools.cloudtrace.v1.TraceService/GetTrace") - .setRequestMarshaller(ProtoUtils.marshaller(GetTraceRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Trace.getDefaultInstance())) - .build(); private static final MethodDescriptor listTracesMethodDescriptor = MethodDescriptor.newBuilder() @@ -71,13 +57,27 @@ public class GrpcTraceServiceStub extends TraceServiceStub { .setRequestMarshaller(ProtoUtils.marshaller(ListTracesRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(ListTracesResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor getTraceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.devtools.cloudtrace.v1.TraceService/GetTrace") + .setRequestMarshaller(ProtoUtils.marshaller(GetTraceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Trace.getDefaultInstance())) + .build(); + private static final MethodDescriptor patchTracesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.devtools.cloudtrace.v1.TraceService/PatchTraces") + .setRequestMarshaller(ProtoUtils.marshaller(PatchTracesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); private final BackgroundResource backgroundResources; - private final UnaryCallable patchTracesCallable; - private final UnaryCallable getTraceCallable; private final UnaryCallable listTracesCallable; private final UnaryCallable listTracesPagedCallable; + private final UnaryCallable getTraceCallable; + private final UnaryCallable patchTracesCallable; private final GrpcStubCallableFactory callableFactory; @@ -118,13 +118,13 @@ protected GrpcTraceServiceStub( throws IOException { this.callableFactory = callableFactory; - GrpcCallSettings patchTracesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(patchTracesMethodDescriptor) + GrpcCallSettings listTracesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listTracesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { + new RequestParamsExtractor() { @Override - public Map extract(PatchTracesRequest request) { + public Map extract(ListTracesRequest request) { ImmutableMap.Builder params = ImmutableMap.builder(); params.put("project_id", String.valueOf(request.getProjectId())); return params.build(); @@ -135,13 +135,13 @@ public Map extract(PatchTracesRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(getTraceMethodDescriptor) .build(); - GrpcCallSettings listTracesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listTracesMethodDescriptor) + GrpcCallSettings patchTracesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(patchTracesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { + new RequestParamsExtractor() { @Override - public Map extract(ListTracesRequest request) { + public Map extract(PatchTracesRequest request) { ImmutableMap.Builder params = ImmutableMap.builder(); params.put("project_id", String.valueOf(request.getProjectId())); return params.build(); @@ -149,30 +149,22 @@ public Map extract(ListTracesRequest request) { }) .build(); - this.patchTracesCallable = - callableFactory.createUnaryCallable( - patchTracesTransportSettings, settings.patchTracesSettings(), clientContext); - this.getTraceCallable = - callableFactory.createUnaryCallable( - getTraceTransportSettings, settings.getTraceSettings(), clientContext); this.listTracesCallable = callableFactory.createUnaryCallable( listTracesTransportSettings, settings.listTracesSettings(), clientContext); this.listTracesPagedCallable = callableFactory.createPagedCallable( listTracesTransportSettings, settings.listTracesSettings(), clientContext); + this.getTraceCallable = + callableFactory.createUnaryCallable( + getTraceTransportSettings, settings.getTraceSettings(), clientContext); + this.patchTracesCallable = + callableFactory.createUnaryCallable( + patchTracesTransportSettings, settings.patchTracesSettings(), clientContext); backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } - public UnaryCallable patchTracesCallable() { - return patchTracesCallable; - } - - public UnaryCallable getTraceCallable() { - return getTraceCallable; - } - public UnaryCallable listTracesPagedCallable() { return listTracesPagedCallable; } @@ -181,6 +173,14 @@ public UnaryCallable listTracesCallable() return listTracesCallable; } + public UnaryCallable getTraceCallable() { + return getTraceCallable; + } + + public UnaryCallable patchTracesCallable() { + return patchTracesCallable; + } + @Override public final void close() { shutdown(); diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java index f2c11504..a05427e3 100644 --- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java +++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStub.java @@ -38,14 +38,6 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public abstract class TraceServiceStub implements BackgroundResource { - public UnaryCallable patchTracesCallable() { - throw new UnsupportedOperationException("Not implemented: patchTracesCallable()"); - } - - public UnaryCallable getTraceCallable() { - throw new UnsupportedOperationException("Not implemented: getTraceCallable()"); - } - public UnaryCallable listTracesPagedCallable() { throw new UnsupportedOperationException("Not implemented: listTracesPagedCallable()"); } @@ -54,6 +46,14 @@ public UnaryCallable listTracesCallable() throw new UnsupportedOperationException("Not implemented: listTracesCallable()"); } + public UnaryCallable getTraceCallable() { + throw new UnsupportedOperationException("Not implemented: getTraceCallable()"); + } + + public UnaryCallable patchTracesCallable() { + throw new UnsupportedOperationException("Not implemented: patchTracesCallable()"); + } + @Override public abstract void close(); } diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java index b732e16b..caad00d7 100644 --- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java +++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/TraceServiceStubSettings.java @@ -69,13 +69,13 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of patchTraces to 30 seconds: + *

For example, to set the total timeout of getTrace to 30 seconds: * *

  * 
  * TraceServiceStubSettings.Builder traceServiceSettingsBuilder =
  *     TraceServiceStubSettings.newBuilder();
- * traceServiceSettingsBuilder.patchTracesSettings().getRetrySettings().toBuilder()
+ * traceServiceSettingsBuilder.getTraceSettings().getRetrySettings().toBuilder()
  *     .setTotalTimeout(Duration.ofSeconds(30));
  * TraceServiceStubSettings traceServiceSettings = traceServiceSettingsBuilder.build();
  * 
@@ -92,14 +92,15 @@ public class TraceServiceStubSettings extends StubSettings patchTracesSettings;
-  private final UnaryCallSettings getTraceSettings;
   private final PagedCallSettings
       listTracesSettings;
+  private final UnaryCallSettings getTraceSettings;
+  private final UnaryCallSettings patchTracesSettings;
 
-  /** Returns the object with the settings used for calls to patchTraces. */
-  public UnaryCallSettings patchTracesSettings() {
-    return patchTracesSettings;
+  /** Returns the object with the settings used for calls to listTraces. */
+  public PagedCallSettings
+      listTracesSettings() {
+    return listTracesSettings;
   }
 
   /** Returns the object with the settings used for calls to getTrace. */
@@ -107,10 +108,9 @@ public UnaryCallSettings getTraceSettings() {
     return getTraceSettings;
   }
 
-  /** Returns the object with the settings used for calls to listTraces. */
-  public PagedCallSettings
-      listTracesSettings() {
-    return listTracesSettings;
+  /** Returns the object with the settings used for calls to patchTraces. */
+  public UnaryCallSettings patchTracesSettings() {
+    return patchTracesSettings;
   }
 
   @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
@@ -182,9 +182,9 @@ public Builder toBuilder() {
   protected TraceServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    patchTracesSettings = settingsBuilder.patchTracesSettings().build();
-    getTraceSettings = settingsBuilder.getTraceSettings().build();
     listTracesSettings = settingsBuilder.listTracesSettings().build();
+    getTraceSettings = settingsBuilder.getTraceSettings().build();
+    patchTracesSettings = settingsBuilder.patchTracesSettings().build();
   }
 
   private static final PagedListDescriptor
@@ -244,11 +244,11 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder patchTracesSettings;
-    private final UnaryCallSettings.Builder getTraceSettings;
     private final PagedCallSettings.Builder<
             ListTracesRequest, ListTracesResponse, ListTracesPagedResponse>
         listTracesSettings;
+    private final UnaryCallSettings.Builder getTraceSettings;
+    private final UnaryCallSettings.Builder patchTracesSettings;
 
     private static final ImmutableMap>
         RETRYABLE_CODE_DEFINITIONS;
@@ -273,12 +273,12 @@ public static class Builder extends StubSettings.Builder>of(
-              patchTracesSettings, getTraceSettings, listTracesSettings);
+              listTracesSettings, getTraceSettings, patchTracesSettings);
 
       initDefaults(this);
     }
@@ -316,7 +316,7 @@ private static Builder createDefault() {
     private static Builder initDefaults(Builder builder) {
 
       builder
-          .patchTracesSettings()
+          .listTracesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
@@ -326,8 +326,8 @@ private static Builder initDefaults(Builder builder) {
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       builder
-          .listTracesSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .patchTracesSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
       return builder;
@@ -336,13 +336,13 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(TraceServiceStubSettings settings) {
       super(settings);
 
-      patchTracesSettings = settings.patchTracesSettings.toBuilder();
-      getTraceSettings = settings.getTraceSettings.toBuilder();
       listTracesSettings = settings.listTracesSettings.toBuilder();
+      getTraceSettings = settings.getTraceSettings.toBuilder();
+      patchTracesSettings = settings.patchTracesSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              patchTracesSettings, getTraceSettings, listTracesSettings);
+              listTracesSettings, getTraceSettings, patchTracesSettings);
     }
 
     // NEXT_MAJOR_VER: remove 'throws Exception'
@@ -361,9 +361,10 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to patchTraces. */
-    public UnaryCallSettings.Builder patchTracesSettings() {
-      return patchTracesSettings;
+    /** Returns the builder for the settings used for calls to listTraces. */
+    public PagedCallSettings.Builder
+        listTracesSettings() {
+      return listTracesSettings;
     }
 
     /** Returns the builder for the settings used for calls to getTrace. */
@@ -371,10 +372,9 @@ public UnaryCallSettings.Builder getTraceSettings() {
       return getTraceSettings;
     }
 
-    /** Returns the builder for the settings used for calls to listTraces. */
-    public PagedCallSettings.Builder
-        listTracesSettings() {
-      return listTracesSettings;
+    /** Returns the builder for the settings used for calls to patchTraces. */
+    public UnaryCallSettings.Builder patchTracesSettings() {
+      return patchTracesSettings;
     }
 
     @Override
diff --git a/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java b/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java
index f5426fba..cf3fabca 100644
--- a/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java
+++ b/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java
@@ -168,8 +168,8 @@ public TraceServiceStub getStub() {
    *
    * @param name Required. The name of the project where the spans belong. The format is
    *     `projects/[PROJECT_ID]`.
-   * @param spans A list of new spans. The span names must not match existing spans, or the results
-   *     are undefined.
+   * @param spans Required. A list of new spans. The span names must not match existing spans, or
+   *     the results are undefined.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final void batchWriteSpans(ProjectName name, List spans) {
@@ -198,8 +198,8 @@ public final void batchWriteSpans(ProjectName name, List spans) {
    *
    * @param name Required. The name of the project where the spans belong. The format is
    *     `projects/[PROJECT_ID]`.
-   * @param spans A list of new spans. The span names must not match existing spans, or the results
-   *     are undefined.
+   * @param spans Required. A list of new spans. The span names must not match existing spans, or
+   *     the results are undefined.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final void batchWriteSpans(String name, List spans) {
diff --git a/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java b/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java
index de0ce912..61f7be87 100644
--- a/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java
+++ b/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/TraceServiceClientTest.java
@@ -84,21 +84,30 @@ public void tearDown() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void patchTracesTest() {
-    Empty expectedResponse = Empty.newBuilder().build();
+  public void listTracesTest() {
+    String nextPageToken = "";
+    Trace tracesElement = Trace.newBuilder().build();
+    List traces = Arrays.asList(tracesElement);
+    ListTracesResponse expectedResponse =
+        ListTracesResponse.newBuilder()
+            .setNextPageToken(nextPageToken)
+            .addAllTraces(traces)
+            .build();
     mockTraceService.addResponse(expectedResponse);
 
     String projectId = "projectId-1969970175";
-    Traces traces = Traces.newBuilder().build();
 
-    client.patchTraces(projectId, traces);
+    ListTracesPagedResponse pagedListResponse = client.listTraces(projectId);
+
+    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
+    Assert.assertEquals(1, resources.size());
+    Assert.assertEquals(expectedResponse.getTracesList().get(0), resources.get(0));
 
     List actualRequests = mockTraceService.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    PatchTracesRequest actualRequest = (PatchTracesRequest) actualRequests.get(0);
+    ListTracesRequest actualRequest = (ListTracesRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(traces, actualRequest.getTraces());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -107,15 +116,14 @@ public void patchTracesTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void patchTracesExceptionTest() throws Exception {
+  public void listTracesExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockTraceService.addException(exception);
 
     try {
       String projectId = "projectId-1969970175";
-      Traces traces = Traces.newBuilder().build();
 
-      client.patchTraces(projectId, traces);
+      client.listTraces(projectId);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -168,30 +176,21 @@ public void getTraceExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void listTracesTest() {
-    String nextPageToken = "";
-    Trace tracesElement = Trace.newBuilder().build();
-    List traces = Arrays.asList(tracesElement);
-    ListTracesResponse expectedResponse =
-        ListTracesResponse.newBuilder()
-            .setNextPageToken(nextPageToken)
-            .addAllTraces(traces)
-            .build();
+  public void patchTracesTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
     mockTraceService.addResponse(expectedResponse);
 
     String projectId = "projectId-1969970175";
+    Traces traces = Traces.newBuilder().build();
 
-    ListTracesPagedResponse pagedListResponse = client.listTraces(projectId);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getTracesList().get(0), resources.get(0));
+    client.patchTraces(projectId, traces);
 
     List actualRequests = mockTraceService.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    ListTracesRequest actualRequest = (ListTracesRequest) actualRequests.get(0);
+    PatchTracesRequest actualRequest = (PatchTracesRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(traces, actualRequest.getTraces());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -200,14 +199,15 @@ public void listTracesTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void listTracesExceptionTest() throws Exception {
+  public void patchTracesExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockTraceService.addException(exception);
 
     try {
       String projectId = "projectId-1969970175";
+      Traces traces = Traces.newBuilder().build();
 
-      client.listTraces(projectId);
+      client.patchTraces(projectId, traces);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java
index 32f4c2f5..e4a9da25 100644
--- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java
+++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequest.java
@@ -120,10 +120,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -140,10 +140,10 @@ public java.lang.String getProjectId() { * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -163,10 +163,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * ID of the trace to return.
+   * Required. ID of the trace to return.
    * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; @@ -183,10 +183,10 @@ public java.lang.String getTraceId() { * * *
-   * ID of the trace to return.
+   * Required. ID of the trace to return.
    * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; @@ -539,10 +539,10 @@ public Builder mergeFrom( * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -559,10 +559,10 @@ public java.lang.String getProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -579,10 +579,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -597,10 +597,10 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProjectId() { @@ -612,10 +612,10 @@ public Builder clearProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -633,10 +633,10 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * ID of the trace to return.
+     * Required. ID of the trace to return.
      * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; @@ -653,10 +653,10 @@ public java.lang.String getTraceId() { * * *
-     * ID of the trace to return.
+     * Required. ID of the trace to return.
      * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; @@ -673,10 +673,10 @@ public com.google.protobuf.ByteString getTraceIdBytes() { * * *
-     * ID of the trace to return.
+     * Required. ID of the trace to return.
      * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTraceId(java.lang.String value) { if (value == null) { @@ -691,10 +691,10 @@ public Builder setTraceId(java.lang.String value) { * * *
-     * ID of the trace to return.
+     * Required. ID of the trace to return.
      * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTraceId() { @@ -706,10 +706,10 @@ public Builder clearTraceId() { * * *
-     * ID of the trace to return.
+     * Required. ID of the trace to return.
      * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequestOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequestOrBuilder.java index e434bbb7..4aae00cc 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequestOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/GetTraceRequestOrBuilder.java @@ -27,20 +27,20 @@ public interface GetTraceRequestOrBuilder * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getProjectId(); /** * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -48,20 +48,20 @@ public interface GetTraceRequestOrBuilder * * *
-   * ID of the trace to return.
+   * Required. ID of the trace to return.
    * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getTraceId(); /** * * *
-   * ID of the trace to return.
+   * Required. ID of the trace to return.
    * 
* - * string trace_id = 2; + * string trace_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.ByteString getTraceIdBytes(); } diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java index 9d5a800b..92f32db5 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequest.java @@ -357,10 +357,10 @@ private ViewType(int value) { * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -377,10 +377,10 @@ public java.lang.String getProjectId() { * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -400,11 +400,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * Type of data returned for traces in the list. Optional. Default is
+   * Optional. Type of data returned for traces in the list. Default is
    * `MINIMAL`.
    * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getViewValue() { return view_; @@ -413,11 +415,13 @@ public int getViewValue() { * * *
-   * Type of data returned for traces in the list. Optional. Default is
+   * Optional. Type of data returned for traces in the list. Default is
    * `MINIMAL`.
    * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType getView() { @SuppressWarnings("deprecation") @@ -434,12 +438,12 @@ public com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType getView() { * * *
-   * Maximum number of traces to return. If not specified or <= 0, the
+   * 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. Optional.
+   * return fewer traces than the requested page size.
    * 
* - * int32 page_size = 3; + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPageSize() { return pageSize_; @@ -452,7 +456,7 @@ public int getPageSize() { * *
    * Token identifying the page of results to return. If provided, use the
-   * value of the `next_page_token` field from a previous request. Optional.
+   * value of the `next_page_token` field from a previous request.
    * 
* * string page_token = 4; @@ -473,7 +477,7 @@ public 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.
+   * value of the `next_page_token` field from a previous request.
    * 
* * string page_token = 4; @@ -580,7 +584,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
-   * An optional filter against labels for the request.
+   * 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:
@@ -610,7 +614,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
    * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -627,7 +631,7 @@ public java.lang.String getFilter() { * * *
-   * An optional filter against labels for the request.
+   * 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:
@@ -657,7 +661,7 @@ public java.lang.String getFilter() {
    * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
    * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -677,7 +681,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-   * Field used to sort the returned traces. Optional.
+   * 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)
@@ -689,7 +693,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * Only one sort field is permitted.
    * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; @@ -706,7 +710,7 @@ public java.lang.String getOrderBy() { * * *
-   * Field used to sort the returned traces. Optional.
+   * 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)
@@ -718,7 +722,7 @@ public java.lang.String getOrderBy() {
    * Only one sort field is permitted.
    * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; @@ -1194,10 +1198,10 @@ public Builder mergeFrom( * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -1214,10 +1218,10 @@ public java.lang.String getProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -1234,10 +1238,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -1252,10 +1256,10 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProjectId() { @@ -1267,10 +1271,10 @@ public Builder clearProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1288,11 +1292,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Type of data returned for traces in the list. Optional. Default is
+     * Optional. Type of data returned for traces in the list. Default is
      * `MINIMAL`.
      * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getViewValue() { return view_; @@ -1301,11 +1307,13 @@ public int getViewValue() { * * *
-     * Type of data returned for traces in the list. Optional. Default is
+     * Optional. Type of data returned for traces in the list. Default is
      * `MINIMAL`.
      * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setViewValue(int value) { view_ = value; @@ -1316,11 +1324,13 @@ public Builder setViewValue(int value) { * * *
-     * Type of data returned for traces in the list. Optional. Default is
+     * Optional. Type of data returned for traces in the list. Default is
      * `MINIMAL`.
      * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType getView() { @SuppressWarnings("deprecation") @@ -1334,11 +1344,13 @@ public com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType getView() { * * *
-     * Type of data returned for traces in the list. Optional. Default is
+     * Optional. Type of data returned for traces in the list. Default is
      * `MINIMAL`.
      * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setView(com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType value) { if (value == null) { @@ -1353,11 +1365,13 @@ public Builder setView(com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewT * * *
-     * Type of data returned for traces in the list. Optional. Default is
+     * Optional. Type of data returned for traces in the list. Default is
      * `MINIMAL`.
      * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearView() { @@ -1371,12 +1385,12 @@ public Builder clearView() { * * *
-     * Maximum number of traces to return. If not specified or <= 0, the
+     * 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. Optional.
+     * return fewer traces than the requested page size.
      * 
* - * int32 page_size = 3; + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPageSize() { return pageSize_; @@ -1385,12 +1399,12 @@ public int getPageSize() { * * *
-     * Maximum number of traces to return. If not specified or <= 0, the
+     * 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. Optional.
+     * return fewer traces than the requested page size.
      * 
* - * int32 page_size = 3; + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPageSize(int value) { @@ -1402,12 +1416,12 @@ public Builder setPageSize(int value) { * * *
-     * Maximum number of traces to return. If not specified or <= 0, the
+     * 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. Optional.
+     * return fewer traces than the requested page size.
      * 
* - * int32 page_size = 3; + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPageSize() { @@ -1422,7 +1436,7 @@ public Builder clearPageSize() { * *
      * Token identifying the page of results to return. If provided, use the
-     * value of the `next_page_token` field from a previous request. Optional.
+     * value of the `next_page_token` field from a previous request.
      * 
* * string page_token = 4; @@ -1443,7 +1457,7 @@ public 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.
+     * value of the `next_page_token` field from a previous request.
      * 
* * string page_token = 4; @@ -1464,7 +1478,7 @@ 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. Optional.
+     * value of the `next_page_token` field from a previous request.
      * 
* * string page_token = 4; @@ -1483,7 +1497,7 @@ public Builder setPageToken(java.lang.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. Optional.
+     * value of the `next_page_token` field from a previous request.
      * 
* * string page_token = 4; @@ -1499,7 +1513,7 @@ public 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. Optional.
+     * value of the `next_page_token` field from a previous request.
      * 
* * string page_token = 4; @@ -1888,7 +1902,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
-     * An optional filter against labels for the request.
+     * 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:
@@ -1918,7 +1932,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
      * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public java.lang.String getFilter() { java.lang.Object ref = filter_; @@ -1935,7 +1949,7 @@ public java.lang.String getFilter() { * * *
-     * An optional filter against labels for the request.
+     * 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:
@@ -1965,7 +1979,7 @@ public java.lang.String getFilter() {
      * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
      * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; @@ -1982,7 +1996,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-     * An optional filter against labels for the request.
+     * 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:
@@ -2012,7 +2026,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
      * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFilter(java.lang.String value) { if (value == null) { @@ -2027,7 +2041,7 @@ public Builder setFilter(java.lang.String value) { * * *
-     * An optional filter against labels for the request.
+     * 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:
@@ -2057,7 +2071,7 @@ public Builder setFilter(java.lang.String value) {
      * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
      * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFilter() { @@ -2069,7 +2083,7 @@ public Builder clearFilter() { * * *
-     * An optional filter against labels for the request.
+     * 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:
@@ -2099,7 +2113,7 @@ public Builder clearFilter() {
      * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
      * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2117,7 +2131,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * *
-     * Field used to sort the returned traces. Optional.
+     * 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)
@@ -2129,7 +2143,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * Only one sort field is permitted.
      * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; @@ -2146,7 +2160,7 @@ public java.lang.String getOrderBy() { * * *
-     * Field used to sort the returned traces. Optional.
+     * 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)
@@ -2158,7 +2172,7 @@ public java.lang.String getOrderBy() {
      * Only one sort field is permitted.
      * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; @@ -2175,7 +2189,7 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * *
-     * Field used to sort the returned traces. Optional.
+     * 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)
@@ -2187,7 +2201,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * Only one sort field is permitted.
      * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOrderBy(java.lang.String value) { if (value == null) { @@ -2202,7 +2216,7 @@ public Builder setOrderBy(java.lang.String value) { * * *
-     * Field used to sort the returned traces. Optional.
+     * 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)
@@ -2214,7 +2228,7 @@ public Builder setOrderBy(java.lang.String value) {
      * Only one sort field is permitted.
      * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearOrderBy() { @@ -2226,7 +2240,7 @@ public Builder clearOrderBy() { * * *
-     * Field used to sort the returned traces. Optional.
+     * 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)
@@ -2238,7 +2252,7 @@ public Builder clearOrderBy() {
      * Only one sort field is permitted.
      * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequestOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequestOrBuilder.java index fb9fe3ea..954fed66 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequestOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesRequestOrBuilder.java @@ -27,20 +27,20 @@ public interface ListTracesRequestOrBuilder * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getProjectId(); /** * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -48,22 +48,26 @@ public interface ListTracesRequestOrBuilder * * *
-   * Type of data returned for traces in the list. Optional. Default is
+   * Optional. Type of data returned for traces in the list. Default is
    * `MINIMAL`.
    * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getViewValue(); /** * * *
-   * Type of data returned for traces in the list. Optional. Default is
+   * Optional. Type of data returned for traces in the list. Default is
    * `MINIMAL`.
    * 
* - * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2; + * + * .google.devtools.cloudtrace.v1.ListTracesRequest.ViewType view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.devtools.cloudtrace.v1.ListTracesRequest.ViewType getView(); @@ -71,12 +75,12 @@ public interface ListTracesRequestOrBuilder * * *
-   * Maximum number of traces to return. If not specified or <= 0, the
+   * 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. Optional.
+   * return fewer traces than the requested page size.
    * 
* - * int32 page_size = 3; + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getPageSize(); @@ -85,7 +89,7 @@ public interface ListTracesRequestOrBuilder * *
    * Token identifying the page of results to return. If provided, use the
-   * value of the `next_page_token` field from a previous request. Optional.
+   * value of the `next_page_token` field from a previous request.
    * 
* * string page_token = 4; @@ -96,7 +100,7 @@ public interface ListTracesRequestOrBuilder * *
    * Token identifying the page of results to return. If provided, use the
-   * value of the `next_page_token` field from a previous request. Optional.
+   * value of the `next_page_token` field from a previous request.
    * 
* * string page_token = 4; @@ -175,7 +179,7 @@ public interface ListTracesRequestOrBuilder * * *
-   * An optional filter against labels for the request.
+   * 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:
@@ -205,14 +209,14 @@ public interface ListTracesRequestOrBuilder
    * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
    * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getFilter(); /** * * *
-   * An optional filter against labels for the request.
+   * 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:
@@ -242,7 +246,7 @@ public interface ListTracesRequestOrBuilder
    * *   `url:VALUE`: Equivalent to `/http/url:VALUE`.
    * 
* - * string filter = 7; + * string filter = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.ByteString getFilterBytes(); @@ -250,7 +254,7 @@ public interface ListTracesRequestOrBuilder * * *
-   * Field used to sort the returned traces. Optional.
+   * 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)
@@ -262,14 +266,14 @@ public interface ListTracesRequestOrBuilder
    * Only one sort field is permitted.
    * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getOrderBy(); /** * * *
-   * Field used to sort the returned traces. Optional.
+   * 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)
@@ -281,7 +285,7 @@ public interface ListTracesRequestOrBuilder
    * Only one sort field is permitted.
    * 
* - * string order_by = 8; + * string order_by = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java index 842d0f8f..055ab008 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponse.java @@ -128,7 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -140,7 +140,7 @@ public java.util.List getTracesList() { * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -153,7 +153,7 @@ public java.util.List getTracesList() { * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -165,7 +165,7 @@ public int getTracesCount() { * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -177,7 +177,7 @@ public com.google.devtools.cloudtrace.v1.Trace getTraces(int index) { * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -631,7 +631,7 @@ private void ensureTracesIsMutable() { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -647,7 +647,7 @@ public java.util.List getTracesList() { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -663,7 +663,7 @@ public int getTracesCount() { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -679,7 +679,7 @@ public com.google.devtools.cloudtrace.v1.Trace getTraces(int index) { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -701,7 +701,7 @@ public Builder setTraces(int index, com.google.devtools.cloudtrace.v1.Trace valu * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -721,7 +721,7 @@ public Builder setTraces( * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -743,7 +743,7 @@ public Builder addTraces(com.google.devtools.cloudtrace.v1.Trace value) { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -765,7 +765,7 @@ public Builder addTraces(int index, com.google.devtools.cloudtrace.v1.Trace valu * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -784,7 +784,7 @@ public Builder addTraces(com.google.devtools.cloudtrace.v1.Trace.Builder builder * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -804,7 +804,7 @@ public Builder addTraces( * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -824,7 +824,7 @@ public Builder addAllTraces( * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -843,7 +843,7 @@ public Builder clearTraces() { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -862,7 +862,7 @@ public Builder removeTraces(int index) { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -874,7 +874,7 @@ public com.google.devtools.cloudtrace.v1.Trace.Builder getTracesBuilder(int inde * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -890,7 +890,7 @@ public com.google.devtools.cloudtrace.v1.TraceOrBuilder getTracesOrBuilder(int i * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -907,7 +907,7 @@ public com.google.devtools.cloudtrace.v1.TraceOrBuilder getTracesOrBuilder(int i * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -920,7 +920,7 @@ public com.google.devtools.cloudtrace.v1.Trace.Builder addTracesBuilder() { * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -933,7 +933,7 @@ public com.google.devtools.cloudtrace.v1.Trace.Builder addTracesBuilder(int inde * * *
-     * List of trace records returned.
+     * List of trace records as specified by the view parameter.
      * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponseOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponseOrBuilder.java index 5141157d..770b656d 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponseOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/ListTracesResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ListTracesResponseOrBuilder * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -37,7 +37,7 @@ public interface ListTracesResponseOrBuilder * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -47,7 +47,7 @@ public interface ListTracesResponseOrBuilder * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -57,7 +57,7 @@ public interface ListTracesResponseOrBuilder * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; @@ -68,7 +68,7 @@ public interface ListTracesResponseOrBuilder * * *
-   * List of trace records returned.
+   * List of trace records as specified by the view parameter.
    * 
* * repeated .google.devtools.cloudtrace.v1.Trace traces = 1; diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java index 740abc3c..35f1ee9b 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java @@ -128,10 +128,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -148,10 +148,10 @@ public java.lang.String getProjectId() { * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -171,10 +171,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTraces() { return traces_ != null; @@ -183,10 +185,12 @@ public boolean hasTraces() { * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v1.Traces getTraces() { return traces_ == null @@ -197,10 +201,12 @@ public com.google.devtools.cloudtrace.v1.Traces getTraces() { * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v1.TracesOrBuilder getTracesOrBuilder() { return getTraces(); @@ -557,10 +563,10 @@ public Builder mergeFrom( * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -577,10 +583,10 @@ public java.lang.String getProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -597,10 +603,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectId(java.lang.String value) { if (value == null) { @@ -615,10 +621,10 @@ public Builder setProjectId(java.lang.String value) { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProjectId() { @@ -630,10 +636,10 @@ public Builder clearProjectId() { * * *
-     * ID of the Cloud project where the trace data is stored.
+     * Required. ID of the Cloud project where the trace data is stored.
      * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -656,10 +662,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public boolean hasTraces() { return tracesBuilder_ != null || traces_ != null; @@ -668,10 +676,12 @@ public boolean hasTraces() { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v1.Traces getTraces() { if (tracesBuilder_ == null) { @@ -686,10 +696,12 @@ public com.google.devtools.cloudtrace.v1.Traces getTraces() { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTraces(com.google.devtools.cloudtrace.v1.Traces value) { if (tracesBuilder_ == null) { @@ -708,10 +720,12 @@ public Builder setTraces(com.google.devtools.cloudtrace.v1.Traces value) { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTraces(com.google.devtools.cloudtrace.v1.Traces.Builder builderForValue) { if (tracesBuilder_ == null) { @@ -727,10 +741,12 @@ public Builder setTraces(com.google.devtools.cloudtrace.v1.Traces.Builder builde * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTraces(com.google.devtools.cloudtrace.v1.Traces value) { if (tracesBuilder_ == null) { @@ -753,10 +769,12 @@ public Builder mergeTraces(com.google.devtools.cloudtrace.v1.Traces value) { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTraces() { if (tracesBuilder_ == null) { @@ -773,10 +791,12 @@ public Builder clearTraces() { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v1.Traces.Builder getTracesBuilder() { @@ -787,10 +807,12 @@ public com.google.devtools.cloudtrace.v1.Traces.Builder getTracesBuilder() { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v1.TracesOrBuilder getTracesOrBuilder() { if (tracesBuilder_ != null) { @@ -805,10 +827,12 @@ public com.google.devtools.cloudtrace.v1.TracesOrBuilder getTracesOrBuilder() { * * *
-     * The body of the message.
+     * Required. The body of the message.
      * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.devtools.cloudtrace.v1.Traces, diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequestOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequestOrBuilder.java index 0a2f2c4c..be4ee0bd 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequestOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequestOrBuilder.java @@ -27,20 +27,20 @@ public interface PatchTracesRequestOrBuilder * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getProjectId(); /** * * *
-   * ID of the Cloud project where the trace data is stored.
+   * Required. ID of the Cloud project where the trace data is stored.
    * 
* - * string project_id = 1; + * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.ByteString getProjectIdBytes(); @@ -48,30 +48,36 @@ public interface PatchTracesRequestOrBuilder * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ boolean hasTraces(); /** * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.devtools.cloudtrace.v1.Traces getTraces(); /** * * *
-   * The body of the message.
+   * Required. The body of the message.
    * 
* - * .google.devtools.cloudtrace.v1.Traces traces = 2; + * + * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.devtools.cloudtrace.v1.TracesOrBuilder getTracesOrBuilder(); } diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java index e0bd93aa..756f6e15 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/Trace.java @@ -182,7 +182,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * *
    * Globally unique identifier for the trace. This identifier is a 128-bit
-   * numeric value formatted as a 32-byte hex string.
+   * numeric value formatted as a 32-byte hex string. For example,
+   * `382d4f4c6b7bb2f4a972559d9085001d`.
    * 
* * string trace_id = 2; @@ -203,7 +204,8 @@ public java.lang.String getTraceId() { * *
    * Globally unique identifier for the trace. This identifier is a 128-bit
-   * numeric value formatted as a 32-byte hex string.
+   * numeric value formatted as a 32-byte hex string. For example,
+   * `382d4f4c6b7bb2f4a972559d9085001d`.
    * 
* * string trace_id = 2; @@ -777,7 +779,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * *
      * Globally unique identifier for the trace. This identifier is a 128-bit
-     * numeric value formatted as a 32-byte hex string.
+     * numeric value formatted as a 32-byte hex string. For example,
+     * `382d4f4c6b7bb2f4a972559d9085001d`.
      * 
* * string trace_id = 2; @@ -798,7 +801,8 @@ public java.lang.String getTraceId() { * *
      * Globally unique identifier for the trace. This identifier is a 128-bit
-     * numeric value formatted as a 32-byte hex string.
+     * numeric value formatted as a 32-byte hex string. For example,
+     * `382d4f4c6b7bb2f4a972559d9085001d`.
      * 
* * string trace_id = 2; @@ -819,7 +823,8 @@ public com.google.protobuf.ByteString getTraceIdBytes() { * *
      * Globally unique identifier for the trace. This identifier is a 128-bit
-     * numeric value formatted as a 32-byte hex string.
+     * numeric value formatted as a 32-byte hex string. For example,
+     * `382d4f4c6b7bb2f4a972559d9085001d`.
      * 
* * string trace_id = 2; @@ -838,7 +843,8 @@ public Builder setTraceId(java.lang.String value) { * *
      * Globally unique identifier for the trace. This identifier is a 128-bit
-     * numeric value formatted as a 32-byte hex string.
+     * numeric value formatted as a 32-byte hex string. For example,
+     * `382d4f4c6b7bb2f4a972559d9085001d`.
      * 
* * string trace_id = 2; @@ -854,7 +860,8 @@ public Builder clearTraceId() { * *
      * Globally unique identifier for the trace. This identifier is a 128-bit
-     * numeric value formatted as a 32-byte hex string.
+     * numeric value formatted as a 32-byte hex string. For example,
+     * `382d4f4c6b7bb2f4a972559d9085001d`.
      * 
* * string trace_id = 2; diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceOrBuilder.java index 9462143b..7ff7609e 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceOrBuilder.java @@ -49,7 +49,8 @@ public interface TraceOrBuilder * *
    * Globally unique identifier for the trace. This identifier is a 128-bit
-   * numeric value formatted as a 32-byte hex string.
+   * numeric value formatted as a 32-byte hex string. For example,
+   * `382d4f4c6b7bb2f4a972559d9085001d`.
    * 
* * string trace_id = 2; @@ -60,7 +61,8 @@ public interface TraceOrBuilder * *
    * Globally unique identifier for the trace. This identifier is a 128-bit
-   * numeric value formatted as a 32-byte hex string.
+   * numeric value formatted as a 32-byte hex string. For example,
+   * `382d4f4c6b7bb2f4a972559d9085001d`.
    * 
* * string trace_id = 2; diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java index 798a540d..86bcdf44 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceProto.java @@ -70,55 +70,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n)google/devtools/cloudtrace/v1/trace.pr" + "oto\022\035google.devtools.cloudtrace.v1\032\034goog" - + "le/api/annotations.proto\032\033google/protobu" - + "f/empty.proto\032\037google/protobuf/timestamp" - + ".proto\"f\n\005Trace\022\022\n\nproject_id\030\001 \001(\t\022\020\n\010t" - + "race_id\030\002 \001(\t\0227\n\005spans\030\003 \003(\0132(.google.de" - + "vtools.cloudtrace.v1.TraceSpan\">\n\006Traces" - + "\0224\n\006traces\030\001 \003(\0132$.google.devtools.cloud" - + "trace.v1.Trace\"\235\003\n\tTraceSpan\022\017\n\007span_id\030" - + "\001 \001(\006\022?\n\004kind\030\002 \001(\01621.google.devtools.cl" - + "oudtrace.v1.TraceSpan.SpanKind\022\014\n\004name\030\003" - + " \001(\t\022.\n\nstart_time\030\004 \001(\0132\032.google.protob" - + "uf.Timestamp\022,\n\010end_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022\026\n\016parent_span_id\030\006 \001" - + "(\006\022D\n\006labels\030\007 \003(\01324.google.devtools.clo" - + "udtrace.v1.TraceSpan.LabelsEntry\032-\n\013Labe" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "E\n\010SpanKind\022\031\n\025SPAN_KIND_UNSPECIFIED\020\000\022\016" - + "\n\nRPC_SERVER\020\001\022\016\n\nRPC_CLIENT\020\002\"\347\002\n\021ListT" - + "racesRequest\022\022\n\nproject_id\030\001 \001(\t\022G\n\004view" - + "\030\002 \001(\01629.google.devtools.cloudtrace.v1.L" - + "istTracesRequest.ViewType\022\021\n\tpage_size\030\003" - + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022.\n\nstart_time\030\005" - + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_" - + "time\030\006 \001(\0132\032.google.protobuf.Timestamp\022\016" - + "\n\006filter\030\007 \001(\t\022\020\n\010order_by\030\010 \001(\t\"N\n\010View" - + "Type\022\031\n\025VIEW_TYPE_UNSPECIFIED\020\000\022\013\n\007MINIM" - + "AL\020\001\022\014\n\010ROOTSPAN\020\002\022\014\n\010COMPLETE\020\003\"c\n\022List" - + "TracesResponse\0224\n\006traces\030\001 \003(\0132$.google." - + "devtools.cloudtrace.v1.Trace\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"7\n\017GetTraceRequest\022\022\n\nproj" - + "ect_id\030\001 \001(\t\022\020\n\010trace_id\030\002 \001(\t\"_\n\022PatchT" - + "racesRequest\022\022\n\nproject_id\030\001 \001(\t\0225\n\006trac" - + "es\030\002 \001(\0132%.google.devtools.cloudtrace.v1" - + ".Traces2\321\003\n\014TraceService\022\233\001\n\nListTraces\022" - + "0.google.devtools.cloudtrace.v1.ListTrac" - + "esRequest\0321.google.devtools.cloudtrace.v" - + "1.ListTracesResponse\"(\202\323\344\223\002\"\022 /v1/projec" - + "ts/{project_id}/traces\022\225\001\n\010GetTrace\022..go" - + "ogle.devtools.cloudtrace.v1.GetTraceRequ" - + "est\032$.google.devtools.cloudtrace.v1.Trac" - + "e\"3\202\323\344\223\002-\022+/v1/projects/{project_id}/tra" - + "ces/{trace_id}\022\212\001\n\013PatchTraces\0221.google." - + "devtools.cloudtrace.v1.PatchTracesReques" - + "t\032\026.google.protobuf.Empty\"0\202\323\344\223\002*2 /v1/p" - + "rojects/{project_id}/traces:\006tracesB\252\001\n!" - + "com.google.devtools.cloudtrace.v1B\nTrace" - + "ProtoP\001ZGgoogle.golang.org/genproto/goog" - + "leapis/devtools/cloudtrace/v1;cloudtrace" - + "\252\002\025Google.Cloud.Trace.V1\312\002\025Google\\Cloud\\" - + "Trace\\V1b\006proto3" + + "le/api/annotations.proto\032\027google/api/cli" + + "ent.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\033google/pr" + + "otobuf/empty.proto\032\037google/protobuf/time" + + "stamp.proto\"f\n\005Trace\022\022\n\nproject_id\030\001 \001(\t" + + "\022\020\n\010trace_id\030\002 \001(\t\0227\n\005spans\030\003 \003(\0132(.goog" + + "le.devtools.cloudtrace.v1.TraceSpan\">\n\006T" + + "races\0224\n\006traces\030\001 \003(\0132$.google.devtools." + + "cloudtrace.v1.Trace\"\242\003\n\tTraceSpan\022\017\n\007spa" + + "n_id\030\001 \001(\006\022?\n\004kind\030\002 \001(\01621.google.devtoo" + + "ls.cloudtrace.v1.TraceSpan.SpanKind\022\014\n\004n" + + "ame\030\003 \001(\t\022.\n\nstart_time\030\004 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\005 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\033\n\016parent_span_i" + + "d\030\006 \001(\006B\003\340A\001\022D\n\006labels\030\007 \003(\01324.google.de" + + "vtools.cloudtrace.v1.TraceSpan.LabelsEnt" + + "ry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"E\n\010SpanKind\022\031\n\025SPAN_KIND_UNSPE" + + "CIFIED\020\000\022\016\n\nRPC_SERVER\020\001\022\016\n\nRPC_CLIENT\020\002" + + "\"\200\003\n\021ListTracesRequest\022\027\n\nproject_id\030\001 \001" + + "(\tB\003\340A\002\022L\n\004view\030\002 \001(\01629.google.devtools." + + "cloudtrace.v1.ListTracesRequest.ViewType" + + "B\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\022\n\npage_to" + + "ken\030\004 \001(\t\022.\n\nstart_time\030\005 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\023\n\006filter\030\007 \001(\tB" + + "\003\340A\001\022\025\n\010order_by\030\010 \001(\tB\003\340A\001\"N\n\010ViewType\022" + + "\031\n\025VIEW_TYPE_UNSPECIFIED\020\000\022\013\n\007MINIMAL\020\001\022" + + "\014\n\010ROOTSPAN\020\002\022\014\n\010COMPLETE\020\003\"c\n\022ListTrace" + + "sResponse\0224\n\006traces\030\001 \003(\0132$.google.devto" + + "ols.cloudtrace.v1.Trace\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"A\n\017GetTraceRequest\022\027\n\nproject_i" + + "d\030\001 \001(\tB\003\340A\002\022\025\n\010trace_id\030\002 \001(\tB\003\340A\002\"i\n\022P" + + "atchTracesRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340" + + "A\002\022:\n\006traces\030\002 \001(\0132%.google.devtools.clo" + + "udtrace.v1.TracesB\003\340A\0022\265\005\n\014TraceService\022" + + "\250\001\n\nListTraces\0220.google.devtools.cloudtr" + + "ace.v1.ListTracesRequest\0321.google.devtoo" + + "ls.cloudtrace.v1.ListTracesResponse\"5\202\323\344" + + "\223\002\"\022 /v1/projects/{project_id}/traces\332A\n" + + "project_id\022\253\001\n\010GetTrace\022..google.devtool" + + "s.cloudtrace.v1.GetTraceRequest\032$.google" + + ".devtools.cloudtrace.v1.Trace\"I\202\323\344\223\002-\022+/" + + "v1/projects/{project_id}/traces/{trace_i" + + "d}\332A\023project_id,trace_id\022\236\001\n\013PatchTraces" + + "\0221.google.devtools.cloudtrace.v1.PatchTr" + + "acesRequest\032\026.google.protobuf.Empty\"D\202\323\344" + + "\223\002*2 /v1/projects/{project_id}/traces:\006t" + + "races\332A\021project_id,traces\032\252\001\312A\031cloudtrac" + + "e.googleapis.com\322A\212\001https://www.googleap" + + "is.com/auth/cloud-platform,https://www.g" + + "oogleapis.com/auth/trace.append,https://" + + "www.googleapis.com/auth/trace.readonlyB\252" + + "\001\n!com.google.devtools.cloudtrace.v1B\nTr" + + "aceProtoP\001ZGgoogle.golang.org/genproto/g" + + "oogleapis/devtools/cloudtrace/v1;cloudtr" + + "ace\252\002\025Google.Cloud.Trace.V1\312\002\025Google\\Clo" + + "ud\\Trace\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -132,6 +141,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, @@ -209,10 +221,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java index e4c68ca7..9e0ec4cf 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpan.java @@ -340,7 +340,7 @@ private SpanKind(int value) { * *
    * Identifier for the span. Must be a 64-bit integer other than 0 and
-   * unique within a trace.
+   * unique within a trace. For example, `2205310701640571284`.
    * 
* * fixed64 span_id = 1; @@ -393,7 +393,7 @@ public com.google.devtools.cloudtrace.v1.TraceSpan.SpanKind getKind() { *
    * Name of the span. Must be less than 128 bytes. The span name is sanitized
    * and displayed in the Stackdriver Trace tool in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * The name may be a method name or some other per-call site name.
    * For the same executable and the same call point, a best practice is
    * to use a consistent name, which makes it easier to correlate
@@ -419,7 +419,7 @@ public java.lang.String getName() {
    * 
    * Name of the span. Must be less than 128 bytes. The span name is sanitized
    * and displayed in the Stackdriver Trace tool in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * The name may be a method name or some other per-call site name.
    * For the same executable and the same call point, a best practice is
    * to use a consistent name, which makes it easier to correlate
@@ -524,10 +524,10 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    *
    *
    * 
-   * ID of the parent span, if any. Optional.
+   * Optional. ID of the parent span, if any.
    * 
* - * fixed64 parent_span_id = 6; + * fixed64 parent_span_id = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public long getParentSpanId() { return parentSpanId_; @@ -1221,7 +1221,7 @@ public Builder mergeFrom( * *
      * Identifier for the span. Must be a 64-bit integer other than 0 and
-     * unique within a trace.
+     * unique within a trace. For example, `2205310701640571284`.
      * 
* * fixed64 span_id = 1; @@ -1234,7 +1234,7 @@ public long getSpanId() { * *
      * Identifier for the span. Must be a 64-bit integer other than 0 and
-     * unique within a trace.
+     * unique within a trace. For example, `2205310701640571284`.
      * 
* * fixed64 span_id = 1; @@ -1250,7 +1250,7 @@ public Builder setSpanId(long value) { * *
      * Identifier for the span. Must be a 64-bit integer other than 0 and
-     * unique within a trace.
+     * unique within a trace. For example, `2205310701640571284`.
      * 
* * fixed64 span_id = 1; @@ -1357,7 +1357,7 @@ public Builder clearKind() { *
      * Name of the span. Must be less than 128 bytes. The span name is sanitized
      * and displayed in the Stackdriver Trace tool in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * The name may be a method name or some other per-call site name.
      * For the same executable and the same call point, a best practice is
      * to use a consistent name, which makes it easier to correlate
@@ -1383,7 +1383,7 @@ public java.lang.String getName() {
      * 
      * Name of the span. Must be less than 128 bytes. The span name is sanitized
      * and displayed in the Stackdriver Trace tool in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * The name may be a method name or some other per-call site name.
      * For the same executable and the same call point, a best practice is
      * to use a consistent name, which makes it easier to correlate
@@ -1409,7 +1409,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Name of the span. Must be less than 128 bytes. The span name is sanitized
      * and displayed in the Stackdriver Trace tool in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * The name may be a method name or some other per-call site name.
      * For the same executable and the same call point, a best practice is
      * to use a consistent name, which makes it easier to correlate
@@ -1433,7 +1433,7 @@ public Builder setName(java.lang.String value) {
      * 
      * Name of the span. Must be less than 128 bytes. The span name is sanitized
      * and displayed in the Stackdriver Trace tool in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * The name may be a method name or some other per-call site name.
      * For the same executable and the same call point, a best practice is
      * to use a consistent name, which makes it easier to correlate
@@ -1454,7 +1454,7 @@ public Builder clearName() {
      * 
      * Name of the span. Must be less than 128 bytes. The span name is sanitized
      * and displayed in the Stackdriver Trace tool in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * The name may be a method name or some other per-call site name.
      * For the same executable and the same call point, a best practice is
      * to use a consistent name, which makes it easier to correlate
@@ -1829,10 +1829,10 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      *
      *
      * 
-     * ID of the parent span, if any. Optional.
+     * Optional. ID of the parent span, if any.
      * 
* - * fixed64 parent_span_id = 6; + * fixed64 parent_span_id = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public long getParentSpanId() { return parentSpanId_; @@ -1841,10 +1841,10 @@ public long getParentSpanId() { * * *
-     * ID of the parent span, if any. Optional.
+     * Optional. ID of the parent span, if any.
      * 
* - * fixed64 parent_span_id = 6; + * fixed64 parent_span_id = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setParentSpanId(long value) { @@ -1856,10 +1856,10 @@ public Builder setParentSpanId(long value) { * * *
-     * ID of the parent span, if any. Optional.
+     * Optional. ID of the parent span, if any.
      * 
* - * fixed64 parent_span_id = 6; + * fixed64 parent_span_id = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearParentSpanId() { diff --git a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpanOrBuilder.java b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpanOrBuilder.java index 6905fcb3..0b502748 100644 --- a/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpanOrBuilder.java +++ b/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/TraceSpanOrBuilder.java @@ -28,7 +28,7 @@ public interface TraceSpanOrBuilder * *
    * Identifier for the span. Must be a 64-bit integer other than 0 and
-   * unique within a trace.
+   * unique within a trace. For example, `2205310701640571284`.
    * 
* * fixed64 span_id = 1; @@ -66,7 +66,7 @@ public interface TraceSpanOrBuilder *
    * Name of the span. Must be less than 128 bytes. The span name is sanitized
    * and displayed in the Stackdriver Trace tool in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * The name may be a method name or some other per-call site name.
    * For the same executable and the same call point, a best practice is
    * to use a consistent name, which makes it easier to correlate
@@ -82,7 +82,7 @@ public interface TraceSpanOrBuilder
    * 
    * Name of the span. Must be less than 128 bytes. The span name is sanitized
    * and displayed in the Stackdriver Trace tool in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * The name may be a method name or some other per-call site name.
    * For the same executable and the same call point, a best practice is
    * to use a consistent name, which makes it easier to correlate
@@ -159,10 +159,10 @@ public interface TraceSpanOrBuilder
    *
    *
    * 
-   * ID of the parent span, if any. Optional.
+   * Optional. ID of the parent span, if any.
    * 
* - * fixed64 parent_span_id = 6; + * fixed64 parent_span_id = 6 [(.google.api.field_behavior) = OPTIONAL]; */ long getParentSpanId(); diff --git a/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto b/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto index 16af3a6e..00cc14db 100644 --- a/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto +++ b/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto @@ -1,4 +1,4 @@ -// Copyright 2017 Google Inc. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,9 @@ syntax = "proto3"; package google.devtools.cloudtrace.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; @@ -33,11 +36,18 @@ option php_namespace = "Google\\Cloud\\Trace\\V1"; // timed event which forms a node of the trace tree. Spans for a single trace // may span multiple services. service TraceService { + option (google.api.default_host) = "cloudtrace.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/trace.append," + "https://www.googleapis.com/auth/trace.readonly"; + // Returns of a list of traces that match the specified filter conditions. rpc ListTraces(ListTracesRequest) returns (ListTracesResponse) { option (google.api.http) = { get: "/v1/projects/{project_id}/traces" }; + option (google.api.method_signature) = "project_id"; } // Gets a single trace by its ID. @@ -45,6 +55,7 @@ service TraceService { option (google.api.http) = { get: "/v1/projects/{project_id}/traces/{trace_id}" }; + option (google.api.method_signature) = "project_id,trace_id"; } // Sends new traces to Stackdriver Trace or updates existing traces. If the ID @@ -57,6 +68,7 @@ service TraceService { patch: "/v1/projects/{project_id}/traces" body: "traces" }; + option (google.api.method_signature) = "project_id,traces"; } } @@ -68,7 +80,8 @@ message Trace { string project_id = 1; // Globally unique identifier for the trace. This identifier is a 128-bit - // numeric value formatted as a 32-byte hex string. + // numeric value formatted as a 32-byte hex string. For example, + // `382d4f4c6b7bb2f4a972559d9085001d`. string trace_id = 2; // Collection of spans in the trace. @@ -103,7 +116,7 @@ message TraceSpan { } // Identifier for the span. Must be a 64-bit integer other than 0 and - // unique within a trace. + // unique within a trace. For example, `2205310701640571284`. fixed64 span_id = 1; // Distinguishes between spans generated in a particular context. For example, @@ -113,7 +126,7 @@ message TraceSpan { // Name of the span. Must be less than 128 bytes. The span name is sanitized // and displayed in the Stackdriver Trace tool in the - // {% dynamic print site_values.console_name %}. + // Google Cloud Platform Console. // The name may be a method name or some other per-call site name. // For the same executable and the same call point, a best practice is // to use a consistent name, which makes it easier to correlate @@ -126,8 +139,8 @@ message TraceSpan { // End time of the span in nanoseconds from the UNIX epoch. google.protobuf.Timestamp end_time = 5; - // ID of the parent span, if any. Optional. - fixed64 parent_span_id = 6; + // Optional. ID of the parent span, if any. + fixed64 parent_span_id = 6 [(google.api.field_behavior) = OPTIONAL]; // Collection of labels associated with the span. Label keys must be less than // 128 bytes. Label values must be less than 16 kilobytes (10MB for @@ -189,20 +202,20 @@ message ListTracesRequest { COMPLETE = 3; } - // ID of the Cloud project where the trace data is stored. - string project_id = 1; + // Required. ID of the Cloud project where the trace data is stored. + string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - // Type of data returned for traces in the list. Optional. Default is + // Optional. Type of data returned for traces in the list. Default is // `MINIMAL`. - ViewType view = 2; + ViewType view = 2 [(google.api.field_behavior) = OPTIONAL]; - // Maximum number of traces to return. If not specified or <= 0, the + // 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. Optional. - int32 page_size = 3; + // return fewer traces than the requested page size. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; // Token identifying the page of results to return. If provided, use the - // value of the `next_page_token` field from a previous request. Optional. + // value of the `next_page_token` field from a previous request. string page_token = 4; // Start of the time interval (inclusive) during which the trace data was @@ -213,7 +226,7 @@ message ListTracesRequest { // collected from the application. google.protobuf.Timestamp end_time = 6; - // An optional filter against labels for the request. + // 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. @@ -243,9 +256,9 @@ message ListTracesRequest { // specified. // * `method:VALUE`: Equivalent to `/http/method:VALUE`. // * `url:VALUE`: Equivalent to `/http/url:VALUE`. - string filter = 7; + string filter = 7 [(google.api.field_behavior) = OPTIONAL]; - // Field used to sort the returned traces. Optional. + // Optional. Field used to sort the returned traces. // Can be one of the following: // // * `trace_id` @@ -258,12 +271,12 @@ message ListTracesRequest { // (for example, `name desc`). // // Only one sort field is permitted. - string order_by = 8; + string order_by = 8 [(google.api.field_behavior) = OPTIONAL]; } // The response message for the `ListTraces` method. message ListTracesResponse { - // List of trace records returned. + // List of trace records as specified by the view parameter. repeated Trace traces = 1; // If defined, indicates that there are more traces that match the request @@ -274,18 +287,18 @@ message ListTracesResponse { // The request message for the `GetTrace` method. message GetTraceRequest { - // ID of the Cloud project where the trace data is stored. - string project_id = 1; + // Required. ID of the Cloud project where the trace data is stored. + string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - // ID of the trace to return. - string trace_id = 2; + // Required. ID of the trace to return. + string trace_id = 2 [(google.api.field_behavior) = REQUIRED]; } // The request message for the `PatchTraces` method. message PatchTracesRequest { - // ID of the Cloud project where the trace data is stored. - string project_id = 1; + // Required. ID of the Cloud project where the trace data is stored. + string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The body of the message. - Traces traces = 2; + // Required. The body of the message. + Traces traces = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java index 64e906b8..5e7cf6b7 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java @@ -132,7 +132,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -153,7 +155,9 @@ public java.lang.String getName() { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -173,11 +177,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getSpansList() { return spans_; @@ -186,11 +192,13 @@ public java.util.List getSpansList() { * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getSpansOrBuilderList() { @@ -200,11 +208,13 @@ public java.util.List getSpansList() { * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getSpansCount() { return spans_.size(); @@ -213,11 +223,13 @@ public int getSpansCount() { * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { return spans_.get(index); @@ -226,11 +238,13 @@ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int index) { return spans_.get(index); @@ -624,7 +638,9 @@ public Builder mergeFrom( * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -645,7 +661,9 @@ public java.lang.String getName() { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -666,7 +684,9 @@ public com.google.protobuf.ByteString getNameBytes() { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -685,7 +705,9 @@ public Builder setName(java.lang.String value) { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -701,7 +723,9 @@ public Builder clearName() { * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -734,11 +758,13 @@ private void ensureSpansIsMutable() { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getSpansList() { if (spansBuilder_ == null) { @@ -751,11 +777,13 @@ public java.util.List getSpansList() { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getSpansCount() { if (spansBuilder_ == null) { @@ -768,11 +796,13 @@ public int getSpansCount() { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { if (spansBuilder_ == null) { @@ -785,11 +815,13 @@ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSpans(int index, com.google.devtools.cloudtrace.v2.Span value) { if (spansBuilder_ == null) { @@ -808,11 +840,13 @@ public Builder setSpans(int index, com.google.devtools.cloudtrace.v2.Span value) * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSpans( int index, com.google.devtools.cloudtrace.v2.Span.Builder builderForValue) { @@ -829,11 +863,13 @@ public Builder setSpans( * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span value) { if (spansBuilder_ == null) { @@ -852,11 +888,13 @@ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span value) { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSpans(int index, com.google.devtools.cloudtrace.v2.Span value) { if (spansBuilder_ == null) { @@ -875,11 +913,13 @@ public Builder addSpans(int index, com.google.devtools.cloudtrace.v2.Span value) * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span.Builder builderForValue) { if (spansBuilder_ == null) { @@ -895,11 +935,13 @@ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span.Builder builderFo * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addSpans( int index, com.google.devtools.cloudtrace.v2.Span.Builder builderForValue) { @@ -916,11 +958,13 @@ public Builder addSpans( * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllSpans( java.lang.Iterable values) { @@ -937,11 +981,13 @@ public Builder addAllSpans( * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSpans() { if (spansBuilder_ == null) { @@ -957,11 +1003,13 @@ public Builder clearSpans() { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeSpans(int index) { if (spansBuilder_ == null) { @@ -977,11 +1025,13 @@ public Builder removeSpans(int index) { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.Span.Builder getSpansBuilder(int index) { return getSpansFieldBuilder().getBuilder(index); @@ -990,11 +1040,13 @@ public com.google.devtools.cloudtrace.v2.Span.Builder getSpansBuilder(int index) * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int index) { if (spansBuilder_ == null) { @@ -1007,11 +1059,13 @@ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int ind * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getSpansOrBuilderList() { @@ -1025,11 +1079,13 @@ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int ind * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder() { return getSpansFieldBuilder() @@ -1039,11 +1095,13 @@ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder() { * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder(int index) { return getSpansFieldBuilder() @@ -1053,11 +1111,13 @@ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder(int index) * * *
-     * A list of new spans. The span names must not match existing
+     * Required. A list of new spans. The span names must not match existing
      * spans, or the results are undefined.
      * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getSpansBuilderList() { return getSpansFieldBuilder().getBuilderList(); diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java index 6ca9c88d..d534959b 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java @@ -31,7 +31,9 @@ public interface BatchWriteSpansRequestOrBuilder * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** @@ -42,7 +44,9 @@ public interface BatchWriteSpansRequestOrBuilder * `projects/[PROJECT_ID]`. *
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); @@ -50,55 +54,65 @@ public interface BatchWriteSpansRequestOrBuilder * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.List getSpansList(); /** * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.devtools.cloudtrace.v2.Span getSpans(int index); /** * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getSpansCount(); /** * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ java.util.List getSpansOrBuilderList(); /** * * *
-   * A list of new spans. The span names must not match existing
+   * Required. A list of new spans. The span names must not match existing
    * spans, or the results are undefined.
    * 
* - * repeated .google.devtools.cloudtrace.v2.Span spans = 2; + * + * repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int index); } diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java index 53a45fe5..db7cc438 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java @@ -294,8 +294,8 @@ public interface AttributesOrBuilder * *
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -311,8 +311,8 @@ public interface AttributesOrBuilder
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -332,8 +332,8 @@ public interface AttributesOrBuilder
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -350,8 +350,8 @@ public interface AttributesOrBuilder
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -368,8 +368,8 @@ com.google.devtools.cloudtrace.v2.AttributeValue getAttributeMapOrDefault(
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -548,8 +548,8 @@ public int getAttributeMapCount() {
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -576,8 +576,8 @@ public boolean containsAttributeMap(java.lang.String key) {
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -596,8 +596,8 @@ public boolean containsAttributeMap(java.lang.String key) {
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -621,8 +621,8 @@ public com.google.devtools.cloudtrace.v2.AttributeValue getAttributeMapOrDefault
      *
      * 
      * The set of attributes. Each attribute's key can be up to 128 bytes
-     * long. The value can be a string up to 256 bytes, an integer, or the
-     * Boolean values `true` and `false`. For example:
+     * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+     * or the Boolean values `true` and `false`. For example:
      *     "/instance_id": "my-instance"
      *     "/http/user_agent": ""
      *     "/http/request_bytes": 300
@@ -1068,8 +1068,8 @@ public int getAttributeMapCount() {
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1096,8 +1096,8 @@ public boolean containsAttributeMap(java.lang.String key) {
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1116,8 +1116,8 @@ public boolean containsAttributeMap(java.lang.String key) {
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1141,8 +1141,8 @@ public com.google.devtools.cloudtrace.v2.AttributeValue getAttributeMapOrDefault
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1174,8 +1174,8 @@ public Builder clearAttributeMap() {
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1203,8 +1203,8 @@ public Builder removeAttributeMap(java.lang.String key) {
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -1230,8 +1230,8 @@ public Builder putAttributeMap(
        *
        * 
        * The set of attributes. Each attribute's key can be up to 128 bytes
-       * long. The value can be a string up to 256 bytes, an integer, or the
-       * Boolean values `true` and `false`. For example:
+       * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
+       * or the Boolean values `true` and `false`. For example:
        *     "/instance_id": "my-instance"
        *     "/http/user_agent": ""
        *     "/http/request_bytes": 300
@@ -8802,7 +8802,7 @@ public com.google.protobuf.ByteString getParentSpanIdBytes() {
    * 
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -8820,7 +8820,7 @@ public boolean hasDisplayName() {
    * 
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -8840,7 +8840,7 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getDisplayName() {
    * 
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -9119,10 +9119,10 @@ public com.google.devtools.cloudtrace.v2.Span.LinksOrBuilder getLinksOrBuilder()
    *
    *
    * 
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public boolean hasStatus() { return status_ != null; @@ -9131,10 +9131,10 @@ public boolean hasStatus() { * * *
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; @@ -9143,10 +9143,10 @@ public com.google.rpc.Status getStatus() { * * *
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { return getStatus(); @@ -9158,13 +9158,15 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public boolean hasSameProcessAsParentSpan() { return sameProcessAsParentSpan_ != null; @@ -9173,13 +9175,15 @@ public boolean hasSameProcessAsParentSpan() { * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { return sameProcessAsParentSpan_ == null @@ -9190,13 +9194,15 @@ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilder() { return getSameProcessAsParentSpan(); @@ -9208,11 +9214,13 @@ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilde * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public boolean hasChildSpanCount() { return childSpanCount_ != null; @@ -9221,11 +9229,13 @@ public boolean hasChildSpanCount() { * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int32Value getChildSpanCount() { return childSpanCount_ == null @@ -9236,11 +9246,13 @@ public com.google.protobuf.Int32Value getChildSpanCount() { * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder() { return getChildSpanCount(); @@ -10204,7 +10216,7 @@ public Builder setParentSpanIdBytes(com.google.protobuf.ByteString value) { *
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10222,7 +10234,7 @@ public boolean hasDisplayName() {
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10246,7 +10258,7 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getDisplayName() {
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10274,7 +10286,7 @@ public Builder setDisplayName(com.google.devtools.cloudtrace.v2.TruncatableStrin
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10300,7 +10312,7 @@ public Builder setDisplayName(
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10332,7 +10344,7 @@ public Builder mergeDisplayName(com.google.devtools.cloudtrace.v2.TruncatableStr
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10358,7 +10370,7 @@ public Builder clearDisplayName() {
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10378,7 +10390,7 @@ public com.google.devtools.cloudtrace.v2.TruncatableString.Builder getDisplayNam
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -10402,7 +10414,7 @@ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getDisplayNa
      * 
      * A description of the span's operation (up to 128 bytes).
      * Stackdriver Trace displays the description in the
-     * {% dynamic print site_values.console_name %}.
+     * Google Cloud Platform Console.
      * For example, the display name can be a qualified method name or a file name
      * and a line number where the operation is called. A best practice is to use
      * the same display name within an application and at the same call point.
@@ -11567,10 +11579,10 @@ public com.google.devtools.cloudtrace.v2.Span.LinksOrBuilder getLinksOrBuilder()
      *
      *
      * 
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; @@ -11579,10 +11591,10 @@ public boolean hasStatus() { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.rpc.Status getStatus() { if (statusBuilder_ == null) { @@ -11595,10 +11607,10 @@ public com.google.rpc.Status getStatus() { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -11617,10 +11629,10 @@ public Builder setStatus(com.google.rpc.Status value) { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { @@ -11636,10 +11648,10 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { @@ -11659,10 +11671,10 @@ public Builder mergeStatus(com.google.rpc.Status value) { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearStatus() { if (statusBuilder_ == null) { @@ -11679,10 +11691,10 @@ public Builder clearStatus() { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.rpc.Status.Builder getStatusBuilder() { @@ -11693,10 +11705,10 @@ public com.google.rpc.Status.Builder getStatusBuilder() { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { @@ -11709,10 +11721,10 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * * *
-     * An optional final status for this span.
+     * Optional. The final status for this span.
      * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> @@ -11738,13 +11750,15 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public boolean hasSameProcessAsParentSpan() { return sameProcessAsParentSpanBuilder_ != null || sameProcessAsParentSpan_ != null; @@ -11753,13 +11767,15 @@ public boolean hasSameProcessAsParentSpan() { * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { if (sameProcessAsParentSpanBuilder_ == null) { @@ -11774,13 +11790,15 @@ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSameProcessAsParentSpan(com.google.protobuf.BoolValue value) { if (sameProcessAsParentSpanBuilder_ == null) { @@ -11799,13 +11817,15 @@ public Builder setSameProcessAsParentSpan(com.google.protobuf.BoolValue value) { * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSameProcessAsParentSpan( com.google.protobuf.BoolValue.Builder builderForValue) { @@ -11822,13 +11842,15 @@ public Builder setSameProcessAsParentSpan( * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSameProcessAsParentSpan(com.google.protobuf.BoolValue value) { if (sameProcessAsParentSpanBuilder_ == null) { @@ -11851,13 +11873,15 @@ public Builder mergeSameProcessAsParentSpan(com.google.protobuf.BoolValue value) * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSameProcessAsParentSpan() { if (sameProcessAsParentSpanBuilder_ == null) { @@ -11874,13 +11898,15 @@ public Builder clearSameProcessAsParentSpan() { * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.BoolValue.Builder getSameProcessAsParentSpanBuilder() { @@ -11891,13 +11917,15 @@ public com.google.protobuf.BoolValue.Builder getSameProcessAsParentSpanBuilder() * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilder() { if (sameProcessAsParentSpanBuilder_ != null) { @@ -11912,13 +11940,15 @@ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilde * * *
-     * (Optional) Set this parameter to indicate whether this span is in
+     * Optional. Set this parameter to indicate whether this span is in
      * the same process as its parent. If you do not set this parameter,
      * Stackdriver Trace is unable to take advantage of this helpful
      * information.
      * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, @@ -11947,11 +11977,13 @@ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilde * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public boolean hasChildSpanCount() { return childSpanCountBuilder_ != null || childSpanCount_ != null; @@ -11960,11 +11992,13 @@ public boolean hasChildSpanCount() { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int32Value getChildSpanCount() { if (childSpanCountBuilder_ == null) { @@ -11979,11 +12013,13 @@ public com.google.protobuf.Int32Value getChildSpanCount() { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setChildSpanCount(com.google.protobuf.Int32Value value) { if (childSpanCountBuilder_ == null) { @@ -12002,11 +12038,13 @@ public Builder setChildSpanCount(com.google.protobuf.Int32Value value) { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setChildSpanCount(com.google.protobuf.Int32Value.Builder builderForValue) { if (childSpanCountBuilder_ == null) { @@ -12022,11 +12060,13 @@ public Builder setChildSpanCount(com.google.protobuf.Int32Value.Builder builderF * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeChildSpanCount(com.google.protobuf.Int32Value value) { if (childSpanCountBuilder_ == null) { @@ -12049,11 +12089,13 @@ public Builder mergeChildSpanCount(com.google.protobuf.Int32Value value) { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearChildSpanCount() { if (childSpanCountBuilder_ == null) { @@ -12070,11 +12112,13 @@ public Builder clearChildSpanCount() { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int32Value.Builder getChildSpanCountBuilder() { @@ -12085,11 +12129,13 @@ public com.google.protobuf.Int32Value.Builder getChildSpanCountBuilder() { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder() { if (childSpanCountBuilder_ != null) { @@ -12104,11 +12150,13 @@ public com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder() { * * *
-     * An optional number of child spans that were generated while this span
+     * Optional. The number of child spans that were generated while this span
      * was active. If set, allows implementation to detect missing child spans.
      * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java index 11472811..5003648b 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java @@ -104,7 +104,7 @@ public interface SpanOrBuilder *
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -120,7 +120,7 @@ public interface SpanOrBuilder
    * 
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -136,7 +136,7 @@ public interface SpanOrBuilder
    * 
    * A description of the span's operation (up to 128 bytes).
    * Stackdriver Trace displays the description in the
-   * {% dynamic print site_values.console_name %}.
+   * Google Cloud Platform Console.
    * For example, the display name can be a qualified method name or a file name
    * and a line number where the operation is called. A best practice is to use
    * the same display name within an application and at the same call point.
@@ -355,30 +355,30 @@ public interface SpanOrBuilder
    *
    *
    * 
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ boolean hasStatus(); /** * * *
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.rpc.Status getStatus(); /** * * *
-   * An optional final status for this span.
+   * Optional. The final status for this span.
    * 
* - * .google.rpc.Status status = 11; + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.rpc.StatusOrBuilder getStatusOrBuilder(); @@ -386,39 +386,45 @@ public interface SpanOrBuilder * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean hasSameProcessAsParentSpan(); /** * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.BoolValue getSameProcessAsParentSpan(); /** * * *
-   * (Optional) Set this parameter to indicate whether this span is in
+   * Optional. Set this parameter to indicate whether this span is in
    * the same process as its parent. If you do not set this parameter,
    * Stackdriver Trace is unable to take advantage of this helpful
    * information.
    * 
* - * .google.protobuf.BoolValue same_process_as_parent_span = 12; + * + * .google.protobuf.BoolValue same_process_as_parent_span = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilder(); @@ -426,33 +432,39 @@ public interface SpanOrBuilder * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean hasChildSpanCount(); /** * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.Int32Value getChildSpanCount(); /** * * *
-   * An optional number of child spans that were generated while this span
+   * Optional. The number of child spans that were generated while this span
    * was active. If set, allows implementation to detect missing child spans.
    * 
* - * .google.protobuf.Int32Value child_span_count = 13; + * + * .google.protobuf.Int32Value child_span_count = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder(); } diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java index fbb5c4b0..71901f0d 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceProto.java @@ -98,89 +98,91 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n)google/devtools/cloudtrace/v2/trace.pr" + "oto\022\035google.devtools.cloudtrace.v2\032\034goog" - + "le/api/annotations.proto\032\037google/protobu" - + "f/timestamp.proto\032\036google/protobuf/wrapp" - + "ers.proto\032\027google/rpc/status.proto\"\305\017\n\004S" - + "pan\022\014\n\004name\030\001 \001(\t\022\017\n\007span_id\030\002 \001(\t\022\026\n\016pa" - + "rent_span_id\030\003 \001(\t\022F\n\014display_name\030\004 \001(\013" - + "20.google.devtools.cloudtrace.v2.Truncat" - + "ableString\022.\n\nstart_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022B\n\nattributes\030\007" - + " \001(\0132..google.devtools.cloudtrace.v2.Spa" - + "n.Attributes\022>\n\013stack_trace\030\010 \001(\0132).goog" - + "le.devtools.cloudtrace.v2.StackTrace\022C\n\013" - + "time_events\030\t \001(\0132..google.devtools.clou" - + "dtrace.v2.Span.TimeEvents\0228\n\005links\030\n \001(\013" - + "2).google.devtools.cloudtrace.v2.Span.Li" - + "nks\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" - + "?\n\033same_process_as_parent_span\030\014 \001(\0132\032.g" - + "oogle.protobuf.BoolValue\0225\n\020child_span_c" - + "ount\030\r \001(\0132\033.google.protobuf.Int32Value\032" - + "\353\001\n\nAttributes\022W\n\rattribute_map\030\001 \003(\0132@." - + "google.devtools.cloudtrace.v2.Span.Attri" - + "butes.AttributeMapEntry\022 \n\030dropped_attri" - + "butes_count\030\002 \001(\005\032b\n\021AttributeMapEntry\022\013" - + "\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.devt" - + "ools.cloudtrace.v2.AttributeValue:\0028\001\032\337\004" - + "\n\tTimeEvent\022(\n\004time\030\001 \001(\0132\032.google.proto" - + "buf.Timestamp\022N\n\nannotation\030\002 \001(\01328.goog" - + "le.devtools.cloudtrace.v2.Span.TimeEvent" - + ".AnnotationH\000\022S\n\rmessage_event\030\003 \001(\0132:.g" - + "oogle.devtools.cloudtrace.v2.Span.TimeEv" - + "ent.MessageEventH\000\032\227\001\n\nAnnotation\022E\n\013des" - + "cription\030\001 \001(\01320.google.devtools.cloudtr" - + "ace.v2.TruncatableString\022B\n\nattributes\030\002" - + " \001(\0132..google.devtools.cloudtrace.v2.Spa" - + "n.Attributes\032\337\001\n\014MessageEvent\022M\n\004type\030\001 " - + "\001(\0162?.google.devtools.cloudtrace.v2.Span" - + ".TimeEvent.MessageEvent.Type\022\n\n\002id\030\002 \001(\003" - + "\022\037\n\027uncompressed_size_bytes\030\003 \001(\003\022\035\n\025com" - + "pressed_size_bytes\030\004 \001(\003\"4\n\004Type\022\024\n\020TYPE" - + "_UNSPECIFIED\020\000\022\010\n\004SENT\020\001\022\014\n\010RECEIVED\020\002B\007" - + "\n\005value\032\230\001\n\nTimeEvents\022A\n\ntime_event\030\001 \003" - + "(\0132-.google.devtools.cloudtrace.v2.Span." - + "TimeEvent\022!\n\031dropped_annotations_count\030\002" - + " \001(\005\022$\n\034dropped_message_events_count\030\003 \001" - + "(\005\032\367\001\n\004Link\022\020\n\010trace_id\030\001 \001(\t\022\017\n\007span_id" - + "\030\002 \001(\t\022;\n\004type\030\003 \001(\0162-.google.devtools.c" - + "loudtrace.v2.Span.Link.Type\022B\n\nattribute" - + "s\030\004 \001(\0132..google.devtools.cloudtrace.v2." - + "Span.Attributes\"K\n\004Type\022\024\n\020TYPE_UNSPECIF" - + "IED\020\000\022\025\n\021CHILD_LINKED_SPAN\020\001\022\026\n\022PARENT_L" - + "INKED_SPAN\020\002\032\\\n\005Links\0226\n\004link\030\001 \003(\0132(.go" - + "ogle.devtools.cloudtrace.v2.Span.Link\022\033\n" - + "\023dropped_links_count\030\002 \001(\005\"\216\001\n\016Attribute" - + "Value\022H\n\014string_value\030\001 \001(\01320.google.dev" - + "tools.cloudtrace.v2.TruncatableStringH\000\022" - + "\023\n\tint_value\030\002 \001(\003H\000\022\024\n\nbool_value\030\003 \001(\010" - + "H\000B\007\n\005value\"\211\005\n\nStackTrace\022K\n\014stack_fram" - + "es\030\001 \001(\01325.google.devtools.cloudtrace.v2" - + ".StackTrace.StackFrames\022\033\n\023stack_trace_h" - + "ash_id\030\002 \001(\003\032\236\003\n\nStackFrame\022G\n\rfunction_" - + "name\030\001 \001(\01320.google.devtools.cloudtrace." - + "v2.TruncatableString\022P\n\026original_functio" - + "n_name\030\002 \001(\01320.google.devtools.cloudtrac" - + "e.v2.TruncatableString\022C\n\tfile_name\030\003 \001(" - + "\01320.google.devtools.cloudtrace.v2.Trunca" - + "tableString\022\023\n\013line_number\030\004 \001(\003\022\025\n\rcolu" - + "mn_number\030\005 \001(\003\022:\n\013load_module\030\006 \001(\0132%.g" - + "oogle.devtools.cloudtrace.v2.Module\022H\n\016s" - + "ource_version\030\007 \001(\01320.google.devtools.cl" - + "oudtrace.v2.TruncatableString\032p\n\013StackFr" - + "ames\022C\n\005frame\030\001 \003(\01324.google.devtools.cl" - + "oudtrace.v2.StackTrace.StackFrame\022\034\n\024dro" - + "pped_frames_count\030\002 \001(\005\"\216\001\n\006Module\022@\n\006mo" - + "dule\030\001 \001(\01320.google.devtools.cloudtrace." - + "v2.TruncatableString\022B\n\010build_id\030\002 \001(\01320" - + ".google.devtools.cloudtrace.v2.Truncatab" - + "leString\"@\n\021TruncatableString\022\r\n\005value\030\001" - + " \001(\t\022\034\n\024truncated_byte_count\030\002 \001(\005B\252\001\n!c" - + "om.google.devtools.cloudtrace.v2B\nTraceP" - + "rotoP\001ZGgoogle.golang.org/genproto/googl" - + "eapis/devtools/cloudtrace/v2;cloudtrace\252" - + "\002\025Google.Cloud.Trace.V2\312\002\025Google\\Cloud\\T" - + "race\\V2b\006proto3" + + "le/api/annotations.proto\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\037google/protobuf/timestamp.proto\032\036g" + + "oogle/protobuf/wrappers.proto\032\027google/rp" + + "c/status.proto\"\324\017\n\004Span\022\014\n\004name\030\001 \001(\t\022\017\n" + + "\007span_id\030\002 \001(\t\022\026\n\016parent_span_id\030\003 \001(\t\022F" + + "\n\014display_name\030\004 \001(\01320.google.devtools.c" + + "loudtrace.v2.TruncatableString\022.\n\nstart_" + + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022," + + "\n\010end_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tamp\022B\n\nattributes\030\007 \001(\0132..google.devtoo" + + "ls.cloudtrace.v2.Span.Attributes\022>\n\013stac" + + "k_trace\030\010 \001(\0132).google.devtools.cloudtra" + + "ce.v2.StackTrace\022C\n\013time_events\030\t \001(\0132.." + + "google.devtools.cloudtrace.v2.Span.TimeE" + + "vents\0228\n\005links\030\n \001(\0132).google.devtools.c" + + "loudtrace.v2.Span.Links\022\'\n\006status\030\013 \001(\0132" + + "\022.google.rpc.StatusB\003\340A\001\022D\n\033same_process" + + "_as_parent_span\030\014 \001(\0132\032.google.protobuf." + + "BoolValueB\003\340A\001\022:\n\020child_span_count\030\r \001(\013" + + "2\033.google.protobuf.Int32ValueB\003\340A\001\032\353\001\n\nA" + + "ttributes\022W\n\rattribute_map\030\001 \003(\0132@.googl" + + "e.devtools.cloudtrace.v2.Span.Attributes" + + ".AttributeMapEntry\022 \n\030dropped_attributes" + + "_count\030\002 \001(\005\032b\n\021AttributeMapEntry\022\013\n\003key" + + "\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.devtools." + + "cloudtrace.v2.AttributeValue:\0028\001\032\337\004\n\tTim" + + "eEvent\022(\n\004time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\022N\n\nannotation\030\002 \001(\01328.google.de" + + "vtools.cloudtrace.v2.Span.TimeEvent.Anno" + + "tationH\000\022S\n\rmessage_event\030\003 \001(\0132:.google" + + ".devtools.cloudtrace.v2.Span.TimeEvent.M" + + "essageEventH\000\032\227\001\n\nAnnotation\022E\n\013descript" + + "ion\030\001 \001(\01320.google.devtools.cloudtrace.v" + + "2.TruncatableString\022B\n\nattributes\030\002 \001(\0132" + + "..google.devtools.cloudtrace.v2.Span.Att" + + "ributes\032\337\001\n\014MessageEvent\022M\n\004type\030\001 \001(\0162?" + + ".google.devtools.cloudtrace.v2.Span.Time" + + "Event.MessageEvent.Type\022\n\n\002id\030\002 \001(\003\022\037\n\027u" + + "ncompressed_size_bytes\030\003 \001(\003\022\035\n\025compress" + + "ed_size_bytes\030\004 \001(\003\"4\n\004Type\022\024\n\020TYPE_UNSP" + + "ECIFIED\020\000\022\010\n\004SENT\020\001\022\014\n\010RECEIVED\020\002B\007\n\005val" + + "ue\032\230\001\n\nTimeEvents\022A\n\ntime_event\030\001 \003(\0132-." + + "google.devtools.cloudtrace.v2.Span.TimeE" + + "vent\022!\n\031dropped_annotations_count\030\002 \001(\005\022" + + "$\n\034dropped_message_events_count\030\003 \001(\005\032\367\001" + + "\n\004Link\022\020\n\010trace_id\030\001 \001(\t\022\017\n\007span_id\030\002 \001(" + + "\t\022;\n\004type\030\003 \001(\0162-.google.devtools.cloudt" + + "race.v2.Span.Link.Type\022B\n\nattributes\030\004 \001" + + "(\0132..google.devtools.cloudtrace.v2.Span." + + "Attributes\"K\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000" + + "\022\025\n\021CHILD_LINKED_SPAN\020\001\022\026\n\022PARENT_LINKED" + + "_SPAN\020\002\032\\\n\005Links\0226\n\004link\030\001 \003(\0132(.google." + + "devtools.cloudtrace.v2.Span.Link\022\033\n\023drop" + + "ped_links_count\030\002 \001(\005\"\216\001\n\016AttributeValue" + + "\022H\n\014string_value\030\001 \001(\01320.google.devtools" + + ".cloudtrace.v2.TruncatableStringH\000\022\023\n\tin" + + "t_value\030\002 \001(\003H\000\022\024\n\nbool_value\030\003 \001(\010H\000B\007\n" + + "\005value\"\211\005\n\nStackTrace\022K\n\014stack_frames\030\001 " + + "\001(\01325.google.devtools.cloudtrace.v2.Stac" + + "kTrace.StackFrames\022\033\n\023stack_trace_hash_i" + + "d\030\002 \001(\003\032\236\003\n\nStackFrame\022G\n\rfunction_name\030" + + "\001 \001(\01320.google.devtools.cloudtrace.v2.Tr" + + "uncatableString\022P\n\026original_function_nam" + + "e\030\002 \001(\01320.google.devtools.cloudtrace.v2." + + "TruncatableString\022C\n\tfile_name\030\003 \001(\01320.g" + + "oogle.devtools.cloudtrace.v2.Truncatable" + + "String\022\023\n\013line_number\030\004 \001(\003\022\025\n\rcolumn_nu" + + "mber\030\005 \001(\003\022:\n\013load_module\030\006 \001(\0132%.google" + + ".devtools.cloudtrace.v2.Module\022H\n\016source" + + "_version\030\007 \001(\01320.google.devtools.cloudtr" + + "ace.v2.TruncatableString\032p\n\013StackFrames\022" + + "C\n\005frame\030\001 \003(\01324.google.devtools.cloudtr" + + "ace.v2.StackTrace.StackFrame\022\034\n\024dropped_" + + "frames_count\030\002 \001(\005\"\216\001\n\006Module\022@\n\006module\030" + + "\001 \001(\01320.google.devtools.cloudtrace.v2.Tr" + + "uncatableString\022B\n\010build_id\030\002 \001(\01320.goog" + + "le.devtools.cloudtrace.v2.TruncatableStr" + + "ing\"@\n\021TruncatableString\022\r\n\005value\030\001 \001(\t\022" + + "\034\n\024truncated_byte_count\030\002 \001(\005B\252\001\n!com.go" + + "ogle.devtools.cloudtrace.v2B\nTraceProtoP" + + "\001ZGgoogle.golang.org/genproto/googleapis" + + "/devtools/cloudtrace/v2;cloudtrace\252\002\025Goo" + + "gle.Cloud.Trace.V2\312\002\025Google\\Cloud\\Trace\\" + + "V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -194,6 +196,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), @@ -343,7 +347,14 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Value", "TruncatedByteCount", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); diff --git a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java index b049fbd9..25aa0855 100644 --- a/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java +++ b/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TracingProto.java @@ -42,24 +42,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/devtools/cloudtrace/v2/tracing." + "proto\022\035google.devtools.cloudtrace.v2\032\034go" - + "ogle/api/annotations.proto\032)google/devto" - + "ols/cloudtrace/v2/trace.proto\032\033google/pr" - + "otobuf/empty.proto\032\037google/protobuf/time" - + "stamp.proto\"Z\n\026BatchWriteSpansRequest\022\014\n" - + "\004name\030\001 \001(\t\0222\n\005spans\030\002 \003(\0132#.google.devt" - + "ools.cloudtrace.v2.Span2\257\002\n\014TraceService" - + "\022\224\001\n\017BatchWriteSpans\0225.google.devtools.c" - + "loudtrace.v2.BatchWriteSpansRequest\032\026.go" - + "ogle.protobuf.Empty\"2\202\323\344\223\002,\"\'/v2/{name=p" - + "rojects/*}/traces:batchWrite:\001*\022\207\001\n\nCrea" - + "teSpan\022#.google.devtools.cloudtrace.v2.S" - + "pan\032#.google.devtools.cloudtrace.v2.Span" - + "\"/\202\323\344\223\002)\"$/v2/{name=projects/*/traces/*}" - + "/spans:\001*B\254\001\n!com.google.devtools.cloudt" - + "race.v2B\014TracingProtoP\001ZGgoogle.golang.o" - + "rg/genproto/googleapis/devtools/cloudtra" - + "ce/v2;cloudtrace\252\002\025Google.Cloud.Trace.V2" - + "\312\002\025Google\\Cloud\\Trace\\V2b\006proto3" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032)google/" + + "devtools/cloudtrace/v2/trace.proto\032\033goog" + + "le/protobuf/empty.proto\032\037google/protobuf" + + "/timestamp.proto\"\224\001\n\026BatchWriteSpansRequ" + + "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+cloudresource" + + "manager.googleapis.com/Project\0227\n\005spans\030" + + "\002 \003(\0132#.google.devtools.cloudtrace.v2.Sp" + + "anB\003\340A\0022\272\003\n\014TraceService\022\241\001\n\017BatchWriteS" + + "pans\0225.google.devtools.cloudtrace.v2.Bat" + + "chWriteSpansRequest\032\026.google.protobuf.Em" + + "pty\"?\202\323\344\223\002,\"\'/v2/{name=projects/*}/trace" + + "s:batchWrite:\001*\332A\nname,spans\022\211\001\n\nCreateS" + + "pan\022#.google.devtools.cloudtrace.v2.Span" + + "\032#.google.devtools.cloudtrace.v2.Span\"1\202" + + "\323\344\223\002+\"&/v2/{name=projects/*/traces/*/spa" + + "ns/*}:\001*\032z\312A\031cloudtrace.googleapis.com\322A" + + "[https://www.googleapis.com/auth/cloud-p" + + "latform,https://www.googleapis.com/auth/" + + "trace.appendB\254\001\n!com.google.devtools.clo" + + "udtrace.v2B\014TracingProtoP\001ZGgoogle.golan" + + "g.org/genproto/googleapis/devtools/cloud" + + "trace/v2;cloudtrace\252\002\025Google.Cloud.Trace" + + ".V2\312\002\025Google\\Cloud\\Trace\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -73,6 +80,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.devtools.cloudtrace.v2.TraceProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -88,10 +98,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.devtools.cloudtrace.v2.TraceProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto b/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto index d9fbe663..dae55617 100644 --- a/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto +++ b/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto @@ -1,4 +1,4 @@ -// Copyright 2017 Google Inc. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,8 @@ syntax = "proto3"; package google.devtools.cloudtrace.v2; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; @@ -38,8 +40,8 @@ message Span { // A set of attributes, each in the format `[KEY]:[VALUE]`. message Attributes { // The set of attributes. Each attribute's key can be up to 128 bytes - // long. The value can be a string up to 256 bytes, an integer, or the - // Boolean values `true` and `false`. For example: + // long. The value can be a string up to 256 bytes, a signed 64-bit integer, + // or the Boolean values `true` and `false`. For example: // // "/instance_id": "my-instance" // "/http/user_agent": "" @@ -190,7 +192,7 @@ message Span { // A description of the span's operation (up to 128 bytes). // Stackdriver Trace displays the description in the - // {% dynamic print site_values.console_name %}. + // Google Cloud Platform Console. // For example, the display name can be a qualified method name or a file name // and a line number where the operation is called. A best practice is to use // the same display name within an application and at the same call point. @@ -221,18 +223,18 @@ message Span { // Links associated with the span. You can have up to 128 links per Span. Links links = 10; - // An optional final status for this span. - google.rpc.Status status = 11; + // Optional. The final status for this span. + google.rpc.Status status = 11 [(google.api.field_behavior) = OPTIONAL]; - // (Optional) Set this parameter to indicate whether this span is in + // Optional. Set this parameter to indicate whether this span is in // the same process as its parent. If you do not set this parameter, // Stackdriver Trace is unable to take advantage of this helpful // information. - google.protobuf.BoolValue same_process_as_parent_span = 12; + google.protobuf.BoolValue same_process_as_parent_span = 12 [(google.api.field_behavior) = OPTIONAL]; - // An optional number of child spans that were generated while this span + // Optional. The number of child spans that were generated while this span // was active. If set, allows implementation to detect missing child spans. - google.protobuf.Int32Value child_span_count = 13; + google.protobuf.Int32Value child_span_count = 13 [(google.api.field_behavior) = OPTIONAL]; } // The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. diff --git a/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto b/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto index 2990d460..966a8179 100644 --- a/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto +++ b/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto @@ -1,4 +1,4 @@ -// Copyright 2017 Google Inc. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,12 +11,16 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// syntax = "proto3"; package google.devtools.cloudtrace.v2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/devtools/cloudtrace/v2/trace.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; @@ -34,6 +38,11 @@ option php_namespace = "Google\\Cloud\\Trace\\V2"; // timed event which forms a node of the trace tree. A single trace may // contain span(s) from multiple services. service TraceService { + option (google.api.default_host) = "cloudtrace.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/trace.append"; + // Sends new spans to new or existing traces. You cannot update // existing spans. rpc BatchWriteSpans(BatchWriteSpansRequest) returns (google.protobuf.Empty) { @@ -41,12 +50,13 @@ service TraceService { post: "/v2/{name=projects/*}/traces:batchWrite" body: "*" }; + option (google.api.method_signature) = "name,spans"; } // Creates a new span. rpc CreateSpan(Span) returns (Span) { option (google.api.http) = { - post: "/v2/{name=projects/*/traces/*}/spans" + post: "/v2/{name=projects/*/traces/*/spans/*}" body: "*" }; } @@ -56,9 +66,14 @@ service TraceService { message BatchWriteSpansRequest { // Required. The name of the project where the spans belong. The format is // `projects/[PROJECT_ID]`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; - // A list of new spans. The span names must not match existing + // Required. A list of new spans. The span names must not match existing // spans, or the results are undefined. - repeated Span spans = 2; + repeated Span spans = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/synth.metadata b/synth.metadata index 542ca404..cb67d172 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-10-26T07:59:06.847311Z", + "updateTime": "2019-11-16T08:42:15.005856Z", "sources": [ { "generator": { "name": "artman", - "version": "0.40.3", - "dockerImage": "googleapis/artman@sha256:c805f50525f5f557886c94ab76f56eaa09cb1da58c3ee95111fd34259376621a" + "version": "0.41.1", + "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d27a44798506d28e8e6d874bd128da43f45f74c4", - "internalRef": "276716410" + "sha": "c89394342a9ef70acaf73a6959e04b943fbc817b", + "internalRef": "280761373" } }, { From e1420550d4cf40f8103641bfaa66ced8515ba42e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Nov 2019 19:13:46 +0100 Subject: [PATCH 2/4] chore(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.3.0 (#42) --- google-cloud-trace-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-trace-bom/pom.xml b/google-cloud-trace-bom/pom.xml index 87603a4d..611711c0 100644 --- a/google-cloud-trace-bom/pom.xml +++ b/google-cloud-trace-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.2.1 + 0.3.0 Google Cloud Trace BOM diff --git a/pom.xml b/pom.xml index 8658cee0..b5458893 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.2.1 + 0.3.0 From 9f056b1c3a1ba9e757da50919be8358b64ae004c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2019 10:25:07 -0800 Subject: [PATCH 3/4] chore: release 0.109.2-SNAPSHOT (#44) * updated versions.txt [ci skip] * updated google-cloud-trace-bom/pom.xml [ci skip] * updated google-cloud-trace/pom.xml [ci skip] * updated grpc-google-cloud-trace-v1/pom.xml [ci skip] * updated grpc-google-cloud-trace-v2/pom.xml [ci skip] * updated pom.xml [ci skip] * updated proto-google-cloud-trace-v1/pom.xml [ci skip] * updated proto-google-cloud-trace-v2/pom.xml [ci skip] --- google-cloud-trace-bom/pom.xml | 14 +++++++------- google-cloud-trace/pom.xml | 4 ++-- grpc-google-cloud-trace-v1/pom.xml | 4 ++-- grpc-google-cloud-trace-v2/pom.xml | 4 ++-- pom.xml | 10 +++++----- proto-google-cloud-trace-v1/pom.xml | 4 ++-- proto-google-cloud-trace-v2/pom.xml | 4 ++-- versions.txt | 10 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/google-cloud-trace-bom/pom.xml b/google-cloud-trace-bom/pom.xml index 611711c0..b4faf311 100644 --- a/google-cloud-trace-bom/pom.xml +++ b/google-cloud-trace-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-trace-bom - 0.109.1-beta + 0.109.2-beta-SNAPSHOT pom com.google.cloud @@ -63,32 +63,32 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT com.google.cloud google-cloud-trace - 0.109.1-beta + 0.109.2-beta-SNAPSHOT diff --git a/google-cloud-trace/pom.xml b/google-cloud-trace/pom.xml index e2db5a87..68c7f25c 100644 --- a/google-cloud-trace/pom.xml +++ b/google-cloud-trace/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-trace - 0.109.1-beta + 0.109.2-beta-SNAPSHOT jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -13,7 +13,7 @@ com.google.cloud google-cloud-trace-parent - 0.109.1-beta + 0.109.2-beta-SNAPSHOT google-cloud-trace diff --git a/grpc-google-cloud-trace-v1/pom.xml b/grpc-google-cloud-trace-v1/pom.xml index 95e6beca..b94773c2 100644 --- a/grpc-google-cloud-trace-v1/pom.xml +++ b/grpc-google-cloud-trace-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 0.109.1-beta + 0.109.2-beta-SNAPSHOT diff --git a/grpc-google-cloud-trace-v2/pom.xml b/grpc-google-cloud-trace-v2/pom.xml index 2b3e2297..a382659e 100644 --- a/grpc-google-cloud-trace-v2/pom.xml +++ b/grpc-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 0.109.1-beta + 0.109.2-beta-SNAPSHOT diff --git a/pom.xml b/pom.xml index b5458893..478b6f94 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-trace-parent pom - 0.109.1-beta + 0.109.2-beta-SNAPSHOT Google Cloud Trace Parent https://github.com/googleapis/java-core @@ -169,22 +169,22 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT diff --git a/proto-google-cloud-trace-v1/pom.xml b/proto-google-cloud-trace-v1/pom.xml index 764ea323..f0b51975 100644 --- a/proto-google-cloud-trace-v1/pom.xml +++ b/proto-google-cloud-trace-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.1 + 0.74.2-SNAPSHOT proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 0.109.1-beta + 0.109.2-beta-SNAPSHOT diff --git a/proto-google-cloud-trace-v2/pom.xml b/proto-google-cloud-trace-v2/pom.xml index a6aad0da..ba0529e1 100644 --- a/proto-google-cloud-trace-v2/pom.xml +++ b/proto-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.1 + 0.74.2-SNAPSHOT proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 0.109.1-beta + 0.109.2-beta-SNAPSHOT diff --git a/versions.txt b/versions.txt index 7eabb642..1da8b0b8 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-trace:0.109.1-beta:0.109.1-beta -grpc-google-cloud-trace-v1:0.74.1:0.74.1 -grpc-google-cloud-trace-v2:0.74.1:0.74.1 -proto-google-cloud-trace-v1:0.74.1:0.74.1 -proto-google-cloud-trace-v2:0.74.1:0.74.1 +google-cloud-trace:0.109.1-beta:0.109.2-beta-SNAPSHOT +grpc-google-cloud-trace-v1:0.74.1:0.74.2-SNAPSHOT +grpc-google-cloud-trace-v2:0.74.1:0.74.2-SNAPSHOT +proto-google-cloud-trace-v1:0.74.1:0.74.2-SNAPSHOT +proto-google-cloud-trace-v2:0.74.1:0.74.2-SNAPSHOT From e3d50ec3cf387f1155b4436b7242bc547aed4046 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2019 12:49:35 -0800 Subject: [PATCH 4/4] chore: release 0.109.2 (#45) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-trace/pom.xml [ci skip] * updated grpc-google-cloud-trace-v1/pom.xml [ci skip] * updated grpc-google-cloud-trace-v2/pom.xml [ci skip] * updated proto-google-cloud-trace-v1/pom.xml [ci skip] * updated proto-google-cloud-trace-v2/pom.xml [ci skip] * updated google-cloud-trace-bom/pom.xml [ci skip] * updated pom.xml [ci skip] --- CHANGELOG.md | 7 +++++++ README.md | 6 +++--- google-cloud-trace-bom/pom.xml | 14 +++++++------- google-cloud-trace/pom.xml | 4 ++-- grpc-google-cloud-trace-v1/pom.xml | 4 ++-- grpc-google-cloud-trace-v2/pom.xml | 4 ++-- pom.xml | 10 +++++----- proto-google-cloud-trace-v1/pom.xml | 4 ++-- proto-google-cloud-trace-v2/pom.xml | 4 ++-- versions.txt | 10 +++++----- 10 files changed, 37 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d225cab..5118d539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.109.2](https://www.github.com/googleapis/java-trace/compare/v0.109.1...v0.109.2) (2019-11-18) + + +### Documentation + +* regenerate generated javadoc ([#43](https://www.github.com/googleapis/java-trace/issues/43)) ([1589f08](https://www.github.com/googleapis/java-trace/commit/1589f08e28b248874663b41cce2ba74e60e4cfba)) + ### [0.109.1](https://www.github.com/googleapis/java-trace/compare/v0.109.0...v0.109.1) (2019-11-11) diff --git a/README.md b/README.md index 02161f3a..80cb6f99 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,16 @@ If you are using Maven without a BOM, add this to your dependencies. com.google.cloud google-cloud-trace - 0.109.1-beta + 0.109.2-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-trace:0.109.1-beta' +compile 'com.google.cloud:google-cloud-trace:0.109.2-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.109.1-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "0.109.2-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-trace-bom/pom.xml b/google-cloud-trace-bom/pom.xml index b4faf311..d3d7d684 100644 --- a/google-cloud-trace-bom/pom.xml +++ b/google-cloud-trace-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-trace-bom - 0.109.2-beta-SNAPSHOT + 0.109.2-beta pom com.google.cloud @@ -63,32 +63,32 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 com.google.cloud google-cloud-trace - 0.109.2-beta-SNAPSHOT + 0.109.2-beta diff --git a/google-cloud-trace/pom.xml b/google-cloud-trace/pom.xml index 68c7f25c..ee7bc535 100644 --- a/google-cloud-trace/pom.xml +++ b/google-cloud-trace/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-trace - 0.109.2-beta-SNAPSHOT + 0.109.2-beta jar Google Cloud Trace https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-trace @@ -13,7 +13,7 @@ com.google.cloud google-cloud-trace-parent - 0.109.2-beta-SNAPSHOT + 0.109.2-beta google-cloud-trace diff --git a/grpc-google-cloud-trace-v1/pom.xml b/grpc-google-cloud-trace-v1/pom.xml index b94773c2..f22c9f69 100644 --- a/grpc-google-cloud-trace-v1/pom.xml +++ b/grpc-google-cloud-trace-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 0.109.2-beta-SNAPSHOT + 0.109.2-beta diff --git a/grpc-google-cloud-trace-v2/pom.xml b/grpc-google-cloud-trace-v2/pom.xml index a382659e..b76adb3e 100644 --- a/grpc-google-cloud-trace-v2/pom.xml +++ b/grpc-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 0.109.2-beta-SNAPSHOT + 0.109.2-beta diff --git a/pom.xml b/pom.xml index 478b6f94..9324b4f9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-trace-parent pom - 0.109.2-beta-SNAPSHOT + 0.109.2-beta Google Cloud Trace Parent https://github.com/googleapis/java-core @@ -169,22 +169,22 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc grpc-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 com.google.api.grpc grpc-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 diff --git a/proto-google-cloud-trace-v1/pom.xml b/proto-google-cloud-trace-v1/pom.xml index f0b51975..0b25a5ad 100644 --- a/proto-google-cloud-trace-v1/pom.xml +++ b/proto-google-cloud-trace-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v1 - 0.74.2-SNAPSHOT + 0.74.2 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 0.109.2-beta-SNAPSHOT + 0.109.2-beta diff --git a/proto-google-cloud-trace-v2/pom.xml b/proto-google-cloud-trace-v2/pom.xml index ba0529e1..a2ea4a93 100644 --- a/proto-google-cloud-trace-v2/pom.xml +++ b/proto-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v2 - 0.74.2-SNAPSHOT + 0.74.2 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 0.109.2-beta-SNAPSHOT + 0.109.2-beta diff --git a/versions.txt b/versions.txt index 1da8b0b8..567e79c1 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-trace:0.109.1-beta:0.109.2-beta-SNAPSHOT -grpc-google-cloud-trace-v1:0.74.1:0.74.2-SNAPSHOT -grpc-google-cloud-trace-v2:0.74.1:0.74.2-SNAPSHOT -proto-google-cloud-trace-v1:0.74.1:0.74.2-SNAPSHOT -proto-google-cloud-trace-v2:0.74.1:0.74.2-SNAPSHOT +google-cloud-trace:0.109.2-beta:0.109.2-beta +grpc-google-cloud-trace-v1:0.74.2:0.74.2 +grpc-google-cloud-trace-v2:0.74.2:0.74.2 +proto-google-cloud-trace-v1:0.74.2:0.74.2 +proto-google-cloud-trace-v2:0.74.2:0.74.2