Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
docs(regen): fix relative urls in generated documentation (#91)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/851884dc-a176-4bf2-a928-ea60090f3c94/targets
  • Loading branch information
yoshi-automation committed Mar 9, 2020
1 parent f8a3a62 commit ee1bf06
Show file tree
Hide file tree
Showing 31 changed files with 253 additions and 279 deletions.
Expand Up @@ -189,10 +189,11 @@ public final OperationsClient getOperationsClient() {
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](/storage/docs/reference-uris). A video URI may include
* wildcards in `object-id`, and thus identify multiple videos. Supported wildcards: '*'
* to match 0 or more characters; '?' to match 1 character. If unset, the input video should
* be embedded in the request as `input_content`. If set, `input_content` should be unset.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Expand Up @@ -189,10 +189,11 @@ public final OperationsClient getOperationsClient() {
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](/storage/docs/reference-uris). A video URI may include
* wildcards in `object-id`, and thus identify multiple videos. Supported wildcards: '*'
* to match 0 or more characters; '?' to match 1 character. If unset, the input video should
* be embedded in the request as `input_content`. If set, `input_content` should be unset.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Expand Up @@ -189,10 +189,11 @@ public final OperationsClient getOperationsClient() {
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](/storage/docs/reference-uris). A video URI may include
* wildcards in `object-id`, and thus identify multiple videos. Supported wildcards: '*'
* to match 0 or more characters; '?' to match 1 character. If unset, the input video should
* be embedded in the request as `input_content`. If set, `input_content` should be unset.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Expand Up @@ -189,10 +189,11 @@ public final OperationsClient getOperationsClient() {
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](/storage/docs/reference-uris). A video URI may include
* wildcards in `object-id`, and thus identify multiple videos. Supported wildcards: '*'
* to match 0 or more characters; '?' to match 1 character. If unset, the input video should
* be embedded in the request as `input_content`. If set, `input_content` should be unset.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Expand Up @@ -189,10 +189,11 @@ public final OperationsClient getOperationsClient() {
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](/storage/docs/reference-uris). A video URI may include
* wildcards in `object-id`, and thus identify multiple videos. Supported wildcards: '*'
* to match 0 or more characters; '?' to match 1 character. If unset, the input video should
* be embedded in the request as `input_content`. If set, `input_content` should be unset.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- TODO: remove after 1.1.1 released -->
<difference>
<differenceType>6001</differenceType>
<className>com/google/cloud/videointelligence/v1/*Grpc</className>
<field>METHOD_*</field>
</difference>
</differences>
Expand Up @@ -30,7 +30,7 @@
* </pre>
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.10.0)",
value = "by gRPC proto compiler",
comments = "Source: google/cloud/videointelligence/v1/video_intelligence.proto")
public final class VideoIntelligenceServiceGrpc {

Expand All @@ -40,30 +40,20 @@ private VideoIntelligenceServiceGrpc() {}
"google.cloud.videointelligence.v1.VideoIntelligenceService";

// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getAnnotateVideoMethod()} instead.
public static final io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>
METHOD_ANNOTATE_VIDEO = getAnnotateVideoMethodHelper();

private static volatile io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethod;

@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo",
requestType = com.google.cloud.videointelligence.v1.AnnotateVideoRequest.class,
responseType = com.google.longrunning.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethod() {
return getAnnotateVideoMethodHelper();
}

private static io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethodHelper() {
io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>
Expand All @@ -79,10 +69,7 @@ private VideoIntelligenceServiceGrpc() {}
com.google.longrunning.Operation>
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(
"google.cloud.videointelligence.v1.VideoIntelligenceService",
"AnnotateVideo"))
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
Expand Down Expand Up @@ -139,14 +126,14 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethodHelper(), responseObserver);
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethodHelper(),
getAnnotateVideoMethod(),
asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
Expand Down Expand Up @@ -192,7 +179,7 @@ public void annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethodHelper(), getCallOptions()),
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
}
Expand Down Expand Up @@ -234,8 +221,7 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) {
return blockingUnaryCall(
getChannel(), getAnnotateVideoMethodHelper(), getCallOptions(), request);
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -276,7 +262,7 @@ protected VideoIntelligenceServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) {
return futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethodHelper(), getCallOptions()), request);
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}

Expand Down Expand Up @@ -368,7 +354,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
result =
io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier())
.addMethod(getAnnotateVideoMethodHelper())
.addMethod(getAnnotateVideoMethod())
.build();
}
}
Expand Down
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- TODO: remove after 1.1.1 released -->
<difference>
<differenceType>6001</differenceType>
<className>com/google/cloud/videointelligence/v1beta2/*Grpc</className>
<field>METHOD_*</field>
</difference>
</differences>
Expand Up @@ -30,7 +30,7 @@
* </pre>
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.10.0)",
value = "by gRPC proto compiler",
comments = "Source: google/cloud/videointelligence/v1beta2/video_intelligence.proto")
public final class VideoIntelligenceServiceGrpc {

Expand All @@ -40,30 +40,20 @@ private VideoIntelligenceServiceGrpc() {}
"google.cloud.videointelligence.v1beta2.VideoIntelligenceService";

// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getAnnotateVideoMethod()} instead.
public static final io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>
METHOD_ANNOTATE_VIDEO = getAnnotateVideoMethodHelper();

private static volatile io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethod;

@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AnnotateVideo",
requestType = com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest.class,
responseType = com.google.longrunning.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethod() {
return getAnnotateVideoMethodHelper();
}

private static io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>
getAnnotateVideoMethodHelper() {
io.grpc.MethodDescriptor<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>
Expand All @@ -79,10 +69,7 @@ private VideoIntelligenceServiceGrpc() {}
com.google.longrunning.Operation>
newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
generateFullMethodName(
"google.cloud.videointelligence.v1beta2.VideoIntelligenceService",
"AnnotateVideo"))
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnnotateVideo"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(
io.grpc.protobuf.ProtoUtils.marshaller(
Expand Down Expand Up @@ -139,14 +126,14 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethodHelper(), responseObserver);
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethodHelper(),
getAnnotateVideoMethod(),
asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
Expand Down Expand Up @@ -192,7 +179,7 @@ public void annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethodHelper(), getCallOptions()),
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
}
Expand Down Expand Up @@ -234,8 +221,7 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) {
return blockingUnaryCall(
getChannel(), getAnnotateVideoMethodHelper(), getCallOptions(), request);
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -276,7 +262,7 @@ protected VideoIntelligenceServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) {
return futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethodHelper(), getCallOptions()), request);
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}

Expand Down Expand Up @@ -369,7 +355,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
result =
io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new VideoIntelligenceServiceFileDescriptorSupplier())
.addMethod(getAnnotateVideoMethodHelper())
.addMethod(getAnnotateVideoMethod())
.build();
}
}
Expand Down
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- TODO: remove after 1.1.1 released -->
<difference>
<differenceType>6001</differenceType>
<className>com/google/cloud/videointelligence/v1p1beta1/*Grpc</className>
<field>METHOD_*</field>
</difference>
</differences>

0 comments on commit ee1bf06

Please sign in to comment.