diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/build/YmlFilesBuilder.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/build/YmlFilesBuilder.java index bef901ed..9f14626b 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/build/YmlFilesBuilder.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/build/YmlFilesBuilder.java @@ -3,6 +3,7 @@ import static com.microsoft.build.BuilderUtil.populateUidValues; import com.google.common.annotations.VisibleForTesting; +import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableListMultimap; import com.microsoft.lookup.ClassItemsLookup; import com.microsoft.lookup.ClassLookup; @@ -77,31 +78,40 @@ public boolean build() { @VisibleForTesting class Processor { // table of contents - final TocFile tocFile = new TocFile(outputPath, projectName, disableChangelog); + private final TocFile tocFile = new TocFile(outputPath, projectName, disableChangelog); // overview page - final MetadataFile projectMetadataFile = new MetadataFile(outputPath, "overview.yml"); + private final MetadataFile projectMetadataFile = new MetadataFile(outputPath, "overview.yml"); // package summary pages - final List packageMetadataFiles = new ArrayList<>(); + private final List packageMetadataFiles = new ArrayList<>(); // packages - final List packageItems = new ArrayList<>(); + private final List packageItems = new ArrayList<>(); // class/enum/interface/etc. pages - final List classMetadataFiles = new ArrayList<>(); + private final List classMetadataFiles = new ArrayList<>(); + + private final List allPackages = + elementUtil.extractPackageElements(environment.getIncludedElements()); @VisibleForTesting void process() { - ImmutableListMultimap organizedPackages = + ImmutableListMultimap organizedPackagesWithoutStubs = packageLookup.organize( - elementUtil.extractPackageElements(environment.getIncludedElements())); + allPackages.stream() + .filter(pkg -> !packageLookup.isApiVersionStubPackage(pkg)) + .collect(Collectors.toList())); - for (PackageElement element : organizedPackages.get(PackageGroup.VISIBLE)) { + for (PackageElement element : organizedPackagesWithoutStubs.get(PackageGroup.VISIBLE)) { tocFile.addTocItem(buildPackage(element)); } - TocItem older = new TocItem(OLDER_AND_PRERELEASE, OLDER_AND_PRERELEASE, null); - for (PackageElement element : organizedPackages.get(PackageGroup.OLDER_AND_PRERELEASE)) { - older.getItems().add(buildPackage(element)); + ImmutableList olderPackages = + organizedPackagesWithoutStubs.get(PackageGroup.OLDER_AND_PRERELEASE); + if (!olderPackages.isEmpty()) { + TocItem older = new TocItem(OLDER_AND_PRERELEASE, OLDER_AND_PRERELEASE, null); + for (PackageElement element : olderPackages) { + older.getItems().add(buildPackage(element)); + } + tocFile.addTocItem(older); } - tocFile.addTocItem(older); for (MetadataFile packageFile : packageMetadataFiles) { packageItems.addAll(packageFile.getItems()); @@ -138,6 +148,11 @@ private TocItem buildPackage(PackageElement element) { classBuilder.buildFilesForInnerClasses(element, typeMap, classMetadataFiles); packageTocItem.getItems().addAll(joinTocTypeItems(typeMap)); + // build stubs + packageLookup + .findStubPackages(element, allPackages) + .forEach((PackageElement stub) -> packageTocItem.getItems().add(buildPackage(stub))); + return packageTocItem; } } diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/PackageLookup.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/PackageLookup.java index 05d1a964..3a78a656 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/PackageLookup.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/PackageLookup.java @@ -13,10 +13,12 @@ import com.google.docfx.doclet.ApiVersion; import com.microsoft.lookup.model.ExtendedMetadataFileItem; import com.microsoft.model.Status; +import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.List; import java.util.Optional; +import java.util.stream.Collectors; import javax.lang.model.element.PackageElement; import jdk.javadoc.doclet.DocletEnvironment; @@ -67,15 +69,45 @@ public String extractJavaType(PackageElement element) { return null; } + /** + * @return true, if the package ends with 'stub' and its parent package is an API version + */ + public boolean isApiVersionStubPackage(PackageElement pkg) { + return isApiVersionStubPackageName(String.valueOf(pkg.getQualifiedName())); + } + + /** + * @return true, if the package ends with 'stub' and its parent package is an API version + */ + @VisibleForTesting + boolean isApiVersionStubPackageName(String name) { + List packagePath = Arrays.asList(name.split("\\.")); + int stubIndex = packagePath.indexOf("stub"); + if (stubIndex < 1) { + return false; + } + return ApiVersion.parse(packagePath.get(stubIndex - 1)).isPresent(); + } + + public List findStubPackages( + PackageElement pkg, Collection packages) { + String expectedStubPackageBase = pkg.getQualifiedName() + ".stub"; + return packages.stream() + .filter(p -> String.valueOf(p.getQualifiedName()).startsWith(expectedStubPackageBase)) + .sorted() + .collect(Collectors.toList()); + } + /** Compare PackageElements by their parsed ApiVersion */ private final Comparator byComparingApiVersion = Comparator.comparing(pkg -> extractApiVersion(pkg).orElse(ApiVersion.NONE)); public Optional extractApiVersion(PackageElement pkg) { - String name = String.valueOf(pkg.getQualifiedName()); - int lastPackageIndex = name.lastIndexOf('.'); - String leafPackage = name.substring(lastPackageIndex + 1); - return ApiVersion.parse(leafPackage); + return extractApiVersion(String.valueOf(pkg.getQualifiedName())); + } + + public Optional extractApiVersion(String name) { + return ApiVersion.parse(getLeafPackage(name)); } public enum PackageGroup { @@ -132,17 +164,14 @@ Multimap groupVersions(List packages) { packages, (pkg) -> { String name = String.valueOf(pkg.getQualifiedName()); - int lastPackageIndex = name.lastIndexOf('.'); - String leafPackage = name.substring(lastPackageIndex + 1); - // For package a.b.c.d, the value of leafPackage is 'd'. - boolean packageIsApiVersion = ApiVersion.parse(leafPackage).isPresent(); + // Group all API version packages into a single .v# group + boolean packageIsApiVersion = ApiVersion.parse(getLeafPackage(name)).isPresent(); if (packageIsApiVersion) { - String packageWithoutVersion = name.substring(0, lastPackageIndex); - // For package a.b.c.v1, the value of packageWithoutVersion is a.b.c - return packageWithoutVersion + ".v#"; // Use "v#" package to group all versions + return withoutLeafPackage(name) + ".v#"; // withoutLeafPackage("a.b.c.v1") --> "a.b.c" } - // Using 'name' ensures this package is placed in a group of size 1. + + // When not an API version package, use 'name' to ensure a unique group of size 1. return name; }); } @@ -174,4 +203,16 @@ PackageElement getRecommended(Collection packages) { ApiVersion recommended = ApiVersion.getRecommended(versions.keySet()); return versions.get(recommended); } + + /** withoutLeafPackage("a.b.c.d") --> "a.b.c" */ + private String withoutLeafPackage(String name) { + int lastPackageIndex = name.lastIndexOf('.'); + return name.substring(0, lastPackageIndex); + } + + /** getLeafPackage("a.b.c.d") --> "d" */ + private String getLeafPackage(String name) { + int lastPackageIndex = name.lastIndexOf('.'); + return name.substring(lastPackageIndex + 1); + } } diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/doclet/DocletRunnerTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/doclet/DocletRunnerTest.java index 2b1c28f7..95ce5485 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/doclet/DocletRunnerTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/doclet/DocletRunnerTest.java @@ -1,7 +1,6 @@ package com.microsoft.doclet; import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth.assertWithMessage; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; @@ -105,20 +104,6 @@ public void assertSameFileNames(List expected, List generated) { List generatedFilenames = generated.stream().map(Path::getFileName).map(Path::toString).collect(Collectors.toList()); - assertWithMessage("Expected files were not generated.") - .that( - expectedFilenames.stream() - .filter(file -> !generatedFilenames.contains(file)) - .collect(Collectors.toList())) - .isEmpty(); - - assertWithMessage("Files were generated that should not have been.") - .that( - generatedFilenames.stream() - .filter(file -> !expectedFilenames.contains(file)) - .collect(Collectors.toList())) - .isEmpty(); - - assertThat(expected.size()).isEqualTo(generated.size()); + assertThat(generatedFilenames).containsExactlyElementsIn(expectedFilenames); } } diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/PackageLookupTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/PackageLookupTest.java index f175f18e..91d1d95b 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/PackageLookupTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/PackageLookupTest.java @@ -178,9 +178,58 @@ public void testOrganize_WithoutReleasePackage() { .containsExactly("com.microsoft.samples.google.v1beta"); } + @Test + public void testFindStubPackage() { + ImmutableList packages = + ImmutableList.of( + elements.getPackageElement("com.microsoft.samples.google.v1"), + elements.getPackageElement("com.microsoft.samples.google.v1.stub"), + elements.getPackageElement("com.microsoft.samples.google.v1beta"), + elements.getPackageElement("com.microsoft.samples.google")); + + List foundStubPackages = + packageLookup.findStubPackages( + elements.getPackageElement("com.microsoft.samples.google.v1"), packages); + assertThat(foundStubPackages).isNotEmpty(); + assertThat(foundStubPackages).hasSize(1); + assertThat(toPackageName(foundStubPackages.get(0))) + .isEqualTo("com.microsoft.samples.google.v1.stub"); + + List notFoundStubPackageOfStubPackage = + packageLookup.findStubPackages( + elements.getPackageElement("com.microsoft.samples.google.v1.stub"), packages); + assertThat(notFoundStubPackageOfStubPackage).isEmpty(); + + List notFoundStubPackage = + packageLookup.findStubPackages( + elements.getPackageElement("com.microsoft.samples.google"), packages); + assertThat(notFoundStubPackage).isEmpty(); + } + + @Test + public void testIsApiStubPackage() { + assertThat( + packageLookup.isApiVersionStubPackage( + elements.getPackageElement("com.microsoft.samples.google.v1"))) + .isFalse(); + assertThat( + packageLookup.isApiVersionStubPackage( + elements.getPackageElement("com.microsoft.samples.google.v1.stub"))) + .isTrue(); + assertThat( + packageLookup.isApiVersionStubPackageName("com.microsoft.samples.google.v1.stub.child")) + .isTrue(); + + assertThat(packageLookup.isApiVersionStubPackageName("a")).isFalse(); + // False due to not being an API version package, even though it ends in .stub + assertThat(packageLookup.isApiVersionStubPackageName("a.stub")).isFalse(); + } + private List toPackageNames(List packages) { - return packages.stream() - .map(pkg -> String.valueOf(pkg.getQualifiedName())) - .collect(Collectors.toList()); + return packages.stream().map(this::toPackageName).collect(Collectors.toList()); + } + + private String toPackageName(PackageElement pkg) { + return String.valueOf(pkg.getQualifiedName()); } } diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java index 740a1bdc..4f59819f 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementDetailsCollectionOperations.java @@ -8,6 +8,7 @@ * * @deprecated Use {@link AgreementMetaData} instead. */ +@Deprecated public class AgreementDetailsCollectionOperations extends BasePartnerComponentString implements IAgreementDetailsCollection { /** @@ -25,6 +26,7 @@ public AgreementDetailsCollectionOperations(IPartner rootPartnerOperations) { * @return A list of agreement details. * @deprecated Some text */ + @Deprecated public ResourceCollection get() { return null; } diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementMetaData.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementMetaData.java index cc06cab6..dbed026e 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementMetaData.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/AgreementMetaData.java @@ -26,6 +26,7 @@ public void setTemplateId(String value) { * * @deprecated */ + @Deprecated @JsonProperty("agreementLink") private String agreementLink; diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java index 8b80e81d..b7d1c54a 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/agreements/IAgreementDetailsCollection.java @@ -5,6 +5,7 @@ * * @deprecated This one is deprecated :( */ +@Deprecated public interface IAgreementDetailsCollection { /** * Retrieves all current agreement metadata. diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/ProductSearchSettings.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/ProductSearchSettings.java index 50d9b44b..56b50d60 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/ProductSearchSettings.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/ProductSearchSettings.java @@ -65,6 +65,7 @@ * } */ @Generated("by gapic-generator-java") +@SuppressWarnings("unchecked") public class ProductSearchSettings extends ClientSettings { /** Returns the object with the settings used for calls to createProductSet. */ diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/SpeechSettings.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/SpeechSettings.java index fca83c3a..b3f389f7 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/SpeechSettings.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/SpeechSettings.java @@ -64,6 +64,7 @@ */ @BetaApi @Generated("by gapic-generator-java") +@SuppressWarnings("unchecked") public class SpeechSettings extends ClientSettings { /** Returns the object with the settings used for calls to recognize. */ diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/GrpcSpeechStub.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/GrpcSpeechStub.java new file mode 100644 index 00000000..36a00671 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/GrpcSpeechStub.java @@ -0,0 +1,230 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * 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. + */ + +package com.microsoft.samples.google.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.RecognizeRequest; +import com.google.cloud.speech.v1p1beta1.RecognizeResponse; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.stub.GrpcSpeechCallableFactory; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Speech service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcSpeechStub extends SpeechStub { + private static final MethodDescriptor + recognizeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.speech.v1p1beta1.Speech/Recognize") + .setRequestMarshaller(ProtoUtils.marshaller(RecognizeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(RecognizeResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + longRunningRecognizeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize") + .setRequestMarshaller( + ProtoUtils.marshaller(LongRunningRecognizeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + streamingRecognizeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName("google.cloud.speech.v1p1beta1.Speech/StreamingRecognize") + .setRequestMarshaller( + ProtoUtils.marshaller(StreamingRecognizeRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(StreamingRecognizeResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable recognizeCallable; + private final UnaryCallable longRunningRecognizeCallable; + private final OperationCallable< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationCallable; + private final BidiStreamingCallable + streamingRecognizeCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcSpeechStub create(SpeechStubSettings settings) throws IOException { + return new GrpcSpeechStub(settings, ClientContext.create(settings)); + } + + public static final GrpcSpeechStub create(ClientContext clientContext) throws IOException { + return new GrpcSpeechStub(SpeechStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcSpeechStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcSpeechStub( + SpeechStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcSpeechStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcSpeechCallableFactory()); + } + + /** + * Constructs an instance of GrpcSpeechStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcSpeechStub( + SpeechStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings recognizeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(recognizeMethodDescriptor) + .build(); + GrpcCallSettings longRunningRecognizeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(longRunningRecognizeMethodDescriptor) + .build(); + GrpcCallSettings + streamingRecognizeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(streamingRecognizeMethodDescriptor) + .build(); + + this.recognizeCallable = + callableFactory.createUnaryCallable( + recognizeTransportSettings, settings.recognizeSettings(), clientContext); + this.longRunningRecognizeCallable = + callableFactory.createUnaryCallable( + longRunningRecognizeTransportSettings, + settings.longRunningRecognizeSettings(), + clientContext); + this.longRunningRecognizeOperationCallable = + callableFactory.createOperationCallable( + longRunningRecognizeTransportSettings, + settings.longRunningRecognizeOperationSettings(), + clientContext, + operationsStub); + this.streamingRecognizeCallable = + callableFactory.createBidiStreamingCallable( + streamingRecognizeTransportSettings, + settings.streamingRecognizeSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable recognizeCallable() { + return recognizeCallable; + } + + @Override + public UnaryCallable longRunningRecognizeCallable() { + return longRunningRecognizeCallable; + } + + @Override + public OperationCallable< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationCallable() { + return longRunningRecognizeOperationCallable; + } + + @Override + public BidiStreamingCallable + streamingRecognizeCallable() { + return streamingRecognizeCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/HttpJsonSpeechStub.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/HttpJsonSpeechStub.java new file mode 100644 index 00000000..15482db8 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/HttpJsonSpeechStub.java @@ -0,0 +1,307 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * 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. + */ + +package com.microsoft.samples.google.v1.stub; + +import com.google.api.HttpRule; +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.RecognizeRequest; +import com.google.cloud.speech.v1p1beta1.RecognizeResponse; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.stub.HttpJsonSpeechCallableFactory; +import com.google.common.collect.ImmutableMap; +import com.google.longrunning.Operation; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Speech service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +@SuppressWarnings("unchecked") +public class HttpJsonSpeechStub extends SpeechStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(LongRunningRecognizeResponse.getDescriptor()) + .add(LongRunningRecognizeMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + recognizeMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.speech.v1p1beta1.Speech/Recognize") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1p1beta1/speech:recognize", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(RecognizeResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + longRunningRecognizeMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1p1beta1/speech:longrunningrecognize", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (LongRunningRecognizeRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable recognizeCallable; + private final UnaryCallable longRunningRecognizeCallable; + private final OperationCallable< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonSpeechStub create(SpeechStubSettings settings) throws IOException { + return new HttpJsonSpeechStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonSpeechStub create(ClientContext clientContext) throws IOException { + return new HttpJsonSpeechStub(SpeechStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonSpeechStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonSpeechStub( + SpeechStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonSpeechCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonSpeechStub( + SpeechStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create( + clientContext, + callableFactory, + typeRegistry, + ImmutableMap.builder() + .put( + "google.longrunning.Operations.GetOperation", + HttpRule.newBuilder().setGet("/v1p1beta1/operations/{name=**}").build()) + .put( + "google.longrunning.Operations.ListOperations", + HttpRule.newBuilder().setGet("/v1p1beta1/operations").build()) + .build()); + + HttpJsonCallSettings recognizeTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(recognizeMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + longRunningRecognizeTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(longRunningRecognizeMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.recognizeCallable = + callableFactory.createUnaryCallable( + recognizeTransportSettings, settings.recognizeSettings(), clientContext); + this.longRunningRecognizeCallable = + callableFactory.createUnaryCallable( + longRunningRecognizeTransportSettings, + settings.longRunningRecognizeSettings(), + clientContext); + this.longRunningRecognizeOperationCallable = + callableFactory.createOperationCallable( + longRunningRecognizeTransportSettings, + settings.longRunningRecognizeOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(recognizeMethodDescriptor); + methodDescriptors.add(longRunningRecognizeMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable recognizeCallable() { + return recognizeCallable; + } + + @Override + public UnaryCallable longRunningRecognizeCallable() { + return longRunningRecognizeCallable; + } + + @Override + public OperationCallable< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationCallable() { + return longRunningRecognizeOperationCallable; + } + + @Override + public BidiStreamingCallable + streamingRecognizeCallable() { + throw new UnsupportedOperationException( + "Not implemented: streamingRecognizeCallable(). REST transport is not implemented for this method yet."); + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStub.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStub.java new file mode 100644 index 00000000..28453ea8 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStub.java @@ -0,0 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * 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. + */ + +package com.microsoft.samples.google.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.RecognizeRequest; +import com.google.cloud.speech.v1p1beta1.RecognizeResponse; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Speech service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public abstract class SpeechStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; + } + + public UnaryCallable recognizeCallable() { + throw new UnsupportedOperationException("Not implemented: recognizeCallable()"); + } + + public OperationCallable< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: longRunningRecognizeOperationCallable()"); + } + + public UnaryCallable longRunningRecognizeCallable() { + throw new UnsupportedOperationException("Not implemented: longRunningRecognizeCallable()"); + } + + public BidiStreamingCallable + streamingRecognizeCallable() { + throw new UnsupportedOperationException("Not implemented: streamingRecognizeCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStubSettings.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStubSettings.java new file mode 100644 index 00000000..62f5db7e --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/samples/google/v1/stub/SpeechStubSettings.java @@ -0,0 +1,446 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * 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. + */ + +package com.microsoft.samples.google.v1.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse; +import com.google.cloud.speech.v1p1beta1.RecognizeRequest; +import com.google.cloud.speech.v1p1beta1.RecognizeResponse; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest; +import com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link + * com.google.cloud.speech.v1p1beta1.stub.SpeechStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (speech.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

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 recognize to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * SpeechStubSettings.Builder speechSettingsBuilder = SpeechStubSettings.newBuilder();
+ * speechSettingsBuilder
+ *     .recognizeSettings()
+ *     .setRetrySettings(
+ *         speechSettingsBuilder
+ *             .recognizeSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * SpeechStubSettings speechSettings = speechSettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +@SuppressWarnings("unchecked") +public class SpeechStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final UnaryCallSettings recognizeSettings; + private final UnaryCallSettings + longRunningRecognizeSettings; + private final OperationCallSettings< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationSettings; + private final StreamingCallSettings + streamingRecognizeSettings; + + /** Returns the object with the settings used for calls to recognize. */ + public UnaryCallSettings recognizeSettings() { + return recognizeSettings; + } + + /** Returns the object with the settings used for calls to longRunningRecognize. */ + public UnaryCallSettings longRunningRecognizeSettings() { + return longRunningRecognizeSettings; + } + + /** Returns the object with the settings used for calls to longRunningRecognize. */ + public OperationCallSettings< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationSettings() { + return longRunningRecognizeOperationSettings; + } + + /** Returns the object with the settings used for calls to streamingRecognize. */ + public StreamingCallSettings + streamingRecognizeSettings() { + return streamingRecognizeSettings; + } + + public SpeechStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcSpeechStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonSpeechStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "speech.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "speech.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(SpeechStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(SpeechStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected SpeechStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + recognizeSettings = settingsBuilder.recognizeSettings().build(); + longRunningRecognizeSettings = settingsBuilder.longRunningRecognizeSettings().build(); + longRunningRecognizeOperationSettings = + settingsBuilder.longRunningRecognizeOperationSettings().build(); + streamingRecognizeSettings = settingsBuilder.streamingRecognizeSettings().build(); + } + + /** Builder for SpeechStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder recognizeSettings; + private final UnaryCallSettings.Builder + longRunningRecognizeSettings; + private final OperationCallSettings.Builder< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationSettings; + private final StreamingCallSettings.Builder< + StreamingRecognizeRequest, StreamingRecognizeResponse> + streamingRecognizeSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(5000000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000000L)) + .setTotalTimeout(Duration.ofMillis(5000000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(5000000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(5000000L)) + .setTotalTimeout(Duration.ofMillis(5000000L)) + .build(); + definitions.put("no_retry_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + recognizeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + longRunningRecognizeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + longRunningRecognizeOperationSettings = OperationCallSettings.newBuilder(); + streamingRecognizeSettings = StreamingCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + recognizeSettings, longRunningRecognizeSettings); + initDefaults(this); + } + + protected Builder(SpeechStubSettings settings) { + super(settings); + + recognizeSettings = settings.recognizeSettings.toBuilder(); + longRunningRecognizeSettings = settings.longRunningRecognizeSettings.toBuilder(); + longRunningRecognizeOperationSettings = + settings.longRunningRecognizeOperationSettings.toBuilder(); + streamingRecognizeSettings = settings.streamingRecognizeSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + recognizeSettings, longRunningRecognizeSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .recognizeSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .longRunningRecognizeSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .longRunningRecognizeOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create( + LongRunningRecognizeResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + LongRunningRecognizeMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to recognize. */ + public UnaryCallSettings.Builder recognizeSettings() { + return recognizeSettings; + } + + /** Returns the builder for the settings used for calls to longRunningRecognize. */ + public UnaryCallSettings.Builder + longRunningRecognizeSettings() { + return longRunningRecognizeSettings; + } + + /** Returns the builder for the settings used for calls to longRunningRecognize. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + LongRunningRecognizeRequest, LongRunningRecognizeResponse, LongRunningRecognizeMetadata> + longRunningRecognizeOperationSettings() { + return longRunningRecognizeOperationSettings; + } + + /** Returns the builder for the settings used for calls to streamingRecognize. */ + public StreamingCallSettings.Builder + streamingRecognizeSettings() { + return streamingRecognizeSettings; + } + + @Override + public SpeechStubSettings build() throws IOException { + return new SpeechStubSettings(this); + } + } +} diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.GrpcSpeechStub.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.GrpcSpeechStub.yml new file mode 100644 index 00000000..7d7de3a2 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.GrpcSpeechStub.yml @@ -0,0 +1,681 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + id: "GrpcSpeechStub" + parent: "com.microsoft.samples.google.v1.stub" + children: + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination(long,java.util.concurrent.TimeUnit)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow()" + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable()" + langs: + - "java" + name: "GrpcSpeechStub" + nameWithType: "GrpcSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + type: "Class" + package: "com.microsoft.samples.google.v1.stub" + summary: "gRPC stub implementation for the Speech service API.\n\n

This class is for advanced usage and reflects the underlying API directly." + syntax: + content: "public class GrpcSpeechStub extends SpeechStub" + inheritance: + - "java.lang.Object" + - "com.microsoft.samples.google.v1.stub.SpeechStub" + inheritedMembers: + - "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + - "java.lang.Object.clone()" + - "java.lang.Object.equals(java.lang.Object)" + - "java.lang.Object.finalize()" + - "java.lang.Object.getClass()" + - "java.lang.Object.hashCode()" + - "java.lang.Object.notify()" + - "java.lang.Object.notifyAll()" + - "java.lang.Object.toString()" + - "java.lang.Object.wait()" + - "java.lang.Object.wait(long)" + - "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + id: "GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + nameWithType: "GrpcSpeechStub.GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + summary: "Constructs an instance of GrpcSpeechStub, using the given settings. This is protected so that\n it is easy to make a subclass, but otherwise, the static factory methods should be preferred." + syntax: + content: "protected GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + id: "GrpcSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + nameWithType: "GrpcSpeechStub.GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + summary: "Constructs an instance of GrpcSpeechStub, using the given settings. This is protected so that\n it is easy to make a subclass, but otherwise, the static factory methods should be preferred." + syntax: + content: "protected GrpcSpeechStub(SpeechStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + - id: "callableFactory" + type: "com.google.api.gax.grpc.GrpcStubCallableFactory" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination(long,java.util.concurrent.TimeUnit)" + id: "awaitTermination(long,java.util.concurrent.TimeUnit)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "awaitTermination(long duration, TimeUnit unit)" + nameWithType: "GrpcSpeechStub.awaitTermination(long duration, TimeUnit unit)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination(long duration, TimeUnit unit)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean awaitTermination(long duration, TimeUnit unit)" + parameters: + - id: "duration" + type: "long" + - id: "unit" + type: "java.util.concurrent.TimeUnit" + return: + type: "boolean" + exceptions: + - type: "java.lang.InterruptedException" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close()" + id: "close()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "close()" + nameWithType: "GrpcSpeechStub.close()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public final void close()" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.google.api.gax.rpc.ClientContext)" + id: "create(com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "create(ClientContext clientContext)" + nameWithType: "GrpcSpeechStub.create(ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final GrpcSpeechStub create(ClientContext clientContext)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + return: + type: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + id: "create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.grpc.GrpcStubCallableFactory)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + nameWithType: "GrpcSpeechStub.create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final GrpcSpeechStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + - id: "callableFactory" + type: "com.google.api.gax.grpc.GrpcStubCallableFactory" + return: + type: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + id: "create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "create(SpeechStubSettings settings)" + nameWithType: "GrpcSpeechStub.create(SpeechStubSettings settings)" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create(SpeechStubSettings settings)" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final GrpcSpeechStub create(SpeechStubSettings settings)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + return: + type: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub()" + id: "getOperationsStub()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "getOperationsStub()" + nameWithType: "GrpcSpeechStub.getOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public GrpcOperationsStub getOperationsStub()" + return: + type: "com.google.longrunning.stub.GrpcOperationsStub" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown()" + id: "isShutdown()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "isShutdown()" + nameWithType: "GrpcSpeechStub.isShutdown()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean isShutdown()" + return: + type: "boolean" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated()" + id: "isTerminated()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "isTerminated()" + nameWithType: "GrpcSpeechStub.isTerminated()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean isTerminated()" + return: + type: "boolean" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable()" + id: "longRunningRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "longRunningRecognizeCallable()" + nameWithType: "GrpcSpeechStub.longRunningRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable longRunningRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable()" + id: "longRunningRecognizeOperationCallable()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "longRunningRecognizeOperationCallable()" + nameWithType: "GrpcSpeechStub.longRunningRecognizeOperationCallable()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public OperationCallable longRunningRecognizeOperationCallable()" + return: + type: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable()" + id: "recognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "recognizeCallable()" + nameWithType: "GrpcSpeechStub.recognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable recognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown()" + id: "shutdown()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "shutdown()" + nameWithType: "GrpcSpeechStub.shutdown()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public void shutdown()" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow()" + id: "shutdownNow()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "shutdownNow()" + nameWithType: "GrpcSpeechStub.shutdownNow()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public void shutdownNow()" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable()" + id: "streamingRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + langs: + - "java" + name: "streamingRecognizeCallable()" + nameWithType: "GrpcSpeechStub.streamingRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public BidiStreamingCallable streamingRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.BidiStreamingCallable" +references: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" +- uid: "com.google.api.gax.rpc.ClientContext" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.ClientContext" + name: "ClientContext" + fullName: "com.google.api.gax.rpc.ClientContext" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub*" + name: "GrpcSpeechStub" + nameWithType: "GrpcSpeechStub.GrpcSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.GrpcSpeechStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.grpc.GrpcStubCallableFactory" + isExternal: true + spec.java: + - uid: "com.google.api.gax.grpc.GrpcStubCallableFactory" + name: "GrpcStubCallableFactory" + fullName: "com.google.api.gax.grpc.GrpcStubCallableFactory" + isExternal: true +- uid: "java.io.IOException" + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" + spec.java: + - uid: "java.io.IOException" + name: "IOException" + fullName: "java.io.IOException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create*" + name: "create" + nameWithType: "GrpcSpeechStub.create" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.create" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.longrunning.stub.GrpcOperationsStub" + isExternal: true + spec.java: + - uid: "com.google.longrunning.stub.GrpcOperationsStub" + name: "GrpcOperationsStub" + fullName: "com.google.longrunning.stub.GrpcOperationsStub" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub*" + name: "getOperationsStub" + nameWithType: "GrpcSpeechStub.getOperationsStub" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.getOperationsStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + name: "RecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable*" + name: "recognizeCallable" + nameWithType: "GrpcSpeechStub.recognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.recognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.longrunning.Operation" + name: "Operation" + fullName: "com.google.longrunning.Operation" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable*" + name: "longRunningRecognizeCallable" + nameWithType: "GrpcSpeechStub.longRunningRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.OperationCallable" + name: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + name: "LongRunningRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable*" + name: "longRunningRecognizeOperationCallable" + nameWithType: "GrpcSpeechStub.longRunningRecognizeOperationCallable" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.longRunningRecognizeOperationCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.BidiStreamingCallable" + name: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + name: "StreamingRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable*" + name: "streamingRecognizeCallable" + nameWithType: "GrpcSpeechStub.streamingRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.streamingRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close*" + name: "close" + nameWithType: "GrpcSpeechStub.close" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.close" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown*" + name: "shutdown" + nameWithType: "GrpcSpeechStub.shutdown" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdown" + package: "com.microsoft.samples.google.v1.stub" +- uid: "boolean" + href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" + spec.java: + - uid: "boolean" + name: "boolean" + fullName: "boolean" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown*" + name: "isShutdown" + nameWithType: "GrpcSpeechStub.isShutdown" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isShutdown" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated*" + name: "isTerminated" + nameWithType: "GrpcSpeechStub.isTerminated" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.isTerminated" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow*" + name: "shutdownNow" + nameWithType: "GrpcSpeechStub.shutdownNow" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.shutdownNow" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.lang.InterruptedException" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html" + spec.java: + - uid: "java.lang.InterruptedException" + name: "InterruptedException" + fullName: "java.lang.InterruptedException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html" +- uid: "long" + href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" + spec.java: + - uid: "long" + name: "long" + fullName: "long" + isExternal: false +- uid: "java.util.concurrent.TimeUnit" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html" + spec.java: + - uid: "java.util.concurrent.TimeUnit" + name: "TimeUnit" + fullName: "java.util.concurrent.TimeUnit" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html" +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination*" + name: "awaitTermination" + nameWithType: "GrpcSpeechStub.awaitTermination" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub.awaitTermination" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + name: "SpeechStub" + nameWithType: "SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub" +- uid: "java.lang.Object.notify()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" + name: "Object.notify()" + nameWithType: "Object.notify()" + fullName: "java.lang.Object.notify()" +- uid: "java.lang.Object.wait()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" + name: "Object.wait()" + nameWithType: "Object.wait()" + fullName: "java.lang.Object.wait()" +- uid: "java.lang.Object.finalize()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" + name: "Object.finalize()" + nameWithType: "Object.finalize()" + fullName: "java.lang.Object.finalize()" +- uid: "java.lang.Object.notifyAll()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" + name: "Object.notifyAll()" + nameWithType: "Object.notifyAll()" + fullName: "java.lang.Object.notifyAll()" +- uid: "java.lang.Object.clone()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" + name: "Object.clone()" + nameWithType: "Object.clone()" + fullName: "java.lang.Object.clone()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + name: "SpeechStub.getOperationsStub()" + nameWithType: "SpeechStub.getOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" +- uid: "java.lang.Object.equals(java.lang.Object)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" + name: "Object.equals(Object)" + nameWithType: "Object.equals(Object)" + fullName: "java.lang.Object.equals(java.lang.Object)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + name: "SpeechStub.close()" + nameWithType: "SpeechStub.close()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" +- uid: "java.lang.Object.toString()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" + name: "Object.toString()" + nameWithType: "Object.toString()" + fullName: "java.lang.Object.toString()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + name: "SpeechStub.streamingRecognizeCallable()" + nameWithType: "SpeechStub.streamingRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + name: "SpeechStub.longRunningRecognizeOperationCallable()" + nameWithType: "SpeechStub.longRunningRecognizeOperationCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" +- uid: "java.lang.Object.getClass()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" + name: "Object.getClass()" + nameWithType: "Object.getClass()" + fullName: "java.lang.Object.getClass()" +- uid: "java.lang.Object.wait(long)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" + name: "Object.wait(long)" + nameWithType: "Object.wait(long)" + fullName: "java.lang.Object.wait(long)" +- uid: "java.lang.Object.hashCode()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" + name: "Object.hashCode()" + nameWithType: "Object.hashCode()" + fullName: "java.lang.Object.hashCode()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + name: "SpeechStub.getHttpJsonOperationsStub()" + nameWithType: "SpeechStub.getHttpJsonOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" +- uid: "java.lang.Object.wait(long,int)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" + name: "Object.wait(long,int)" + nameWithType: "Object.wait(long,int)" + fullName: "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + name: "SpeechStub.recognizeCallable()" + nameWithType: "SpeechStub.recognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + name: "SpeechStub.longRunningRecognizeCallable()" + nameWithType: "SpeechStub.longRunningRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + name: "UnaryCallable" + nameWithType: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeRequest,RecognizeResponse" + nameWithType: "RecognizeRequest,RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" + name: "LongRunningRecognizeRequest,Operation" + nameWithType: "LongRunningRecognizeRequest,Operation" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + name: "OperationCallable" + nameWithType: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + nameWithType: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + name: "BidiStreamingCallable" + nameWithType: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" +- uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeRequest,StreamingRecognizeResponse" + nameWithType: "StreamingRecognizeRequest,StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.yml new file mode 100644 index 00000000..20c0c19e --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.yml @@ -0,0 +1,731 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + id: "HttpJsonSpeechStub" + parent: "com.microsoft.samples.google.v1.stub" + children: + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination(long,java.util.concurrent.TimeUnit)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow()" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable()" + langs: + - "java" + name: "HttpJsonSpeechStub" + nameWithType: "HttpJsonSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + type: "Class" + package: "com.microsoft.samples.google.v1.stub" + summary: "REST stub implementation for the Speech service API.\n\n

This class is for advanced usage and reflects the underlying API directly." + syntax: + content: "public class HttpJsonSpeechStub extends SpeechStub" + inheritance: + - "java.lang.Object" + - "com.microsoft.samples.google.v1.stub.SpeechStub" + inheritedMembers: + - "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + - "java.lang.Object.clone()" + - "java.lang.Object.equals(java.lang.Object)" + - "java.lang.Object.finalize()" + - "java.lang.Object.getClass()" + - "java.lang.Object.hashCode()" + - "java.lang.Object.notify()" + - "java.lang.Object.notifyAll()" + - "java.lang.Object.toString()" + - "java.lang.Object.wait()" + - "java.lang.Object.wait(long)" + - "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + id: "HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + nameWithType: "HttpJsonSpeechStub.HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + summary: "Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so\n that it is easy to make a subclass, but otherwise, the static factory methods should be\n preferred." + syntax: + content: "protected HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + id: "HttpJsonSpeechStub(com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + nameWithType: "HttpJsonSpeechStub.HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + summary: "Constructs an instance of HttpJsonSpeechStub, using the given settings. This is protected so\n that it is easy to make a subclass, but otherwise, the static factory methods should be\n preferred." + syntax: + content: "protected HttpJsonSpeechStub(SpeechStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + - id: "callableFactory" + type: "com.google.api.gax.httpjson.HttpJsonStubCallableFactory" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination(long,java.util.concurrent.TimeUnit)" + id: "awaitTermination(long,java.util.concurrent.TimeUnit)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "awaitTermination(long duration, TimeUnit unit)" + nameWithType: "HttpJsonSpeechStub.awaitTermination(long duration, TimeUnit unit)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination(long duration, TimeUnit unit)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean awaitTermination(long duration, TimeUnit unit)" + parameters: + - id: "duration" + type: "long" + - id: "unit" + type: "java.util.concurrent.TimeUnit" + return: + type: "boolean" + exceptions: + - type: "java.lang.InterruptedException" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close()" + id: "close()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "close()" + nameWithType: "HttpJsonSpeechStub.close()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public final void close()" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.google.api.gax.rpc.ClientContext)" + id: "create(com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "create(ClientContext clientContext)" + nameWithType: "HttpJsonSpeechStub.create(ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final HttpJsonSpeechStub create(ClientContext clientContext)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + return: + type: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + id: "create(com.google.api.gax.rpc.ClientContext,com.google.api.gax.httpjson.HttpJsonStubCallableFactory)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + nameWithType: "HttpJsonSpeechStub.create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final HttpJsonSpeechStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + - id: "callableFactory" + type: "com.google.api.gax.httpjson.HttpJsonStubCallableFactory" + return: + type: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + id: "create(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "create(SpeechStubSettings settings)" + nameWithType: "HttpJsonSpeechStub.create(SpeechStubSettings settings)" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create(SpeechStubSettings settings)" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static final HttpJsonSpeechStub create(SpeechStubSettings settings)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + return: + type: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + exceptions: + - type: "java.io.IOException" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub()" + id: "getHttpJsonOperationsStub()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "getHttpJsonOperationsStub()" + nameWithType: "HttpJsonSpeechStub.getHttpJsonOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public HttpJsonOperationsStub getHttpJsonOperationsStub()" + return: + type: "com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors()" + id: "getMethodDescriptors()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "getMethodDescriptors()" + nameWithType: "HttpJsonSpeechStub.getMethodDescriptors()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static List getMethodDescriptors()" + return: + type: "java.util.List" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown()" + id: "isShutdown()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "isShutdown()" + nameWithType: "HttpJsonSpeechStub.isShutdown()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean isShutdown()" + return: + type: "boolean" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated()" + id: "isTerminated()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "isTerminated()" + nameWithType: "HttpJsonSpeechStub.isTerminated()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public boolean isTerminated()" + return: + type: "boolean" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable()" + id: "longRunningRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "longRunningRecognizeCallable()" + nameWithType: "HttpJsonSpeechStub.longRunningRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable longRunningRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable()" + id: "longRunningRecognizeOperationCallable()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "longRunningRecognizeOperationCallable()" + nameWithType: "HttpJsonSpeechStub.longRunningRecognizeOperationCallable()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public OperationCallable longRunningRecognizeOperationCallable()" + return: + type: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable()" + id: "recognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "recognizeCallable()" + nameWithType: "HttpJsonSpeechStub.recognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable recognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown()" + id: "shutdown()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "shutdown()" + nameWithType: "HttpJsonSpeechStub.shutdown()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public void shutdown()" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow()" + id: "shutdownNow()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "shutdownNow()" + nameWithType: "HttpJsonSpeechStub.shutdownNow()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public void shutdownNow()" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable()" + id: "streamingRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + langs: + - "java" + name: "streamingRecognizeCallable()" + nameWithType: "HttpJsonSpeechStub.streamingRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable*" + overridden: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public BidiStreamingCallable streamingRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.BidiStreamingCallable" +references: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" +- uid: "com.google.api.gax.rpc.ClientContext" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.ClientContext" + name: "ClientContext" + fullName: "com.google.api.gax.rpc.ClientContext" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub*" + name: "HttpJsonSpeechStub" + nameWithType: "HttpJsonSpeechStub.HttpJsonSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.HttpJsonSpeechStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.httpjson.HttpJsonStubCallableFactory" + isExternal: true + spec.java: + - uid: "com.google.api.gax.httpjson.HttpJsonStubCallableFactory" + name: "HttpJsonStubCallableFactory" + fullName: "com.google.api.gax.httpjson.HttpJsonStubCallableFactory" + isExternal: true +- uid: "java.io.IOException" + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" + spec.java: + - uid: "java.io.IOException" + name: "IOException" + fullName: "java.io.IOException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create*" + name: "create" + nameWithType: "HttpJsonSpeechStub.create" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.create" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.util.List" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + spec.java: + - uid: "java.util.List" + name: "List" + fullName: "java.util.List" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.api.gax.httpjson.ApiMethodDescriptor" + name: "ApiMethodDescriptor" + fullName: "com.google.api.gax.httpjson.ApiMethodDescriptor" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors*" + name: "getMethodDescriptors" + nameWithType: "HttpJsonSpeechStub.getMethodDescriptors" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getMethodDescriptors" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub" + isExternal: true + spec.java: + - uid: "com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub" + name: "HttpJsonOperationsStub" + fullName: "com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub*" + name: "getHttpJsonOperationsStub" + nameWithType: "HttpJsonSpeechStub.getHttpJsonOperationsStub" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.getHttpJsonOperationsStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + name: "RecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable*" + name: "recognizeCallable" + nameWithType: "HttpJsonSpeechStub.recognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.recognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.longrunning.Operation" + name: "Operation" + fullName: "com.google.longrunning.Operation" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable*" + name: "longRunningRecognizeCallable" + nameWithType: "HttpJsonSpeechStub.longRunningRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.OperationCallable" + name: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + name: "LongRunningRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable*" + name: "longRunningRecognizeOperationCallable" + nameWithType: "HttpJsonSpeechStub.longRunningRecognizeOperationCallable" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.longRunningRecognizeOperationCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.BidiStreamingCallable" + name: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + name: "StreamingRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable*" + name: "streamingRecognizeCallable" + nameWithType: "HttpJsonSpeechStub.streamingRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.streamingRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close*" + name: "close" + nameWithType: "HttpJsonSpeechStub.close" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.close" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown*" + name: "shutdown" + nameWithType: "HttpJsonSpeechStub.shutdown" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdown" + package: "com.microsoft.samples.google.v1.stub" +- uid: "boolean" + href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" + spec.java: + - uid: "boolean" + name: "boolean" + fullName: "boolean" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown*" + name: "isShutdown" + nameWithType: "HttpJsonSpeechStub.isShutdown" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isShutdown" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated*" + name: "isTerminated" + nameWithType: "HttpJsonSpeechStub.isTerminated" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.isTerminated" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow*" + name: "shutdownNow" + nameWithType: "HttpJsonSpeechStub.shutdownNow" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.shutdownNow" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.lang.InterruptedException" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html" + spec.java: + - uid: "java.lang.InterruptedException" + name: "InterruptedException" + fullName: "java.lang.InterruptedException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html" +- uid: "long" + href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" + spec.java: + - uid: "long" + name: "long" + fullName: "long" + isExternal: false +- uid: "java.util.concurrent.TimeUnit" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html" + spec.java: + - uid: "java.util.concurrent.TimeUnit" + name: "TimeUnit" + fullName: "java.util.concurrent.TimeUnit" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination*" + name: "awaitTermination" + nameWithType: "HttpJsonSpeechStub.awaitTermination" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub.awaitTermination" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + name: "SpeechStub" + nameWithType: "SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub" +- uid: "java.lang.Object.notify()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" + name: "Object.notify()" + nameWithType: "Object.notify()" + fullName: "java.lang.Object.notify()" +- uid: "java.lang.Object.wait()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" + name: "Object.wait()" + nameWithType: "Object.wait()" + fullName: "java.lang.Object.wait()" +- uid: "java.lang.Object.finalize()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" + name: "Object.finalize()" + nameWithType: "Object.finalize()" + fullName: "java.lang.Object.finalize()" +- uid: "java.lang.Object.notifyAll()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" + name: "Object.notifyAll()" + nameWithType: "Object.notifyAll()" + fullName: "java.lang.Object.notifyAll()" +- uid: "java.lang.Object.clone()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" + name: "Object.clone()" + nameWithType: "Object.clone()" + fullName: "java.lang.Object.clone()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + name: "SpeechStub.getOperationsStub()" + nameWithType: "SpeechStub.getOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" +- uid: "java.lang.Object.equals(java.lang.Object)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" + name: "Object.equals(Object)" + nameWithType: "Object.equals(Object)" + fullName: "java.lang.Object.equals(java.lang.Object)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + name: "SpeechStub.close()" + nameWithType: "SpeechStub.close()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" +- uid: "java.lang.Object.toString()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" + name: "Object.toString()" + nameWithType: "Object.toString()" + fullName: "java.lang.Object.toString()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + name: "SpeechStub.streamingRecognizeCallable()" + nameWithType: "SpeechStub.streamingRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + name: "SpeechStub.longRunningRecognizeOperationCallable()" + nameWithType: "SpeechStub.longRunningRecognizeOperationCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" +- uid: "java.lang.Object.getClass()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" + name: "Object.getClass()" + nameWithType: "Object.getClass()" + fullName: "java.lang.Object.getClass()" +- uid: "java.lang.Object.wait(long)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" + name: "Object.wait(long)" + nameWithType: "Object.wait(long)" + fullName: "java.lang.Object.wait(long)" +- uid: "java.lang.Object.hashCode()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" + name: "Object.hashCode()" + nameWithType: "Object.hashCode()" + fullName: "java.lang.Object.hashCode()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + name: "SpeechStub.getHttpJsonOperationsStub()" + nameWithType: "SpeechStub.getHttpJsonOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" +- uid: "java.lang.Object.wait(long,int)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" + name: "Object.wait(long,int)" + nameWithType: "Object.wait(long,int)" + fullName: "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + name: "SpeechStub.recognizeCallable()" + nameWithType: "SpeechStub.recognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + name: "SpeechStub.longRunningRecognizeCallable()" + nameWithType: "SpeechStub.longRunningRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" +- uid: "java.util.List" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + name: "List" + nameWithType: "List" + fullName: "java.util.List" +- uid: "com.google.api.gax.httpjson.ApiMethodDescriptor" + isExternal: true + name: "ApiMethodDescriptor" + nameWithType: "ApiMethodDescriptor" + fullName: "com.google.api.gax.httpjson.ApiMethodDescriptor" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + name: "UnaryCallable" + nameWithType: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeRequest,RecognizeResponse" + nameWithType: "RecognizeRequest,RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" + name: "LongRunningRecognizeRequest,Operation" + nameWithType: "LongRunningRecognizeRequest,Operation" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + name: "OperationCallable" + nameWithType: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + nameWithType: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + name: "BidiStreamingCallable" + nameWithType: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" +- uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeRequest,StreamingRecognizeResponse" + nameWithType: "StreamingRecognizeRequest,StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStub.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStub.yml new file mode 100644 index 00000000..149929f1 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStub.yml @@ -0,0 +1,405 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + id: "SpeechStub" + parent: "com.microsoft.samples.google.v1.stub" + children: + - "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + - "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + langs: + - "java" + name: "SpeechStub" + nameWithType: "SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub" + type: "Class" + package: "com.microsoft.samples.google.v1.stub" + summary: "Base stub class for the Speech service API.\n\n

This class is for advanced usage and reflects the underlying API directly." + syntax: + content: "public abstract class SpeechStub implements BackgroundResource" + inheritance: + - "java.lang.Object" + implements: + - "com.google.api.gax.core.BackgroundResource" + inheritedMembers: + - "java.lang.Object.clone()" + - "java.lang.Object.equals(java.lang.Object)" + - "java.lang.Object.finalize()" + - "java.lang.Object.getClass()" + - "java.lang.Object.hashCode()" + - "java.lang.Object.notify()" + - "java.lang.Object.notifyAll()" + - "java.lang.Object.toString()" + - "java.lang.Object.wait()" + - "java.lang.Object.wait(long)" + - "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub()" + id: "SpeechStub()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "SpeechStub()" + nameWithType: "SpeechStub.SpeechStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public SpeechStub()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + id: "close()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "close()" + nameWithType: "SpeechStub.close()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.close()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.close*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public abstract void close()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + id: "getHttpJsonOperationsStub()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "getHttpJsonOperationsStub()" + nameWithType: "SpeechStub.getHttpJsonOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public OperationsStub getHttpJsonOperationsStub()" + return: + type: "com.google.api.gax.httpjson.longrunning.stub.OperationsStub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + id: "getOperationsStub()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "getOperationsStub()" + nameWithType: "SpeechStub.getOperationsStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public OperationsStub getOperationsStub()" + return: + type: "com.google.longrunning.stub.OperationsStub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + id: "longRunningRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "longRunningRecognizeCallable()" + nameWithType: "SpeechStub.longRunningRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable longRunningRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + id: "longRunningRecognizeOperationCallable()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "longRunningRecognizeOperationCallable()" + nameWithType: "SpeechStub.longRunningRecognizeOperationCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public OperationCallable longRunningRecognizeOperationCallable()" + return: + type: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + id: "recognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "recognizeCallable()" + nameWithType: "SpeechStub.recognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public UnaryCallable recognizeCallable()" + return: + type: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + id: "streamingRecognizeCallable()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStub" + langs: + - "java" + name: "streamingRecognizeCallable()" + nameWithType: "SpeechStub.streamingRecognizeCallable()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public BidiStreamingCallable streamingRecognizeCallable()" + return: + type: "com.google.api.gax.rpc.BidiStreamingCallable" +references: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub*" + name: "SpeechStub" + nameWithType: "SpeechStub.SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.SpeechStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.longrunning.stub.OperationsStub" + isExternal: true + spec.java: + - uid: "com.google.longrunning.stub.OperationsStub" + name: "OperationsStub" + fullName: "com.google.longrunning.stub.OperationsStub" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub*" + name: "getOperationsStub" + nameWithType: "SpeechStub.getOperationsStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getOperationsStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.httpjson.longrunning.stub.OperationsStub" + isExternal: true + spec.java: + - uid: "com.google.api.gax.httpjson.longrunning.stub.OperationsStub" + name: "OperationsStub" + fullName: "com.google.api.gax.httpjson.longrunning.stub.OperationsStub" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub*" + name: "getHttpJsonOperationsStub" + nameWithType: "SpeechStub.getHttpJsonOperationsStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.getHttpJsonOperationsStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + name: "RecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable*" + name: "recognizeCallable" + nameWithType: "SpeechStub.recognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.recognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.OperationCallable" + name: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + name: "LongRunningRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable*" + name: "longRunningRecognizeOperationCallable" + nameWithType: "SpeechStub.longRunningRecognizeOperationCallable" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeOperationCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallable" + name: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.longrunning.Operation" + name: "Operation" + fullName: "com.google.longrunning.Operation" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable*" + name: "longRunningRecognizeCallable" + nameWithType: "SpeechStub.longRunningRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.longRunningRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.BidiStreamingCallable" + name: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + name: "StreamingRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable*" + name: "streamingRecognizeCallable" + nameWithType: "SpeechStub.streamingRecognizeCallable" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.streamingRecognizeCallable" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub.close*" + name: "close" + nameWithType: "SpeechStub.close" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub.close" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.core.BackgroundResource" + isExternal: true + name: "BackgroundResource" + nameWithType: "BackgroundResource" + fullName: "com.google.api.gax.core.BackgroundResource" +- uid: "java.lang.Object.notify()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" + name: "Object.notify()" + nameWithType: "Object.notify()" + fullName: "java.lang.Object.notify()" +- uid: "java.lang.Object.wait()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" + name: "Object.wait()" + nameWithType: "Object.wait()" + fullName: "java.lang.Object.wait()" +- uid: "java.lang.Object.finalize()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" + name: "Object.finalize()" + nameWithType: "Object.finalize()" + fullName: "java.lang.Object.finalize()" +- uid: "java.lang.Object.clone()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" + name: "Object.clone()" + nameWithType: "Object.clone()" + fullName: "java.lang.Object.clone()" +- uid: "java.lang.Object.notifyAll()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" + name: "Object.notifyAll()" + nameWithType: "Object.notifyAll()" + fullName: "java.lang.Object.notifyAll()" +- uid: "java.lang.Object.equals(java.lang.Object)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" + name: "Object.equals(Object)" + nameWithType: "Object.equals(Object)" + fullName: "java.lang.Object.equals(java.lang.Object)" +- uid: "java.lang.Object.getClass()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" + name: "Object.getClass()" + nameWithType: "Object.getClass()" + fullName: "java.lang.Object.getClass()" +- uid: "java.lang.Object.wait(long)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" + name: "Object.wait(long)" + nameWithType: "Object.wait(long)" + fullName: "java.lang.Object.wait(long)" +- uid: "java.lang.Object.hashCode()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" + name: "Object.hashCode()" + nameWithType: "Object.hashCode()" + fullName: "java.lang.Object.hashCode()" +- uid: "java.lang.Object.wait(long,int)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" + name: "Object.wait(long,int)" + nameWithType: "Object.wait(long,int)" + fullName: "java.lang.Object.wait(long,int)" +- uid: "java.lang.Object.toString()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" + name: "Object.toString()" + nameWithType: "Object.toString()" + fullName: "java.lang.Object.toString()" +- uid: "com.google.api.gax.rpc.UnaryCallable" + isExternal: true + name: "UnaryCallable" + nameWithType: "UnaryCallable" + fullName: "com.google.api.gax.rpc.UnaryCallable" +- uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeRequest,RecognizeResponse" + nameWithType: "RecognizeRequest,RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" +- uid: "com.google.api.gax.rpc.OperationCallable" + isExternal: true + name: "OperationCallable" + nameWithType: "OperationCallable" + fullName: "com.google.api.gax.rpc.OperationCallable" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + nameWithType: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" + name: "LongRunningRecognizeRequest,Operation" + nameWithType: "LongRunningRecognizeRequest,Operation" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" +- uid: "com.google.api.gax.rpc.BidiStreamingCallable" + isExternal: true + name: "BidiStreamingCallable" + nameWithType: "BidiStreamingCallable" + fullName: "com.google.api.gax.rpc.BidiStreamingCallable" +- uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeRequest,StreamingRecognizeResponse" + nameWithType: "StreamingRecognizeRequest,StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.yml new file mode 100644 index 00000000..a2e61693 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.yml @@ -0,0 +1,759 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + id: "Builder" + parent: "com.microsoft.samples.google.v1.stub" + children: + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods(com.google.api.core.ApiFunction,java.lang.Void>)" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders()" + langs: + - "java" + name: "SpeechStubSettings.Builder" + nameWithType: "SpeechStubSettings.Builder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + type: "Class" + package: "com.microsoft.samples.google.v1.stub" + summary: "Builder for SpeechStubSettings." + syntax: + content: "public static class SpeechStubSettings.Builder extends StubSettings.Builder" + inheritance: + - "java.lang.Object" + - "com.google.api.gax.rpc.StubSettings.Builder" + inheritedMembers: + - "com.google.api.gax.rpc.StubSettings.Builder.build()" + - "com.google.api.gax.rpc.StubSettings.Builder.applyToAllUnaryMethods(java.lang.Iterable>,com.google.api.core.ApiFunction,java.lang.Void>)" + - "com.google.api.gax.rpc.StubSettings.Builder.getBackgroundExecutorProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getClock()" + - "com.google.api.gax.rpc.StubSettings.Builder.getCredentialsProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getEndpoint()" + - "com.google.api.gax.rpc.StubSettings.Builder.getExecutorProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getHeaderProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getInternalHeaderProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getMtlsEndpoint()" + - "com.google.api.gax.rpc.StubSettings.Builder.getQuotaProjectId()" + - "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogCheckInterval()" + - "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.getTracerFactory()" + - "com.google.api.gax.rpc.StubSettings.Builder.getTransportChannelProvider()" + - "com.google.api.gax.rpc.StubSettings.Builder.self()" + - "com.google.api.gax.rpc.StubSettings.Builder.setBackgroundExecutorProvider(com.google.api.gax.core.ExecutorProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setClock(com.google.api.core.ApiClock)" + - "com.google.api.gax.rpc.StubSettings.Builder.setCredentialsProvider(com.google.api.gax.core.CredentialsProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setEndpoint(java.lang.String)" + - "com.google.api.gax.rpc.StubSettings.Builder.setExecutorProvider(com.google.api.gax.core.ExecutorProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setInternalHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setMtlsEndpoint(java.lang.String)" + - "com.google.api.gax.rpc.StubSettings.Builder.setQuotaProjectId(java.lang.String)" + - "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogCheckInterval(org.threeten.bp.Duration)" + - "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.setSwitchToMtlsEndpointAllowed(boolean)" + - "com.google.api.gax.rpc.StubSettings.Builder.setTracerFactory(com.google.api.gax.tracing.ApiTracerFactory)" + - "com.google.api.gax.rpc.StubSettings.Builder.setTransportChannelProvider(com.google.api.gax.rpc.TransportChannelProvider)" + - "com.google.api.gax.rpc.StubSettings.Builder.toString()" + - "java.lang.Object.clone()" + - "java.lang.Object.equals(java.lang.Object)" + - "java.lang.Object.finalize()" + - "java.lang.Object.getClass()" + - "java.lang.Object.hashCode()" + - "java.lang.Object.notify()" + - "java.lang.Object.notifyAll()" + - "java.lang.Object.wait()" + - "java.lang.Object.wait(long)" + - "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder()" + id: "Builder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "Builder()" + nameWithType: "SpeechStubSettings.Builder.Builder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "protected Builder()" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" + id: "Builder(com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "Builder(ClientContext clientContext)" + nameWithType: "SpeechStubSettings.Builder.Builder(ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "protected Builder(ClientContext clientContext)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + id: "Builder(com.microsoft.samples.google.v1.stub.SpeechStubSettings)" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "Builder(SpeechStubSettings settings)" + nameWithType: "SpeechStubSettings.Builder.Builder(SpeechStubSettings settings)" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder(SpeechStubSettings settings)" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "protected Builder(SpeechStubSettings settings)" + parameters: + - id: "settings" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods(com.google.api.core.ApiFunction,java.lang.Void>)" + id: "applyToAllUnaryMethods(com.google.api.core.ApiFunction,java.lang.Void>)" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "applyToAllUnaryMethods(ApiFunction,Void> settingsUpdater)" + nameWithType: "SpeechStubSettings.Builder.applyToAllUnaryMethods(ApiFunction,Void> settingsUpdater)" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods(ApiFunction,Void> settingsUpdater)" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Applies the given settings updater function to all of the unary API methods in this service.\n\n

Note: This method does not support applying settings to streaming methods." + syntax: + content: "public SpeechStubSettings.Builder applyToAllUnaryMethods(ApiFunction,Void> settingsUpdater)" + parameters: + - id: "settingsUpdater" + type: "com.google.api.core.ApiFunction,java.lang.Void>" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build()" + id: "build()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "build()" + nameWithType: "SpeechStubSettings.Builder.build()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build*" + overridden: "com.google.api.gax.rpc.StubSettings.Builder.build()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public SpeechStubSettings build()" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + exceptions: + - type: "java.io.IOException" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings()" + id: "longRunningRecognizeOperationSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "longRunningRecognizeOperationSettings()" + nameWithType: "SpeechStubSettings.Builder.longRunningRecognizeOperationSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the builder for the settings used for calls to longRunningRecognize." + syntax: + content: "public OperationCallSettings.Builder longRunningRecognizeOperationSettings()" + return: + type: "com.google.api.gax.rpc.OperationCallSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings()" + id: "longRunningRecognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "longRunningRecognizeSettings()" + nameWithType: "SpeechStubSettings.Builder.longRunningRecognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the builder for the settings used for calls to longRunningRecognize." + syntax: + content: "public UnaryCallSettings.Builder longRunningRecognizeSettings()" + return: + type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings()" + id: "recognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "recognizeSettings()" + nameWithType: "SpeechStubSettings.Builder.recognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the builder for the settings used for calls to recognize." + syntax: + content: "public UnaryCallSettings.Builder recognizeSettings()" + return: + type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings()" + id: "streamingRecognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "streamingRecognizeSettings()" + nameWithType: "SpeechStubSettings.Builder.streamingRecognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the builder for the settings used for calls to streamingRecognize." + syntax: + content: "public StreamingCallSettings.Builder streamingRecognizeSettings()" + return: + type: "com.google.api.gax.rpc.StreamingCallSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders()" + id: "unaryMethodSettingsBuilders()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "unaryMethodSettingsBuilders()" + nameWithType: "SpeechStubSettings.Builder.unaryMethodSettingsBuilders()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public ImmutableList> unaryMethodSettingsBuilders()" + return: + type: "com.google.common.collect.ImmutableList>" +references: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder*" + name: "Builder" + nameWithType: "SpeechStubSettings.Builder.Builder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.Builder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.ClientContext" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.ClientContext" + name: "ClientContext" + fullName: "com.google.api.gax.rpc.ClientContext" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" +- uid: "com.google.api.core.ApiFunction,java.lang.Void>" + isExternal: true + spec.java: + - uid: "com.google.api.core.ApiFunction" + name: "ApiFunction" + fullName: "com.google.api.core.ApiFunction" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "?" + name: "?" + fullName: "?" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "?" + name: "?" + fullName: "?" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "java.lang.Void" + name: "Void" + fullName: "java.lang.Void" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html" + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods*" + name: "applyToAllUnaryMethods" + nameWithType: "SpeechStubSettings.Builder.applyToAllUnaryMethods" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.applyToAllUnaryMethods" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.common.collect.ImmutableList>" + spec.java: + - uid: "com.google.common.collect.ImmutableList" + name: "ImmutableList" + fullName: "com.google.common.collect.ImmutableList" + isExternal: false + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "?" + name: "?" + fullName: "?" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "?" + name: "?" + fullName: "?" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders*" + name: "unaryMethodSettingsBuilders" + nameWithType: "SpeechStubSettings.Builder.unaryMethodSettingsBuilders" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.unaryMethodSettingsBuilders" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + name: "RecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings*" + name: "recognizeSettings" + nameWithType: "SpeechStubSettings.Builder.recognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.recognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.longrunning.Operation" + name: "Operation" + fullName: "com.google.longrunning.Operation" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings*" + name: "longRunningRecognizeSettings" + nameWithType: "SpeechStubSettings.Builder.longRunningRecognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.OperationCallSettings.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.OperationCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.OperationCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + name: "LongRunningRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings*" + name: "longRunningRecognizeOperationSettings" + nameWithType: "SpeechStubSettings.Builder.longRunningRecognizeOperationSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.longRunningRecognizeOperationSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.StreamingCallSettings.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.StreamingCallSettings.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.StreamingCallSettings.Builder" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + name: "StreamingRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings*" + name: "streamingRecognizeSettings" + nameWithType: "SpeechStubSettings.Builder.streamingRecognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.streamingRecognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.io.IOException" + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" + spec.java: + - uid: "java.io.IOException" + name: "IOException" + fullName: "java.io.IOException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build*" + name: "build" + nameWithType: "SpeechStubSettings.Builder.build" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder.build" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.StubSettings.Builder" + isExternal: true + name: "StubSettings.Builder" + nameWithType: "StubSettings.Builder" + fullName: "com.google.api.gax.rpc.StubSettings.Builder" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getCredentialsProvider()" + isExternal: true + name: "StubSettings.Builder.getCredentialsProvider()" + nameWithType: "StubSettings.Builder.getCredentialsProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getCredentialsProvider()" +- uid: "java.lang.Object.wait()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" + name: "Object.wait()" + nameWithType: "Object.wait()" + fullName: "java.lang.Object.wait()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setEndpoint(java.lang.String)" + isExternal: true + name: "StubSettings.Builder.setEndpoint(String)" + nameWithType: "StubSettings.Builder.setEndpoint(String)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setEndpoint(java.lang.String)" +- uid: "java.lang.Object.finalize()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" + name: "Object.finalize()" + nameWithType: "Object.finalize()" + fullName: "java.lang.Object.finalize()" +- uid: "java.lang.Object.clone()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" + name: "Object.clone()" + nameWithType: "Object.clone()" + fullName: "java.lang.Object.clone()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getClock()" + isExternal: true + name: "StubSettings.Builder.getClock()" + nameWithType: "StubSettings.Builder.getClock()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getClock()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getBackgroundExecutorProvider()" + isExternal: true + name: "StubSettings.Builder.getBackgroundExecutorProvider()" + nameWithType: "StubSettings.Builder.getBackgroundExecutorProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getBackgroundExecutorProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setClock(com.google.api.core.ApiClock)" + isExternal: true + name: "StubSettings.Builder.setClock(ApiClock)" + nameWithType: "StubSettings.Builder.setClock(ApiClock)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setClock(com.google.api.core.ApiClock)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setTransportChannelProvider(com.google.api.gax.rpc.TransportChannelProvider)" + isExternal: true + name: "StubSettings.Builder.setTransportChannelProvider(TransportChannelProvider)" + nameWithType: "StubSettings.Builder.setTransportChannelProvider(TransportChannelProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setTransportChannelProvider(com.google.api.gax.rpc.TransportChannelProvider)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogCheckInterval(org.threeten.bp.Duration)" + isExternal: true + name: "StubSettings.Builder.setStreamWatchdogCheckInterval(Duration)" + nameWithType: "StubSettings.Builder.setStreamWatchdogCheckInterval(Duration)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogCheckInterval(org.threeten.bp.Duration)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setTracerFactory(com.google.api.gax.tracing.ApiTracerFactory)" + isExternal: true + name: "StubSettings.Builder.setTracerFactory(ApiTracerFactory)" + nameWithType: "StubSettings.Builder.setTracerFactory(ApiTracerFactory)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setTracerFactory(com.google.api.gax.tracing.ApiTracerFactory)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setSwitchToMtlsEndpointAllowed(boolean)" + isExternal: true + name: "StubSettings.Builder.setSwitchToMtlsEndpointAllowed(boolean)" + nameWithType: "StubSettings.Builder.setSwitchToMtlsEndpointAllowed(boolean)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setSwitchToMtlsEndpointAllowed(boolean)" +- uid: "java.lang.Object.wait(long)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" + name: "Object.wait(long)" + nameWithType: "Object.wait(long)" + fullName: "java.lang.Object.wait(long)" +- uid: "java.lang.Object.getClass()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" + name: "Object.getClass()" + nameWithType: "Object.getClass()" + fullName: "java.lang.Object.getClass()" +- uid: "java.lang.Object.hashCode()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" + name: "Object.hashCode()" + nameWithType: "Object.hashCode()" + fullName: "java.lang.Object.hashCode()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.toString()" + isExternal: true + name: "StubSettings.Builder.toString()" + nameWithType: "StubSettings.Builder.toString()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.toString()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.self()" + isExternal: true + name: "StubSettings.Builder.self()" + nameWithType: "StubSettings.Builder.self()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.self()" +- uid: "java.lang.Object.wait(long,int)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" + name: "Object.wait(long,int)" + nameWithType: "Object.wait(long,int)" + fullName: "java.lang.Object.wait(long,int)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setInternalHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" + isExternal: true + name: "StubSettings.Builder.setInternalHeaderProvider(HeaderProvider)" + nameWithType: "StubSettings.Builder.setInternalHeaderProvider(HeaderProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setInternalHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" +- uid: "java.lang.Object.notify()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" + name: "Object.notify()" + nameWithType: "Object.notify()" + fullName: "java.lang.Object.notify()" +- uid: "java.lang.Object.notifyAll()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" + name: "Object.notifyAll()" + nameWithType: "Object.notifyAll()" + fullName: "java.lang.Object.notifyAll()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setBackgroundExecutorProvider(com.google.api.gax.core.ExecutorProvider)" + isExternal: true + name: "StubSettings.Builder.setBackgroundExecutorProvider(ExecutorProvider)" + nameWithType: "StubSettings.Builder.setBackgroundExecutorProvider(ExecutorProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setBackgroundExecutorProvider(com.google.api.gax.core.ExecutorProvider)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" + isExternal: true + name: "StubSettings.Builder.setHeaderProvider(HeaderProvider)" + nameWithType: "StubSettings.Builder.setHeaderProvider(HeaderProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider)" +- uid: "java.lang.Object.equals(java.lang.Object)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" + name: "Object.equals(Object)" + nameWithType: "Object.equals(Object)" + fullName: "java.lang.Object.equals(java.lang.Object)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogProvider()" + isExternal: true + name: "StubSettings.Builder.getStreamWatchdogProvider()" + nameWithType: "StubSettings.Builder.getStreamWatchdogProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogCheckInterval()" + isExternal: true + name: "StubSettings.Builder.getStreamWatchdogCheckInterval()" + nameWithType: "StubSettings.Builder.getStreamWatchdogCheckInterval()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getStreamWatchdogCheckInterval()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setMtlsEndpoint(java.lang.String)" + isExternal: true + name: "StubSettings.Builder.setMtlsEndpoint(String)" + nameWithType: "StubSettings.Builder.setMtlsEndpoint(String)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setMtlsEndpoint(java.lang.String)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)" + isExternal: true + name: "StubSettings.Builder.setStreamWatchdogProvider(WatchdogProvider)" + nameWithType: "StubSettings.Builder.setStreamWatchdogProvider(WatchdogProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getHeaderProvider()" + isExternal: true + name: "StubSettings.Builder.getHeaderProvider()" + nameWithType: "StubSettings.Builder.getHeaderProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getHeaderProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setQuotaProjectId(java.lang.String)" + isExternal: true + name: "StubSettings.Builder.setQuotaProjectId(String)" + nameWithType: "StubSettings.Builder.setQuotaProjectId(String)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setQuotaProjectId(java.lang.String)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getTracerFactory()" + isExternal: true + name: "StubSettings.Builder.getTracerFactory()" + nameWithType: "StubSettings.Builder.getTracerFactory()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getTracerFactory()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setExecutorProvider(com.google.api.gax.core.ExecutorProvider)" + isExternal: true + name: "StubSettings.Builder.setExecutorProvider(ExecutorProvider)" + nameWithType: "StubSettings.Builder.setExecutorProvider(ExecutorProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setExecutorProvider(com.google.api.gax.core.ExecutorProvider)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.applyToAllUnaryMethods(java.lang.Iterable>,com.google.api.core.ApiFunction,java.lang.Void>)" + isExternal: true + name: "StubSettings.Builder.applyToAllUnaryMethods(Iterable>,ApiFunction,Void>)" + nameWithType: "StubSettings.Builder.applyToAllUnaryMethods(Iterable>,ApiFunction,Void>)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.applyToAllUnaryMethods(java.lang.Iterable>,com.google.api.core.ApiFunction,java.lang.Void>)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getEndpoint()" + isExternal: true + name: "StubSettings.Builder.getEndpoint()" + nameWithType: "StubSettings.Builder.getEndpoint()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getEndpoint()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getExecutorProvider()" + isExternal: true + name: "StubSettings.Builder.getExecutorProvider()" + nameWithType: "StubSettings.Builder.getExecutorProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getExecutorProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.setCredentialsProvider(com.google.api.gax.core.CredentialsProvider)" + isExternal: true + name: "StubSettings.Builder.setCredentialsProvider(CredentialsProvider)" + nameWithType: "StubSettings.Builder.setCredentialsProvider(CredentialsProvider)" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.setCredentialsProvider(com.google.api.gax.core.CredentialsProvider)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getMtlsEndpoint()" + isExternal: true + name: "StubSettings.Builder.getMtlsEndpoint()" + nameWithType: "StubSettings.Builder.getMtlsEndpoint()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getMtlsEndpoint()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getTransportChannelProvider()" + isExternal: true + name: "StubSettings.Builder.getTransportChannelProvider()" + nameWithType: "StubSettings.Builder.getTransportChannelProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getTransportChannelProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.build()" + isExternal: true + name: "StubSettings.Builder.build()" + nameWithType: "StubSettings.Builder.build()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.build()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getQuotaProjectId()" + isExternal: true + name: "StubSettings.Builder.getQuotaProjectId()" + nameWithType: "StubSettings.Builder.getQuotaProjectId()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getQuotaProjectId()" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.getInternalHeaderProvider()" + isExternal: true + name: "StubSettings.Builder.getInternalHeaderProvider()" + nameWithType: "StubSettings.Builder.getInternalHeaderProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.getInternalHeaderProvider()" +- uid: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + isExternal: true + name: "UnaryCallSettings.Builder" + nameWithType: "UnaryCallSettings.Builder" + fullName: "com.google.api.gax.rpc.UnaryCallSettings.Builder" +- uid: "?,?>,java.lang.Void" + name: "?,?>,Void" + nameWithType: "?,?>,Void" + fullName: "?,?>,java.lang.Void" +- uid: "com.google.api.core.ApiFunction" + isExternal: true + name: "ApiFunction" + nameWithType: "ApiFunction" + fullName: "com.google.api.core.ApiFunction" +- uid: "?,?" + name: "?,?" + nameWithType: "?,?" + fullName: "?,?" +- uid: "com.google.common.collect.ImmutableList" + name: "ImmutableList" + nameWithType: "ImmutableList" + fullName: "com.google.common.collect.ImmutableList" +- uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeRequest,RecognizeResponse" + nameWithType: "RecognizeRequest,RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" + name: "LongRunningRecognizeRequest,Operation" + nameWithType: "LongRunningRecognizeRequest,Operation" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" +- uid: "com.google.api.gax.rpc.OperationCallSettings.Builder" + isExternal: true + name: "OperationCallSettings.Builder" + nameWithType: "OperationCallSettings.Builder" + fullName: "com.google.api.gax.rpc.OperationCallSettings.Builder" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + nameWithType: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" +- uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeRequest,StreamingRecognizeResponse" + nameWithType: "StreamingRecognizeRequest,StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" +- uid: "com.google.api.gax.rpc.StreamingCallSettings.Builder" + isExternal: true + name: "StreamingCallSettings.Builder" + nameWithType: "StreamingCallSettings.Builder" + fullName: "com.google.api.gax.rpc.StreamingCallSettings.Builder" +- uid: "com.google.api.gax.rpc.StubSettings.Builder" + isExternal: true + name: "StubSettings.Builder" + nameWithType: "StubSettings.Builder" + fullName: "com.google.api.gax.rpc.StubSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + name: "SpeechStubSettings,SpeechStubSettings.Builder" + nameWithType: "SpeechStubSettings,SpeechStubSettings.Builder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings,com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" +- uid: "com.google.api.gax.rpc.StubSettings.Builder.applyToAllUnaryMethods(java.lang.Iterable" + isExternal: true + name: "StubSettings.Builder.applyToAllUnaryMethods(Iterable" + nameWithType: "StubSettings.Builder.applyToAllUnaryMethods(Iterable" + fullName: "com.google.api.gax.rpc.StubSettings.Builder.applyToAllUnaryMethods(java.lang.Iterable" +- uid: "?,?>>,com.google.api.core.ApiFunction" + name: "?,?>>,ApiFunction" + nameWithType: "?,?>>,ApiFunction" + fullName: "?,?>>,com.google.api.core.ApiFunction" +- uid: "?,?>,java.lang.Void>)" + name: "?,?>,Void>)" + nameWithType: "?,?>,Void>)" + fullName: "?,?>,java.lang.Void>)" +- uid: "com.google.api.gax.rpc.StubSettings.Builder." + isExternal: true + name: "StubSettings.Builder." + nameWithType: "StubSettings.Builder." + fullName: "com.google.api.gax.rpc.StubSettings.Builder." +- uid: "B>build()" + name: "B>build()" + nameWithType: "B>build()" + fullName: "B>build()" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.yml new file mode 100644 index 00000000..3755cff4 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.SpeechStubSettings.yml @@ -0,0 +1,885 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + id: "SpeechStubSettings" + parent: "com.microsoft.samples.google.v1.stub" + children: + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings(com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder)" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings()" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder()" + langs: + - "java" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + type: "Class" + package: "com.microsoft.samples.google.v1.stub" + summary: "Settings class to configure an instance of com.google.cloud.speech.v1p1beta1.stub.SpeechStub.\n\n

The default instance has everything set to sensible defaults:\n\n

    \n
  • The default service address (speech.googleapis.com) and default port (443) are used.\n
  • Credentials are acquired automatically through Application Default Credentials.\n
  • Retries are configured for idempotent methods but not for non-idempotent methods.\n
\n\n

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

For example, to set the total timeout of recognize to 30 seconds:\n\n

\n // This snippet has been automatically generated and should be regarded as a code template only.\n // It will require modifications to work:\n // - It may require correct/in-range values for request initialization.\n // - It may require specifying regional endpoints when creating the service client as shown in\n // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library\n SpeechStubSettings.Builder speechSettingsBuilder = SpeechStubSettings.newBuilder();\n speechSettingsBuilder\n     .recognizeSettings()\n     .setRetrySettings(\n         speechSettingsBuilder\n             .recognizeSettings()\n             .getRetrySettings()\n             .toBuilder()\n             .setTotalTimeout(Duration.ofSeconds(30))\n             .build());\n SpeechStubSettings speechSettings = speechSettingsBuilder.build();\n 
" + syntax: + content: "public class SpeechStubSettings extends StubSettings" + inheritance: + - "java.lang.Object" + - "com.google.api.gax.rpc.StubSettings" + inheritedMembers: + - "com.google.api.gax.rpc.StubSettings.getBackgroundExecutorProvider()" + - "com.google.api.gax.rpc.StubSettings.getClock()" + - "com.google.api.gax.rpc.StubSettings.getCredentialsProvider()" + - "com.google.api.gax.rpc.StubSettings.getEndpoint()" + - "com.google.api.gax.rpc.StubSettings.getExecutorProvider()" + - "com.google.api.gax.rpc.StubSettings.getHeaderProvider()" + - "com.google.api.gax.rpc.StubSettings.getInternalHeaderProvider()" + - "com.google.api.gax.rpc.StubSettings.getMtlsEndpoint()" + - "com.google.api.gax.rpc.StubSettings.getQuotaProjectId()" + - "com.google.api.gax.rpc.StubSettings.getStreamWatchdogCheckInterval()" + - "com.google.api.gax.rpc.StubSettings.getStreamWatchdogProvider()" + - "com.google.api.gax.rpc.StubSettings.getTracerFactory()" + - "com.google.api.gax.rpc.StubSettings.getTransportChannelProvider()" + - "com.google.api.gax.rpc.StubSettings.toBuilder()" + - "com.google.api.gax.rpc.StubSettings.toString()" + - "java.lang.Object.clone()" + - "java.lang.Object.equals(java.lang.Object)" + - "java.lang.Object.finalize()" + - "java.lang.Object.getClass()" + - "java.lang.Object.hashCode()" + - "java.lang.Object.notify()" + - "java.lang.Object.notifyAll()" + - "java.lang.Object.wait()" + - "java.lang.Object.wait(long)" + - "java.lang.Object.wait(long,int)" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings(com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder)" + id: "SpeechStubSettings(com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder)" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "SpeechStubSettings(SpeechStubSettings.Builder settingsBuilder)" + nameWithType: "SpeechStubSettings.SpeechStubSettings(SpeechStubSettings.Builder settingsBuilder)" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings(SpeechStubSettings.Builder settingsBuilder)" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings*" + type: "Constructor" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "protected SpeechStubSettings(SpeechStubSettings.Builder settingsBuilder)" + parameters: + - id: "settingsBuilder" + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub()" + id: "createStub()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "createStub()" + nameWithType: "SpeechStubSettings.createStub()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public SpeechStub createStub()" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStub" + exceptions: + - type: "java.io.IOException" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder()" + id: "defaultApiClientHeaderProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultApiClientHeaderProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultApiClientHeaderProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()" + return: + type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder()" + id: "defaultCredentialsProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultCredentialsProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultCredentialsProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a builder for the default credentials for this service." + syntax: + content: "public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()" + return: + type: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder()" + id: "defaultExecutorProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultExecutorProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultExecutorProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a builder for the default ExecutorProvider for this service." + syntax: + content: "public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()" + return: + type: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder()" + id: "defaultGrpcApiClientHeaderProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultGrpcApiClientHeaderProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()" + return: + type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder()" + id: "defaultGrpcTransportProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultGrpcTransportProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultGrpcTransportProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a builder for the default gRPC ChannelProvider for this service." + syntax: + content: "public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()" + return: + type: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder()" + id: "defaultHttpJsonApiClientHeaderProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultHttpJsonApiClientHeaderProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()" + return: + type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder()" + id: "defaultHttpJsonTransportProviderBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultHttpJsonTransportProviderBuilder()" + nameWithType: "SpeechStubSettings.defaultHttpJsonTransportProviderBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a builder for the default REST ChannelProvider for this service." + syntax: + content: "public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()" + return: + type: "com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider()" + id: "defaultTransportChannelProvider()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "defaultTransportChannelProvider()" + nameWithType: "SpeechStubSettings.defaultTransportChannelProvider()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + syntax: + content: "public static TransportChannelProvider defaultTransportChannelProvider()" + return: + type: "com.google.api.gax.rpc.TransportChannelProvider" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint()" + id: "getDefaultEndpoint()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "getDefaultEndpoint()" + nameWithType: "SpeechStubSettings.getDefaultEndpoint()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the default service endpoint." + syntax: + content: "public static String getDefaultEndpoint()" + return: + type: "java.lang.String" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint()" + id: "getDefaultMtlsEndpoint()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "getDefaultMtlsEndpoint()" + nameWithType: "SpeechStubSettings.getDefaultMtlsEndpoint()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the default mTLS service endpoint." + syntax: + content: "public static String getDefaultMtlsEndpoint()" + return: + type: "java.lang.String" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes()" + id: "getDefaultServiceScopes()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "getDefaultServiceScopes()" + nameWithType: "SpeechStubSettings.getDefaultServiceScopes()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the default service scopes." + syntax: + content: "public static List getDefaultServiceScopes()" + return: + type: "java.util.List" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings()" + id: "longRunningRecognizeOperationSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "longRunningRecognizeOperationSettings()" + nameWithType: "SpeechStubSettings.longRunningRecognizeOperationSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the object with the settings used for calls to longRunningRecognize." + syntax: + content: "public OperationCallSettings longRunningRecognizeOperationSettings()" + return: + type: "com.google.api.gax.rpc.OperationCallSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings()" + id: "longRunningRecognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "longRunningRecognizeSettings()" + nameWithType: "SpeechStubSettings.longRunningRecognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the object with the settings used for calls to longRunningRecognize." + syntax: + content: "public UnaryCallSettings longRunningRecognizeSettings()" + return: + type: "com.google.api.gax.rpc.UnaryCallSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder()" + id: "newBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "newBuilder()" + nameWithType: "SpeechStubSettings.newBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a new gRPC builder for this class." + syntax: + content: "public static SpeechStubSettings.Builder newBuilder()" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" + id: "newBuilder(com.google.api.gax.rpc.ClientContext)" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "newBuilder(ClientContext clientContext)" + nameWithType: "SpeechStubSettings.newBuilder(ClientContext clientContext)" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder(ClientContext clientContext)" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a new builder for this class." + syntax: + content: "public static SpeechStubSettings.Builder newBuilder(ClientContext clientContext)" + parameters: + - id: "clientContext" + type: "com.google.api.gax.rpc.ClientContext" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder()" + id: "newHttpJsonBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "newHttpJsonBuilder()" + nameWithType: "SpeechStubSettings.newHttpJsonBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a new REST builder for this class." + syntax: + content: "public static SpeechStubSettings.Builder newHttpJsonBuilder()" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + javaType: "static method" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings()" + id: "recognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "recognizeSettings()" + nameWithType: "SpeechStubSettings.recognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the object with the settings used for calls to recognize." + syntax: + content: "public UnaryCallSettings recognizeSettings()" + return: + type: "com.google.api.gax.rpc.UnaryCallSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings()" + id: "streamingRecognizeSettings()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "streamingRecognizeSettings()" + nameWithType: "SpeechStubSettings.streamingRecognizeSettings()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings*" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns the object with the settings used for calls to streamingRecognize." + syntax: + content: "public StreamingCallSettings streamingRecognizeSettings()" + return: + type: "com.google.api.gax.rpc.StreamingCallSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder()" + id: "toBuilder()" + parent: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + langs: + - "java" + name: "toBuilder()" + nameWithType: "SpeechStubSettings.toBuilder()" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder()" + overload: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder*" + overridden: "com.google.api.gax.rpc.StubSettings.toBuilder()" + type: "Method" + package: "com.microsoft.samples.google.v1.stub" + summary: "Returns a builder containing all the values of this settings class." + syntax: + content: "public SpeechStubSettings.Builder toBuilder()" + return: + type: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" +references: +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + name: "SpeechStubSettings.Builder" + nameWithType: "SpeechStubSettings.Builder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings*" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings.SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.SpeechStubSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallSettings" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallSettings" + name: "UnaryCallSettings" + fullName: "com.google.api.gax.rpc.UnaryCallSettings" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + name: "RecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings*" + name: "recognizeSettings" + nameWithType: "SpeechStubSettings.recognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.recognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.UnaryCallSettings" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.UnaryCallSettings" + name: "UnaryCallSettings" + fullName: "com.google.api.gax.rpc.UnaryCallSettings" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.longrunning.Operation" + name: "Operation" + fullName: "com.google.longrunning.Operation" + isExternal: true + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings*" + name: "longRunningRecognizeSettings" + nameWithType: "SpeechStubSettings.longRunningRecognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.OperationCallSettings" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.OperationCallSettings" + name: "OperationCallSettings" + fullName: "com.google.api.gax.rpc.OperationCallSettings" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + name: "LongRunningRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + name: "LongRunningRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings*" + name: "longRunningRecognizeOperationSettings" + nameWithType: "SpeechStubSettings.longRunningRecognizeOperationSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.longRunningRecognizeOperationSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.StreamingCallSettings" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.StreamingCallSettings" + name: "StreamingCallSettings" + fullName: "com.google.api.gax.rpc.StreamingCallSettings" + isExternal: true + - name: "<" + fullName: "<" + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + name: "StreamingRecognizeRequest" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest" + isExternal: false + - name: "," + fullName: "," + isExternal: false + - uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + isExternal: false + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings*" + name: "streamingRecognizeSettings" + nameWithType: "SpeechStubSettings.streamingRecognizeSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.streamingRecognizeSettings" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.io.IOException" + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" + spec.java: + - uid: "java.io.IOException" + name: "IOException" + fullName: "java.io.IOException" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + name: "SpeechStub" + nameWithType: "SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub*" + name: "createStub" + nameWithType: "SpeechStubSettings.createStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.createStub" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + name: "Builder" + fullName: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder*" + name: "defaultExecutorProviderBuilder" + nameWithType: "SpeechStubSettings.defaultExecutorProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultExecutorProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.lang.String" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" + spec.java: + - uid: "java.lang.String" + name: "String" + fullName: "java.lang.String" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint*" + name: "getDefaultEndpoint" + nameWithType: "SpeechStubSettings.getDefaultEndpoint" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultEndpoint" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint*" + name: "getDefaultMtlsEndpoint" + nameWithType: "SpeechStubSettings.getDefaultMtlsEndpoint" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultMtlsEndpoint" + package: "com.microsoft.samples.google.v1.stub" +- uid: "java.util.List" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + spec.java: + - uid: "java.util.List" + name: "List" + fullName: "java.util.List" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + - name: "<" + fullName: "<" + isExternal: false + - uid: "java.lang.String" + name: "String" + fullName: "java.lang.String" + isExternal: false + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" + - name: ">" + fullName: ">" + isExternal: false +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes*" + name: "getDefaultServiceScopes" + nameWithType: "SpeechStubSettings.getDefaultServiceScopes" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.getDefaultServiceScopes" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + name: "Builder" + fullName: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder*" + name: "defaultCredentialsProviderBuilder" + nameWithType: "SpeechStubSettings.defaultCredentialsProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultCredentialsProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + name: "Builder" + fullName: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder*" + name: "defaultGrpcTransportProviderBuilder" + nameWithType: "SpeechStubSettings.defaultGrpcTransportProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcTransportProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder" + name: "Builder" + fullName: "com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder*" + name: "defaultHttpJsonTransportProviderBuilder" + nameWithType: "SpeechStubSettings.defaultHttpJsonTransportProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonTransportProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.TransportChannelProvider" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.TransportChannelProvider" + name: "TransportChannelProvider" + fullName: "com.google.api.gax.rpc.TransportChannelProvider" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider*" + name: "defaultTransportChannelProvider" + nameWithType: "SpeechStubSettings.defaultTransportChannelProvider" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultTransportChannelProvider" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + name: "Builder" + fullName: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder*" + name: "defaultGrpcApiClientHeaderProviderBuilder" + nameWithType: "SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultGrpcApiClientHeaderProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder*" + name: "defaultHttpJsonApiClientHeaderProviderBuilder" + nameWithType: "SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultHttpJsonApiClientHeaderProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder*" + name: "defaultApiClientHeaderProviderBuilder" + nameWithType: "SpeechStubSettings.defaultApiClientHeaderProviderBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.defaultApiClientHeaderProviderBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder*" + name: "newBuilder" + nameWithType: "SpeechStubSettings.newBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder*" + name: "newHttpJsonBuilder" + nameWithType: "SpeechStubSettings.newHttpJsonBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.newHttpJsonBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.ClientContext" + isExternal: true + spec.java: + - uid: "com.google.api.gax.rpc.ClientContext" + name: "ClientContext" + fullName: "com.google.api.gax.rpc.ClientContext" + isExternal: true +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder*" + name: "toBuilder" + nameWithType: "SpeechStubSettings.toBuilder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.toBuilder" + package: "com.microsoft.samples.google.v1.stub" +- uid: "com.google.api.gax.rpc.StubSettings" + isExternal: true + name: "StubSettings" + nameWithType: "StubSettings" + fullName: "com.google.api.gax.rpc.StubSettings" +- uid: "com.google.api.gax.rpc.StubSettings.toString()" + isExternal: true + name: "StubSettings.toString()" + nameWithType: "StubSettings.toString()" + fullName: "com.google.api.gax.rpc.StubSettings.toString()" +- uid: "java.lang.Object.wait()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" + name: "Object.wait()" + nameWithType: "Object.wait()" + fullName: "java.lang.Object.wait()" +- uid: "com.google.api.gax.rpc.StubSettings.getEndpoint()" + isExternal: true + name: "StubSettings.getEndpoint()" + nameWithType: "StubSettings.getEndpoint()" + fullName: "com.google.api.gax.rpc.StubSettings.getEndpoint()" +- uid: "java.lang.Object.finalize()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--" + name: "Object.finalize()" + nameWithType: "Object.finalize()" + fullName: "java.lang.Object.finalize()" +- uid: "com.google.api.gax.rpc.StubSettings.getTransportChannelProvider()" + isExternal: true + name: "StubSettings.getTransportChannelProvider()" + nameWithType: "StubSettings.getTransportChannelProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getTransportChannelProvider()" +- uid: "java.lang.Object.clone()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--" + name: "Object.clone()" + nameWithType: "Object.clone()" + fullName: "java.lang.Object.clone()" +- uid: "com.google.api.gax.rpc.StubSettings.getStreamWatchdogCheckInterval()" + isExternal: true + name: "StubSettings.getStreamWatchdogCheckInterval()" + nameWithType: "StubSettings.getStreamWatchdogCheckInterval()" + fullName: "com.google.api.gax.rpc.StubSettings.getStreamWatchdogCheckInterval()" +- uid: "com.google.api.gax.rpc.StubSettings.getInternalHeaderProvider()" + isExternal: true + name: "StubSettings.getInternalHeaderProvider()" + nameWithType: "StubSettings.getInternalHeaderProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getInternalHeaderProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.getHeaderProvider()" + isExternal: true + name: "StubSettings.getHeaderProvider()" + nameWithType: "StubSettings.getHeaderProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getHeaderProvider()" +- uid: "java.lang.Object.wait(long)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" + name: "Object.wait(long)" + nameWithType: "Object.wait(long)" + fullName: "java.lang.Object.wait(long)" +- uid: "java.lang.Object.getClass()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" + name: "Object.getClass()" + nameWithType: "Object.getClass()" + fullName: "java.lang.Object.getClass()" +- uid: "java.lang.Object.hashCode()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" + name: "Object.hashCode()" + nameWithType: "Object.hashCode()" + fullName: "java.lang.Object.hashCode()" +- uid: "com.google.api.gax.rpc.StubSettings.getTracerFactory()" + isExternal: true + name: "StubSettings.getTracerFactory()" + nameWithType: "StubSettings.getTracerFactory()" + fullName: "com.google.api.gax.rpc.StubSettings.getTracerFactory()" +- uid: "java.lang.Object.wait(long,int)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" + name: "Object.wait(long,int)" + nameWithType: "Object.wait(long,int)" + fullName: "java.lang.Object.wait(long,int)" +- uid: "com.google.api.gax.rpc.StubSettings.getQuotaProjectId()" + isExternal: true + name: "StubSettings.getQuotaProjectId()" + nameWithType: "StubSettings.getQuotaProjectId()" + fullName: "com.google.api.gax.rpc.StubSettings.getQuotaProjectId()" +- uid: "java.lang.Object.notify()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" + name: "Object.notify()" + nameWithType: "Object.notify()" + fullName: "java.lang.Object.notify()" +- uid: "com.google.api.gax.rpc.StubSettings.toBuilder()" + isExternal: true + name: "StubSettings.toBuilder()" + nameWithType: "StubSettings.toBuilder()" + fullName: "com.google.api.gax.rpc.StubSettings.toBuilder()" +- uid: "java.lang.Object.notifyAll()" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" + name: "Object.notifyAll()" + nameWithType: "Object.notifyAll()" + fullName: "java.lang.Object.notifyAll()" +- uid: "java.lang.Object.equals(java.lang.Object)" + href: "https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" + name: "Object.equals(Object)" + nameWithType: "Object.equals(Object)" + fullName: "java.lang.Object.equals(java.lang.Object)" +- uid: "com.google.api.gax.rpc.StubSettings.getStreamWatchdogProvider()" + isExternal: true + name: "StubSettings.getStreamWatchdogProvider()" + nameWithType: "StubSettings.getStreamWatchdogProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getStreamWatchdogProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.getBackgroundExecutorProvider()" + isExternal: true + name: "StubSettings.getBackgroundExecutorProvider()" + nameWithType: "StubSettings.getBackgroundExecutorProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getBackgroundExecutorProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.getExecutorProvider()" + isExternal: true + name: "StubSettings.getExecutorProvider()" + nameWithType: "StubSettings.getExecutorProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getExecutorProvider()" +- uid: "com.google.api.gax.rpc.StubSettings.getClock()" + isExternal: true + name: "StubSettings.getClock()" + nameWithType: "StubSettings.getClock()" + fullName: "com.google.api.gax.rpc.StubSettings.getClock()" +- uid: "com.google.api.gax.rpc.StubSettings.getMtlsEndpoint()" + isExternal: true + name: "StubSettings.getMtlsEndpoint()" + nameWithType: "StubSettings.getMtlsEndpoint()" + fullName: "com.google.api.gax.rpc.StubSettings.getMtlsEndpoint()" +- uid: "com.google.api.gax.rpc.StubSettings.getCredentialsProvider()" + isExternal: true + name: "StubSettings.getCredentialsProvider()" + nameWithType: "StubSettings.getCredentialsProvider()" + fullName: "com.google.api.gax.rpc.StubSettings.getCredentialsProvider()" +- uid: "com.google.api.gax.rpc.UnaryCallSettings" + isExternal: true + name: "UnaryCallSettings" + nameWithType: "UnaryCallSettings" + fullName: "com.google.api.gax.rpc.UnaryCallSettings" +- uid: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" + name: "RecognizeRequest,RecognizeResponse" + nameWithType: "RecognizeRequest,RecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.RecognizeRequest,com.google.cloud.speech.v1p1beta1.RecognizeResponse" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" + name: "LongRunningRecognizeRequest,Operation" + nameWithType: "LongRunningRecognizeRequest,Operation" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.longrunning.Operation" +- uid: "com.google.api.gax.rpc.OperationCallSettings" + isExternal: true + name: "OperationCallSettings" + nameWithType: "OperationCallSettings" + fullName: "com.google.api.gax.rpc.OperationCallSettings" +- uid: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" + name: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + nameWithType: "LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata" + fullName: "com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse,com.google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata" +- uid: "com.google.api.gax.rpc.StreamingCallSettings" + isExternal: true + name: "StreamingCallSettings" + nameWithType: "StreamingCallSettings" + fullName: "com.google.api.gax.rpc.StreamingCallSettings" +- uid: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" + name: "StreamingRecognizeRequest,StreamingRecognizeResponse" + nameWithType: "StreamingRecognizeRequest,StreamingRecognizeResponse" + fullName: "com.google.cloud.speech.v1p1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse" +- uid: "java.util.List" + href: "https://docs.oracle.com/javase/8/docs/api/java/util/List.html" + name: "List" + nameWithType: "List" + fullName: "java.util.List" +- uid: "com.google.api.gax.rpc.StubSettings" + isExternal: true + name: "StubSettings" + nameWithType: "StubSettings" + fullName: "com.google.api.gax.rpc.StubSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.yml new file mode 100644 index 00000000..00a19720 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1.stub.yml @@ -0,0 +1,40 @@ +### YamlMime:ManagedReference +items: +- uid: "com.microsoft.samples.google.v1.stub" + id: "stub" + children: + - "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + - "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + - "com.microsoft.samples.google.v1.stub.SpeechStub" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + - "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + langs: + - "java" + name: "com.microsoft.samples.google.v1.stub" + nameWithType: "com.microsoft.samples.google.v1.stub" + fullName: "com.microsoft.samples.google.v1.stub" + type: "Namespace" + syntax: + content: "package com.microsoft.samples.google.v1.stub" + javaType: "package" +references: +- uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + name: "GrpcSpeechStub" + nameWithType: "GrpcSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" +- uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + name: "HttpJsonSpeechStub" + nameWithType: "HttpJsonSpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + name: "SpeechStub" + nameWithType: "SpeechStub" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStub" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + name: "SpeechStubSettings" + nameWithType: "SpeechStubSettings" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" +- uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + name: "SpeechStubSettings.Builder" + nameWithType: "SpeechStubSettings.Builder" + fullName: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml index 4af78bae..bd37a3b9 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml @@ -7,6 +7,7 @@ items: - "com.microsoft.samples.commentinheritance" - "com.microsoft.samples.google" - "com.microsoft.samples.google.v1" + - "com.microsoft.samples.google.v1.stub" - "com.microsoft.samples.google.v1beta" - "com.microsoft.samples.google.v1p1alpha" - "com.microsoft.samples.offers" @@ -38,6 +39,10 @@ references: name: "com.microsoft.samples.google.v1" nameWithType: "com.microsoft.samples.google.v1" fullName: "com.microsoft.samples.google.v1" +- uid: "com.microsoft.samples.google.v1.stub" + name: "com.microsoft.samples.google.v1.stub" + nameWithType: "com.microsoft.samples.google.v1.stub" + fullName: "com.microsoft.samples.google.v1.stub" - uid: "com.microsoft.samples.offers" name: "com.microsoft.samples.offers" nameWithType: "com.microsoft.samples.offers" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/toc.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/toc.yml index ba7459c0..bcfc04f5 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/toc.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/toc.yml @@ -116,6 +116,22 @@ - heading: "Classes" - uid: "com.microsoft.samples.google.v1.SpeechClient" name: "SpeechClient" + - uid: "com.microsoft.samples.google.v1.stub" + name: "com.microsoft.samples.google.v1.stub" + items: + - uid: "com.microsoft.samples.google.v1.stub" + name: "Package summary" + - heading: "Classes" + - uid: "com.microsoft.samples.google.v1.stub.GrpcSpeechStub" + name: "GrpcSpeechStub" + - uid: "com.microsoft.samples.google.v1.stub.HttpJsonSpeechStub" + name: "HttpJsonSpeechStub" + - uid: "com.microsoft.samples.google.v1.stub.SpeechStub" + name: "SpeechStub" + - uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings" + name: "SpeechStubSettings" + - uid: "com.microsoft.samples.google.v1.stub.SpeechStubSettings.Builder" + name: "SpeechStubSettings.Builder" - uid: "com.microsoft.samples.offers" name: "com.microsoft.samples.offers" items: