From 5ce7a51a2b28f885911e8e72551b058c361fdcf3 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Fri, 12 Nov 2021 15:37:07 -0800 Subject: [PATCH 1/3] feat: generate overvew + include javaType --- .../com/microsoft/build/YmlFilesBuilder.java | 39 ++++++++++++-- .../java/com/microsoft/lookup/BaseLookup.java | 9 ++++ .../microsoft/lookup/ClassItemsLookup.java | 1 + .../com/microsoft/lookup/ClassLookup.java | 2 + .../com/microsoft/lookup/PackageLookup.java | 1 + .../main/java/com/microsoft/model/Guide.java | 2 +- .../com/microsoft/model/MetadataFileItem.java | 11 +++- .../java/com/microsoft/model/TocContents.java | 1 + .../com/microsoft/lookup/BaseLookupTest.java | 25 +++++++++ .../microsoft/model/MetadataFileItemTest.java | 8 +++ .../com/microsoft/model/TocContentsTest.java | 14 +++-- ...microsoft.samples.BasePartnerComponent.yml | 4 ++ ...oft.samples.BasePartnerComponentString.yml | 4 ++ .../com.microsoft.samples.IPartner.yml | 2 + .../com.microsoft.samples.KeyValuePair.yml | 5 ++ .../com.microsoft.samples.Link.yml | 6 +++ ...om.microsoft.samples.Subpackage(class).yml | 2 + .../com.microsoft.samples.SuperHero.yml | 14 +++++ ...s.AgreementDetailsCollectionOperations.yml | 3 ++ ...t.samples.agreements.AgreementMetaData.yml | 8 +++ ...agreements.IAgreementDetailsCollection.yml | 2 + ....samples.agreements.ResourceCollection.yml | 2 + .../com.microsoft.samples.agreements.yml | 1 + ...soft.samples.commentinheritance.Animal.yml | 6 +++ ...samples.commentinheritance.Carnivorous.yml | 3 ++ ...crosoft.samples.commentinheritance.Dog.yml | 9 ++++ ...s.commentinheritance.Herbivorous.Plant.yml | 2 + ...samples.commentinheritance.Herbivorous.yml | 3 ++ ...soft.samples.commentinheritance.Mammal.yml | 3 ++ ....samples.commentinheritance.Omnivorous.yml | 4 ++ ...ft.samples.commentinheritance.Organism.yml | 2 + ....samples.commentinheritance.Viviparous.yml | 3 ++ ...m.microsoft.samples.commentinheritance.yml | 1 + .../com.microsoft.samples.google.BetaApi.yml | 2 + ...s.google.ProductSearchSettings.Builder.yml | 29 +++++++++++ ...t.samples.google.ProductSearchSettings.yml | 34 +++++++++++++ ...oogle.RecognitionAudio.AudioSourceCase.yml | 10 ++++ ...rosoft.samples.google.RecognitionAudio.yml | 22 ++++++++ ....microsoft.samples.google.SpeechClient.yml | 23 +++++++++ ....samples.google.SpeechSettings.Builder.yml | 12 +++++ ...icrosoft.samples.google.SpeechSettings.yml | 17 +++++++ ...es.google.ValidationException.Supplier.yml | 2 + ...oft.samples.google.ValidationException.yml | 5 ++ ...oft.samples.google.v1beta.SpeechClient.yml | 23 +++++++++ .../com.microsoft.samples.google.v1beta.yml | 1 + ....samples.google.v1p1alpha.SpeechClient.yml | 23 +++++++++ ...com.microsoft.samples.google.v1p1alpha.yml | 1 + .../com.microsoft.samples.google.yml | 1 + .../com.microsoft.samples.offers.Offer.yml | 6 +++ .../com.microsoft.samples.offers.yml | 1 + ....microsoft.samples.subpackage(package).yml | 1 + ...oft.samples.subpackage.CustomException.yml | 3 ++ ...m.microsoft.samples.subpackage.Display.yml | 3 ++ ...ckage.Person.IdentificationInfo.Gender.yml | 6 +++ ...s.subpackage.Person.IdentificationInfo.yml | 2 + ...om.microsoft.samples.subpackage.Person.yml | 10 ++++ ...com.microsoft.samples.subpackage.Tuple.yml | 6 +++ .../com.microsoft.samples.yml | 1 + .../expected-generated-files/overview.yml | 51 +++++++++++++++++++ .../expected-generated-files/toc.yml | 2 + 60 files changed, 489 insertions(+), 10 deletions(-) create mode 100644 third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml 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 0733bb61..6a8ff1b2 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 @@ -59,6 +59,8 @@ public YmlFilesBuilder(DocletEnvironment environment, String outputPath, } public boolean build() { + MetadataFile projectMetadataFile = new MetadataFile(outputPath,"overview.yml");; + List packageItems = new ArrayList<>(); List packageMetadataFiles = new ArrayList<>(); List classMetadataFiles = new ArrayList<>(); @@ -78,6 +80,7 @@ public boolean build() { } for (MetadataFile packageFile : packageMetadataFiles) { + packageItems.addAll(packageFile.getItems()); String packageFileName = packageFile.getFileName(); for (MetadataFile classFile : classMetadataFiles) { String classFileName = classFile.getFileName(); @@ -88,10 +91,11 @@ public boolean build() { } } } - + buildProjectMetadataFile(packageItems, projectMetadataFile); populateUidValues(packageMetadataFiles, classMetadataFiles); updateExternalReferences(classMetadataFiles); + FileUtil.dumpToFile(projectMetadataFile); packageMetadataFiles.forEach(FileUtil::dumpToFile); classMetadataFiles.forEach(FileUtil::dumpToFile); FileUtil.dumpToFile(tocFile); @@ -129,6 +133,30 @@ void buildFilesForInnerClasses(Element element, TocTypeMap tocTypeMap, List packageItems, MetadataFile projectMetadataFile) { + MetadataFileItem projectItem = new MetadataFileItem(LANGS, projectName); + projectItem.setNameWithType(projectName); + projectItem.setFullName(projectName); + projectItem.setType("Namespace"); + projectItem.setJavaType("overview"); + + List children = new ArrayList<>(); + List references = new ArrayList<>(); + packageItems.stream().forEach(i -> { + children.add(i.getUid()); + MetadataFileItem refItem = new MetadataFileItem(i.getUid()); + refItem.setName(i.getName()); + refItem.setNameWithType(i.getNameWithType()); + refItem.setFullName(i.getFullName()); + references.add(refItem); + }); + + projectItem.getChildren().addAll(children); + projectMetadataFile.getReferences().addAll(references); + projectMetadataFile.getItems().add(projectItem); + } + MetadataFile buildPackageMetadataFile(PackageElement packageElement) { String fileName = packageLookup.extractHref(packageElement); MetadataFile packageMetadataFile = new MetadataFile(outputPath, fileName); @@ -159,10 +187,13 @@ MetadataFileItem buildClassReference(TypeElement classElement) { } void populateItemFields(MetadataFileItem item, BaseLookup lookup, T element) { - item.setName(lookup.extractName(element)); + String name = lookup.extractName(element); + item.setName(name); item.setNameWithType(lookup.extractNameWithType(element)); item.setFullName(lookup.extractFullName(element)); item.setType(lookup.extractType(element)); + String javatype = lookup.extractJavaType(element,name); + item.setJavaType(javatype); item.setSummary(lookup.extractSummary(element)); item.setContent(lookup.extractContent(element)); } @@ -301,12 +332,14 @@ void addReferencesInfo(TypeElement classElement, MetadataFile classMetadataFile) MetadataFileItem buildMetadataFileItem(Element element) { return new MetadataFileItem(LANGS, classItemsLookup.extractUid(element)) {{ + String name = classItemsLookup.extractName(element); setId(classItemsLookup.extractId(element)); setParent(classItemsLookup.extractParent(element)); - setName(classItemsLookup.extractName(element)); + setName(name); setNameWithType(classItemsLookup.extractNameWithType(element)); setFullName(classItemsLookup.extractFullName(element)); setType(classItemsLookup.extractType(element)); + setJavaType(classItemsLookup.extractJavaType(element, name)); setPackageName(classItemsLookup.extractPackageName(element)); setSummary(classItemsLookup.extractSummary(element)); }}; diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java index 7084318f..c7e14117 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java @@ -13,6 +13,8 @@ import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; +import javax.lang.model.element.Modifier; +import javax.lang.model.element.TypeElement; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -117,6 +119,13 @@ public String extractType(T key) { return resolve(key).getType(); } + public String extractJavaType(T element, String name) { + if (element.getKind().name().equals(ElementKind.CLASS.name()) && name.contains("Exception")){ + return "exception"; + } + return element.getKind().name().toLowerCase().replaceAll("_",""); + } + public String extractContent(T key) { return resolve(key).getContent(); } diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassItemsLookup.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassItemsLookup.java index 009b67dd..7f2bf25c 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassItemsLookup.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassItemsLookup.java @@ -40,6 +40,7 @@ protected ExtendedMetadataFileItem buildMetadataFileItem(Element element) { setHref(classQName + ".yml"); setName(elementQName); setType(determineType(element)); + setJavaType(extractJavaType(element, elementQName)); setPackageName(packageName); setSummary(determineComment(element)); }}; diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassLookup.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassLookup.java index 406a3d6f..6c907940 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassLookup.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/ClassLookup.java @@ -13,6 +13,7 @@ import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; +import javax.lang.model.element.Modifier; import javax.lang.model.element.TypeElement; import javax.lang.model.type.TypeKind; import javax.lang.model.type.TypeMirror; @@ -45,6 +46,7 @@ protected ExtendedMetadataFileItem buildMetadataFileItem(TypeElement classElemen result.setNameWithType(classSNameWithGenericsSupport); result.setFullName(classQNameWithGenericsSupport); result.setType(determineType(classElement)); + result.setJavaType(extractJavaType(classElement, classSNameWithGenericsSupport)); result.setPackageName(packageName); result.setSummary(determineComment(classElement)); result.setSuperclass(determineNestedSuperclass(classElement, result, inheritedMethods)); 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 ca9738fd..8de6714f 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 @@ -26,6 +26,7 @@ protected ExtendedMetadataFileItem buildMetadataFileItem(PackageElement packageE result.setNameWithType(qName); result.setFullName(qName); result.setType(determineType(packageElement)); + result.setJavaType(extractJavaType(packageElement, qName)); result.setSummary(determineComment(packageElement)); result.setContent(determinePackageContent(packageElement)); return result; diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/Guide.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/Guide.java index 22310a0d..55708f69 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/Guide.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/Guide.java @@ -18,7 +18,7 @@ // for including guides with toc items // [items: [name: Overview, -// href: index.md, +// href: overview.html, // name: Version history, // href: history.md, // name: name, diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/MetadataFileItem.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/MetadataFileItem.java index 02e9be9c..a608148c 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/MetadataFileItem.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/MetadataFileItem.java @@ -9,7 +9,7 @@ import java.util.List; @JsonPropertyOrder({"uid", "id", "parent", "children", "href", "langs", "isExternal", "name", "nameWithType", - "fullName", "overload", "overridden", "type", "package", "summary", "syntax", "inheritance", "implements", "exceptions", + "fullName", "overload", "overridden", "type", "javatype", "package", "summary", "syntax", "inheritance", "implements", "exceptions", "spec.java", "inheritedMembers", "status"}) public class MetadataFileItem implements Comparable { @@ -25,6 +25,7 @@ public class MetadataFileItem implements Comparable { private String overload; private String overridden; private String type; + private String javatype; @JsonProperty("package") private String packageName; private String summary; @@ -140,10 +141,18 @@ public String getType() { return type; } + public String getJavaType() { + return javatype; + } + public void setType(String type) { this.type = type; } + public void setJavaType(String javaType) { + this.javatype = javaType; + } + public String getPackageName() { return packageName; } diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/TocContents.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/TocContents.java index 4ee95c89..d55c027d 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/TocContents.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/TocContents.java @@ -37,6 +37,7 @@ public TocContents(String projectName, List items) { private void createTocContents(String projectName, List items) { List tocItems = new ArrayList<>(); // combine guides and tocItems + tocItems.add(new Guide("Overview", "overview.html")); tocItems.add(new Guide("Version history", "history.md")); tocItems.addAll(items); // wrap guides + tocItems with product hierarchy diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java index f41140fd..2fe33e3a 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java @@ -15,10 +15,13 @@ import org.mockito.junit.MockitoJUnitRunner; import javax.lang.model.element.Element; +import javax.lang.model.element.ElementKind; +import javax.lang.model.element.PackageElement; import javax.lang.model.element.TypeElement; import javax.lang.model.util.Elements; import java.util.Arrays; import java.util.Collections; +import java.util.HashMap; import java.util.Set; import static org.junit.Assert.assertEquals; @@ -38,6 +41,7 @@ public class BaseLookupTest { private LinkTree linkTree; private ReferenceTree referenceTree; private LiteralTree literalTree; + private TypeElement typeElement; private BaseLookup baseLookup; private ExtendedMetadataFileItem lastBuiltItem; @@ -51,6 +55,7 @@ public void setup() { linkTree = Mockito.mock(LinkTree.class); referenceTree = Mockito.mock(ReferenceTree.class); literalTree = Mockito.mock(LiteralTree.class); + typeElement = Mockito.mock(TypeElement.class); baseLookup = new BaseLookup<>(environment) { @Override @@ -217,6 +222,25 @@ public void testExtractMethods() { assertEquals("Wrong references", baseLookup.extractReferences(element), lastBuiltItem.getReferences()); } + @Test + public void testExtractJavaType() { + String name = "com.microsoft.samples.google.SpeechClient"; + when(typeElement.getKind()).thenReturn(ElementKind.CLASS); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "class"); + + name = "com.microsoft.samples.google.ValidationException"; + when(typeElement.getKind()).thenReturn(ElementKind.CLASS); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "exception"); + + name = "com.microsoft.samples.google.BetaApi"; + when(typeElement.getKind()).thenReturn(ElementKind.ANNOTATION_TYPE); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "annotationtype"); + + name = "com.microsoft.samples.google"; + when(typeElement.getKind()).thenReturn(ElementKind.PACKAGE); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "package"); + } + private ExtendedMetadataFileItem buildExtendedMetadataFileItem(Element element) { ExtendedMetadataFileItem result = new ExtendedMetadataFileItem(String.valueOf(element)); result.setPackageName("Some package name"); @@ -235,6 +259,7 @@ private ExtendedMetadataFileItem buildExtendedMetadataFileItem(Element element) result.setReturn(new Return("return type", "return desc")); result.setSummary("Some summary"); result.setType("Some type"); + result.setJavaType("Some type"); result.setContent("Some content"); result.setTypeParameters(Arrays.asList(new TypeParameter("type param id"))); result.setSuperclass(Arrays.asList("Some ")); diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/MetadataFileItemTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/MetadataFileItemTest.java index 422fdca3..534be760 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/MetadataFileItemTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/MetadataFileItemTest.java @@ -152,4 +152,12 @@ public void getIsExternal() { assertTrue("Wrong isExternal when true", (new MetadataFileItem("123", "name", true)).getIsExternal()); assertNull("Wrong isExternal when false", (new MetadataFileItem("123", "name", false)).getIsExternal()); } + + @Test + public void setJavaType() { + MetadataFileItem metadataFileItem = new MetadataFileItem("123"); + assertNull("Wrong javaType when null", metadataFileItem.getJavaType()); + metadataFileItem.setJavaType("javaType"); + assertEquals("Wrong javaType when set","javaType", metadataFileItem.getJavaType()); + } } diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/TocContentsTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/TocContentsTest.java index 63d50d25..d1d5965d 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/TocContentsTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/model/TocContentsTest.java @@ -56,15 +56,19 @@ public void getContentsWithProjectName() { assertEquals(contents.getName(), "google-cloud-project"); List items = contents.getItems(); - assertEquals("Should be 4 items", items.size(), 4); + assertEquals("Should be 5 items", items.size(), 5); assertEquals("Guide should be first", items.get(0).getClass(), Guide.class); - Guide history = (Guide) items.get(0); + Guide overview = (Guide) items.get(0); + assertEquals("First guide should be Overview", overview.getName(), "Overview"); + + assertEquals("Guide should be second", items.get(1).getClass(), Guide.class); + Guide history = (Guide) items.get(1); assertEquals("Second guide should be Version History", history.getName(), "Version history"); - assertEquals("Item A should be second", items.get(1), tocItemA); - assertEquals("Item B should be third", items.get(2), tocItemB); - assertEquals("Item C should be fourth", items.get(3), tocItemC); + assertEquals("Item A should be third", items.get(2), tocItemA); + assertEquals("Item B should be fourth", items.get(3), tocItemB); + assertEquals("Item C should be fifth", items.get(4), tocItemC); } @Test diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml index 5aa4cfcf..b2fa2865 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml @@ -33,6 +33,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" id: "BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" parent: "com.microsoft.samples.BasePartnerComponent" @@ -54,6 +55,7 @@ items: - id: "componentContext" type: "TContext" description: "A component context object to work with." + javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponent.testBase()" id: "testBase()" parent: "com.microsoft.samples.BasePartnerComponent" @@ -67,6 +69,7 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testBase()" + javaType: "method" - uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" id: "testInherited()" parent: "com.microsoft.samples.BasePartnerComponent" @@ -80,6 +83,7 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testInherited()" + javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml index 1a113ab3..ae5c5f8f 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml @@ -34,6 +34,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" id: "BasePartnerComponentString(com.microsoft.samples.IPartner)" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -52,6 +53,7 @@ items: - id: "rootPartnerOperations" type: "com.microsoft.samples.IPartner" description: "The root partner operations that created this component." + javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" id: "BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -73,6 +75,7 @@ items: - id: "componentContext" type: "java.lang.String" description: "A component context object to work with." + javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponentString.testInherited()" id: "testInherited()" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -87,6 +90,7 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testInherited()" + javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml index 9bae6eeb..f51b6c1a 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml @@ -15,6 +15,7 @@ items: summary: "The main entry point into using the partner SDK functionality. Represents a partner and encapsulates all the behavior\n attached to partners. Use this interface to get to the partner's customers, profiles, and customer orders, profiles\n and subscriptions and more." syntax: content: "public interface IPartner" + javaType: "interface" - uid: "com.microsoft.samples.IPartner.getCredentials()" id: "getCredentials()" parent: "com.microsoft.samples.IPartner" @@ -32,6 +33,7 @@ items: return: type: "java.lang.String" description: "The partner credentials." + javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml index 099d824e..1df06952 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml @@ -34,6 +34,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair()" id: "KeyValuePair()" parent: "com.microsoft.samples.KeyValuePair" @@ -47,6 +48,7 @@ items: package: "com.microsoft.samples" syntax: content: "public KeyValuePair()" + javaType: "constructor" - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" id: "KeyValuePair(K,V)" parent: "com.microsoft.samples.KeyValuePair" @@ -65,6 +67,7 @@ items: type: "K" - id: "value" type: "V" + javaType: "constructor" - uid: "com.microsoft.samples.KeyValuePair.getKey()" id: "getKey()" parent: "com.microsoft.samples.KeyValuePair" @@ -80,6 +83,7 @@ items: content: "public K getKey()" return: type: "K" + javaType: "method" - uid: "com.microsoft.samples.KeyValuePair.getValue()" id: "getValue()" parent: "com.microsoft.samples.KeyValuePair" @@ -95,6 +99,7 @@ items: content: "public V getValue()" return: type: "V" + javaType: "method" references: - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair*" name: "KeyValuePair" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml index 9e3ddad6..0556205d 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml @@ -32,6 +32,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.Link.Link()" id: "Link()" parent: "com.microsoft.samples.Link" @@ -45,6 +46,7 @@ items: package: "com.microsoft.samples" syntax: content: "public Link()" + javaType: "constructor" - uid: "com.microsoft.samples.Link.getHeaders()" id: "getHeaders()" parent: "com.microsoft.samples.Link" @@ -60,6 +62,7 @@ items: content: "public Collection> getHeaders()" return: type: "java.util.Collection>" + javaType: "method" - uid: "com.microsoft.samples.Link.getMethod()" id: "getMethod()" parent: "com.microsoft.samples.Link" @@ -75,6 +78,7 @@ items: content: "public String getMethod()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" id: "setHeaders(java.util.Collection>)" parent: "com.microsoft.samples.Link" @@ -91,6 +95,7 @@ items: parameters: - id: "value" type: "java.util.Collection>" + javaType: "method" - uid: "com.microsoft.samples.Link.setMethod(java.lang.String)" id: "setMethod(java.lang.String)" parent: "com.microsoft.samples.Link" @@ -107,6 +112,7 @@ items: parameters: - id: "value" type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.Link.Link*" name: "Link" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml index 29f1bf97..dfdafac8 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml @@ -28,6 +28,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.Subpackage.Subpackage()" id: "Subpackage()" parent: "com.microsoft.samples.Subpackage" @@ -41,6 +42,7 @@ items: package: "com.microsoft.samples" syntax: content: "public Subpackage()" + javaType: "constructor" references: - uid: "com.microsoft.samples.Subpackage.Subpackage*" name: "Subpackage" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml index 543bfec2..3b93e3b4 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml @@ -52,6 +52,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" id: "SOME_PUBLIC_STRING" parent: "com.microsoft.samples.SuperHero" @@ -66,6 +67,7 @@ items: content: "public final String SOME_PUBLIC_STRING" return: type: "java.lang.String" + javaType: "field" - uid: "com.microsoft.samples.SuperHero.SuperHero()" id: "SuperHero()" parent: "com.microsoft.samples.SuperHero" @@ -79,6 +81,7 @@ items: package: "com.microsoft.samples" syntax: content: "public SuperHero()" + javaType: "constructor" - uid: "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" id: "SuperHero(java.lang.String,java.lang.String,int,int)" parent: "com.microsoft.samples.SuperHero" @@ -101,6 +104,7 @@ items: type: "int" - id: "defense" type: "int" + javaType: "constructor" - uid: "com.microsoft.samples.SuperHero.getDefense()" id: "getDefense()" parent: "com.microsoft.samples.SuperHero" @@ -116,6 +120,7 @@ items: content: "public int getDefense()" return: type: "int" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.getHealth()" id: "getHealth()" parent: "com.microsoft.samples.SuperHero" @@ -131,6 +136,7 @@ items: content: "protected int getHealth()" return: type: "int" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.getHeroName()" id: "getHeroName()" parent: "com.microsoft.samples.SuperHero" @@ -146,6 +152,7 @@ items: content: "public String getHeroName()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.getLastName()" id: "getLastName()" parent: "com.microsoft.samples.SuperHero" @@ -164,6 +171,7 @@ items: return: type: "java.lang.String" description: "lastName in uppercase. But it's not the end,\n because of multiline comment" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.getUniquePower()" id: "getUniquePower()" parent: "com.microsoft.samples.SuperHero" @@ -179,6 +187,7 @@ items: content: "public String getUniquePower()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.setDefense(int)" id: "setDefense(int)" parent: "com.microsoft.samples.SuperHero" @@ -195,6 +204,7 @@ items: parameters: - id: "defense" type: "int" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.setHealth(int)" id: "setHealth(int)" parent: "com.microsoft.samples.SuperHero" @@ -211,6 +221,7 @@ items: parameters: - id: "health" type: "int" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" id: "setHeroName(java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -227,6 +238,7 @@ items: parameters: - id: "heroName" type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" id: "setUniquePower(java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -243,6 +255,7 @@ items: parameters: - id: "uniquePower" type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" id: "successfullyAttacked(int,java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -271,6 +284,7 @@ items: - type: "java.lang.IllegalArgumentException" description: "when incomingDamage is negative and thanks for Exception" status: "deprecated" + javaType: "method" references: - uid: "com.microsoft.samples.SuperHero.SuperHero*" name: "SuperHero" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml index 22c01beb..305b0f01 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml @@ -37,6 +37,7 @@ items: - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" status: "deprecated" + javaType: "class" - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" id: "AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" @@ -55,6 +56,7 @@ items: - id: "rootPartnerOperations" type: "com.microsoft.samples.IPartner" description: "The root partner operations instance." + javaType: "constructor" - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" id: "get()" parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" @@ -73,6 +75,7 @@ items: type: "com.microsoft.samples.agreements.ResourceCollection" description: "A list of agreement details." status: "deprecated" + javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml index 50cdfb1e..3a19ea6a 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml @@ -35,6 +35,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" id: "AgreementMetaData()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -48,6 +49,7 @@ items: package: "com.microsoft.samples.agreements" syntax: content: "public AgreementMetaData()" + javaType: "constructor" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" id: "getAgreementLink()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -63,6 +65,7 @@ items: content: "public String getAgreementLink()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" id: "getTemplateId()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -78,6 +81,7 @@ items: content: "public String getTemplateId()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" id: "getVersionRank()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -93,6 +97,7 @@ items: content: "public int getVersionRank()" return: type: "int" + javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" id: "setAgreementLink(java.lang.String)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -109,6 +114,7 @@ items: parameters: - id: "value" type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" id: "setTemplateId(java.lang.String)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -125,6 +131,7 @@ items: parameters: - id: "value" type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" id: "setVersionRank(int)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -141,6 +148,7 @@ items: parameters: - id: "value" type: "int" + javaType: "method" references: - uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" name: "AgreementMetaData" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml index 8afb653a..e9d2035b 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml @@ -16,6 +16,7 @@ items: syntax: content: "public interface IAgreementDetailsCollection" status: "deprecated" + javaType: "interface" - uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" id: "get()" parent: "com.microsoft.samples.agreements.IAgreementDetailsCollection" @@ -33,6 +34,7 @@ items: return: type: "com.microsoft.samples.agreements.ResourceCollection" description: "The current agreement metadata." + javaType: "method" references: - uid: "com.microsoft.samples.agreements.ResourceCollection" spec.java: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml index 59cea190..3b5545e3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml @@ -31,6 +31,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" id: "ResourceCollection()" parent: "com.microsoft.samples.agreements.ResourceCollection" @@ -44,6 +45,7 @@ items: package: "com.microsoft.samples.agreements" syntax: content: "public ResourceCollection()" + javaType: "constructor" references: - uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" name: "ResourceCollection" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml index ba14b3a2..aa019f1d 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.yml @@ -15,6 +15,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.agreements" + javaType: "package" references: - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" name: "AgreementDetailsCollectionOperations" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml index b3a2d5c4..89fcc4ab 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml @@ -35,6 +35,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Animal.Animal()" id: "Animal()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -48,6 +49,7 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Animal()" + javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" id: "breathe()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -62,6 +64,7 @@ items: summary: "Breathe." syntax: content: "public void breathe()" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.feed()" id: "feed()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -76,6 +79,7 @@ items: summary: "Feed offspring." syntax: content: "public abstract void feed()" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -92,6 +96,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" id: "verballyCommunicate()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -106,6 +111,7 @@ items: summary: "Communicate verbally." syntax: content: "public abstract void verballyCommunicate()" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal.Animal*" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml index 2ca0ee03..200b4feb 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml @@ -16,6 +16,7 @@ items: summary: "Marks an Animal that eats other animals." syntax: content: "public interface Carnivorous" + javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Carnivorous" @@ -34,6 +35,7 @@ items: - id: "animalBeingEaten" type: "com.microsoft.samples.commentinheritance.Animal" description: "Animal that will be eaten." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Carnivorous" @@ -50,6 +52,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml index 169cf75c..de33a5a8 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml @@ -45,6 +45,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Dog.Dog()" id: "Dog()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -58,6 +59,7 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Dog()" + javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -76,6 +78,7 @@ items: - id: "otherAnimal" type: "com.microsoft.samples.commentinheritance.Animal" description: "Tasty treat." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -94,6 +97,7 @@ items: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" description: "Plant that this dog will eat." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.feed()" id: "feed()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -109,6 +113,7 @@ items: summary: "Feed offspring." syntax: content: "public void feed()" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" id: "getHairColor()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -126,6 +131,7 @@ items: return: type: "java.awt.Color" description: "Color of the dog's fur." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -143,6 +149,7 @@ items: content: "public String getKind()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" id: "giveBirth(int)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -160,6 +167,7 @@ items: - id: "numberPuppies" type: "int" description: "Number of puppies being born." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" id: "verballyCommunicate()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -175,6 +183,7 @@ items: summary: "Communicate verbally. Bark." syntax: content: "public void verballyCommunicate()" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Dog.Dog*" name: "Dog" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml index f9a243c0..ba1e2ddc 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml @@ -28,6 +28,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" id: "Plant()" parent: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" @@ -41,6 +42,7 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Plant()" + javaType: "constructor" references: - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" name: "Plant" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml index e2516b68..7413b5a8 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml @@ -17,6 +17,7 @@ items: summary: "Marks animals that eat plants." syntax: content: "public interface Herbivorous" + javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Herbivorous" @@ -35,6 +36,7 @@ items: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" description: "Plant that will be eaten." + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Herbivorous" @@ -51,6 +53,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" name: "Herbivorous.Plant" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml index 82c30c40..09ddda10 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml @@ -35,6 +35,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" id: "Mammal()" parent: "com.microsoft.samples.commentinheritance.Mammal" @@ -48,6 +49,7 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Mammal()" + javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Mammal.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Mammal" @@ -65,6 +67,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" name: "Mammal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml index 7dc54473..0f018d6d 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml @@ -20,6 +20,7 @@ items: implements: - "com.microsoft.samples.commentinheritance.Carnivorous" - "com.microsoft.samples.commentinheritance.Herbivorous" + javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -37,6 +38,7 @@ items: parameters: - id: "animalToBeEaten" type: "com.microsoft.samples.commentinheritance.Animal" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -54,6 +56,7 @@ items: parameters: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -70,6 +73,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml index e68e4d93..5db2f633 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml @@ -14,6 +14,7 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public interface Organism" + javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Organism.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Organism" @@ -30,6 +31,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml index 2d96ea18..a4010e4b 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml @@ -16,6 +16,7 @@ items: summary: "Mammals that give birth to young that develop within the mother's body." syntax: content: "public interface Viviparous" + javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Viviparous" @@ -32,6 +33,7 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" id: "giveBirth(int)" parent: "com.microsoft.samples.commentinheritance.Viviparous" @@ -48,6 +50,7 @@ items: parameters: - id: "numberOfOffspring" type: "int" + javaType: "method" references: - uid: "int" href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml index 5842c9d6..eb3f4e84 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.yml @@ -20,6 +20,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.commentinheritance" + javaType: "package" references: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml index b4c65868..44b38a02 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml @@ -17,6 +17,7 @@ items: content: "public interface BetaApi implements Annotation" implements: - "java.lang.annotation.Annotation" + javaType: "annotationtype" - uid: "com.microsoft.samples.google.BetaApi.value()" id: "value()" parent: "com.microsoft.samples.google.BetaApi" @@ -33,6 +34,7 @@ items: content: "public abstract String value()" return: type: "java.lang.String" + javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml index 1f691bf3..cfc63812 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml @@ -83,6 +83,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder()" id: "Builder()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -96,6 +97,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "protected Builder()" + javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" id: "Builder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -112,6 +114,7 @@ items: parameters: - id: "clientContext" type: "com.google.api.gax.rpc.ClientContext" + javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder)" id: "Builder(com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -128,6 +131,7 @@ items: parameters: - id: "stubSettings" type: "com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder" + javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.microsoft.samples.google.ProductSearchSettings)" id: "Builder(com.microsoft.samples.google.ProductSearchSettings)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -144,6 +148,7 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.ProductSearchSettings" + javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.addProductToProductSetSettings()" id: "addProductToProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -160,6 +165,7 @@ items: content: "public UnaryCallSettings.Builder addProductToProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.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.ProductSearchSettings.Builder" @@ -179,6 +185,7 @@ items: type: "com.google.api.core.ApiFunction,java.lang.Void>" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.build()" id: "build()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -197,6 +204,7 @@ items: type: "com.microsoft.samples.google.ProductSearchSettings" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createProductSetSettings()" id: "createProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -213,6 +221,7 @@ items: content: "public UnaryCallSettings.Builder createProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createProductSettings()" id: "createProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -229,6 +238,7 @@ items: content: "public UnaryCallSettings.Builder createProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createReferenceImageSettings()" id: "createReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -245,6 +255,7 @@ items: content: "public UnaryCallSettings.Builder createReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteProductSetSettings()" id: "deleteProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -261,6 +272,7 @@ items: content: "public UnaryCallSettings.Builder deleteProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteProductSettings()" id: "deleteProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -277,6 +289,7 @@ items: content: "public UnaryCallSettings.Builder deleteProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteReferenceImageSettings()" id: "deleteReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -293,6 +306,7 @@ items: content: "public UnaryCallSettings.Builder deleteReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getProductSetSettings()" id: "getProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -309,6 +323,7 @@ items: content: "public UnaryCallSettings.Builder getProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getProductSettings()" id: "getProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -325,6 +340,7 @@ items: content: "public UnaryCallSettings.Builder getProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getReferenceImageSettings()" id: "getReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -341,6 +357,7 @@ items: content: "public UnaryCallSettings.Builder getReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getStubSettingsBuilder()" id: "getStubSettingsBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -356,6 +373,7 @@ items: content: "public ProductSearchStubSettings.Builder getStubSettingsBuilder()" return: type: "com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.importProductSetsOperationSettings()" id: "importProductSetsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -372,6 +390,7 @@ items: content: "public OperationCallSettings.Builder importProductSetsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.importProductSetsSettings()" id: "importProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -388,6 +407,7 @@ items: content: "public UnaryCallSettings.Builder importProductSetsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductSetsSettings()" id: "listProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -404,6 +424,7 @@ items: content: "public PagedCallSettings.Builder listProductSetsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductsInProductSetSettings()" id: "listProductsInProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -420,6 +441,7 @@ items: content: "public PagedCallSettings.Builder listProductsInProductSetSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductsSettings()" id: "listProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -436,6 +458,7 @@ items: content: "public PagedCallSettings.Builder listProductsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listReferenceImagesSettings()" id: "listReferenceImagesSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -452,6 +475,7 @@ items: content: "public PagedCallSettings.Builder listReferenceImagesSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.purgeProductsOperationSettings()" id: "purgeProductsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -468,6 +492,7 @@ items: content: "public OperationCallSettings.Builder purgeProductsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.purgeProductsSettings()" id: "purgeProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -484,6 +509,7 @@ items: content: "public UnaryCallSettings.Builder purgeProductsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.removeProductFromProductSetSettings()" id: "removeProductFromProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -500,6 +526,7 @@ items: content: "public UnaryCallSettings.Builder removeProductFromProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.updateProductSetSettings()" id: "updateProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -516,6 +543,7 @@ items: content: "public UnaryCallSettings.Builder updateProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.updateProductSettings()" id: "updateProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -532,6 +560,7 @@ items: content: "public UnaryCallSettings.Builder updateProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" references: - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder*" name: "Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml index e59c4b09..2013ee34 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml @@ -76,6 +76,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.ProductSearchSettings.ProductSearchSettings(com.microsoft.samples.google.ProductSearchSettings.Builder)" id: "ProductSearchSettings(com.microsoft.samples.google.ProductSearchSettings.Builder)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -92,6 +93,7 @@ items: parameters: - id: "settingsBuilder" type: "com.microsoft.samples.google.ProductSearchSettings.Builder" + javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.addProductToProductSetSettings()" id: "addProductToProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -108,6 +110,7 @@ items: content: "public UnaryCallSettings addProductToProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.create(com.google.cloud.vision.v1.stub.ProductSearchStubSettings)" id: "create(com.google.cloud.vision.v1.stub.ProductSearchStubSettings)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -128,6 +131,7 @@ items: type: "com.microsoft.samples.google.ProductSearchSettings" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createProductSetSettings()" id: "createProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -144,6 +148,7 @@ items: content: "public UnaryCallSettings createProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createProductSettings()" id: "createProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -160,6 +165,7 @@ items: content: "public UnaryCallSettings createProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createReferenceImageSettings()" id: "createReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -176,6 +182,7 @@ items: content: "public UnaryCallSettings createReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultApiClientHeaderProviderBuilder()" id: "defaultApiClientHeaderProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -191,6 +198,7 @@ items: content: "public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()" return: type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultCredentialsProviderBuilder()" id: "defaultCredentialsProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -207,6 +215,7 @@ items: content: "public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()" return: type: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultExecutorProviderBuilder()" id: "defaultExecutorProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -223,6 +232,7 @@ items: content: "public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()" return: type: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultGrpcTransportProviderBuilder()" id: "defaultGrpcTransportProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -239,6 +249,7 @@ items: content: "public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()" return: type: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultTransportChannelProvider()" id: "defaultTransportChannelProvider()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -254,6 +265,7 @@ items: content: "public static TransportChannelProvider defaultTransportChannelProvider()" return: type: "com.google.api.gax.rpc.TransportChannelProvider" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteProductSetSettings()" id: "deleteProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -270,6 +282,7 @@ items: content: "public UnaryCallSettings deleteProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteProductSettings()" id: "deleteProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -286,6 +299,7 @@ items: content: "public UnaryCallSettings deleteProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteReferenceImageSettings()" id: "deleteReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -302,6 +316,7 @@ items: content: "public UnaryCallSettings deleteReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getDefaultEndpoint()" id: "getDefaultEndpoint()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -318,6 +333,7 @@ items: content: "public static String getDefaultEndpoint()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getDefaultServiceScopes()" id: "getDefaultServiceScopes()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -334,6 +350,7 @@ items: content: "public static List getDefaultServiceScopes()" return: type: "java.util.List" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getProductSetSettings()" id: "getProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -350,6 +367,7 @@ items: content: "public UnaryCallSettings getProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getProductSettings()" id: "getProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -366,6 +384,7 @@ items: content: "public UnaryCallSettings getProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getReferenceImageSettings()" id: "getReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -382,6 +401,7 @@ items: content: "public UnaryCallSettings getReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.importProductSetsOperationSettings()" id: "importProductSetsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -398,6 +418,7 @@ items: content: "public OperationCallSettings importProductSetsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.importProductSetsSettings()" id: "importProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -414,6 +435,7 @@ items: content: "public UnaryCallSettings importProductSetsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductSetsSettings()" id: "listProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -430,6 +452,7 @@ items: content: "public PagedCallSettings listProductSetsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductsInProductSetSettings()" id: "listProductsInProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -446,6 +469,7 @@ items: content: "public PagedCallSettings listProductsInProductSetSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductsSettings()" id: "listProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -462,6 +486,7 @@ items: content: "public PagedCallSettings listProductsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listReferenceImagesSettings()" id: "listReferenceImagesSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -478,6 +503,7 @@ items: content: "public PagedCallSettings listReferenceImagesSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.newBuilder()" id: "newBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -494,6 +520,7 @@ items: content: "public static ProductSearchSettings.Builder newBuilder()" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" id: "newBuilder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -513,6 +540,7 @@ items: type: "com.google.api.gax.rpc.ClientContext" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.purgeProductsOperationSettings()" id: "purgeProductsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -529,6 +557,7 @@ items: content: "public OperationCallSettings purgeProductsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.purgeProductsSettings()" id: "purgeProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -545,6 +574,7 @@ items: content: "public UnaryCallSettings purgeProductsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.removeProductFromProductSetSettings()" id: "removeProductFromProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -561,6 +591,7 @@ items: content: "public UnaryCallSettings removeProductFromProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -578,6 +609,7 @@ items: content: "public ProductSearchSettings.Builder toBuilder()" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.updateProductSetSettings()" id: "updateProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -594,6 +626,7 @@ items: content: "public UnaryCallSettings updateProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.updateProductSettings()" id: "updateProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -610,6 +643,7 @@ items: content: "public UnaryCallSettings updateProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" references: - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder" name: "ProductSearchSettings.Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml index 8b389ba6..1751f033 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml @@ -44,6 +44,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "enum" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.AUDIOSOURCE_NOT_SET" id: "AUDIOSOURCE_NOT_SET" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -58,6 +59,7 @@ items: content: "public static final RecognitionAudio.AudioSourceCase AUDIOSOURCE_NOT_SET" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" + javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.AudioSourceCase(int)" id: "AudioSourceCase(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -74,6 +76,7 @@ items: parameters: - id: "value" type: "int" + javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.CONTENT" id: "CONTENT" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -88,6 +91,7 @@ items: content: "public static final RecognitionAudio.AudioSourceCase CONTENT" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" + javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.URI" id: "URI" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -102,6 +106,7 @@ items: content: "public static final RecognitionAudio.AudioSourceCase URI" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" + javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.forNumber(int)" id: "forNumber(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -120,6 +125,7 @@ items: type: "int" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.getNumber()" id: "getNumber()" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -135,6 +141,7 @@ items: content: "public int getNumber()" return: type: "int" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.valueOf(int)" id: "valueOf(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -157,6 +164,7 @@ items: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" description: "The enum associated with the given number." status: "deprecated" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.valueOf(java.lang.String)" id: "valueOf(java.lang.String)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -175,6 +183,7 @@ items: type: "java.lang.String" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.values()" id: "values()" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -190,6 +199,7 @@ items: content: "public static RecognitionAudio.AudioSourceCase[] values()" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase[]" + javaType: "method" references: - uid: "int" href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml index 429de39c..375ab3f7 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml @@ -119,6 +119,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.RecognitionAudio.CONTENT_FIELD_NUMBER" id: "CONTENT_FIELD_NUMBER" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -133,6 +134,7 @@ items: content: "public static final int CONTENT_FIELD_NUMBER" return: type: "int" + javaType: "field" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio()" id: "RecognitionAudio()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -146,6 +148,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "private RecognitionAudio()" + javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" id: "RecognitionAudio(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -164,6 +167,7 @@ items: type: "com.google.protobuf.CodedInputStream" - id: "extensionRegistry" type: "com.google.protobuf.ExtensionRegistryLite" + javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder)" id: "RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -180,6 +184,7 @@ items: parameters: - id: "builder" type: "com.google.protobuf.GeneratedMessageV3.Builder" + javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.URI_FIELD_NUMBER" id: "URI_FIELD_NUMBER" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -194,6 +199,7 @@ items: content: "public static final int URI_FIELD_NUMBER" return: type: "int" + javaType: "field" - uid: "com.microsoft.samples.google.RecognitionAudio.getAudioSourceCase()" id: "getAudioSourceCase()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -209,6 +215,7 @@ items: content: "public RecognitionAudio.AudioSourceCase getAudioSourceCase()" return: type: "com.google.cloud.speech.v1.RecognitionAudio.AudioSourceCase" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getContent()" id: "getContent()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -226,6 +233,7 @@ items: return: type: "com.google.protobuf.ByteString" description: "The content." + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getDefaultInstanceForType()" id: "getDefaultInstanceForType()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -241,6 +249,7 @@ items: content: "public Message getDefaultInstanceForType()" return: type: "com.google.protobuf.Message" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getSerializedSize()" id: "getSerializedSize()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -257,6 +266,7 @@ items: content: "public int getSerializedSize()" return: type: "int" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUnknownFields()" id: "getUnknownFields()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -273,6 +283,7 @@ items: content: "public final UnknownFieldSet getUnknownFields()" return: type: "com.google.protobuf.UnknownFieldSet" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUri()" id: "getUri()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -290,6 +301,7 @@ items: return: type: "java.lang.String" description: "The uri." + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUriBytes()" id: "getUriBytes()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -307,6 +319,7 @@ items: return: type: "com.google.protobuf.ByteString" description: "The bytes for uri." + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.hasContent()" id: "hasContent()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -324,6 +337,7 @@ items: return: type: "boolean" description: "Whether the content field is set." + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.hasUri()" id: "hasUri()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -341,6 +355,7 @@ items: return: type: "boolean" description: "Whether the uri field is set." + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.internalGetFieldAccessorTable()" id: "internalGetFieldAccessorTable()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -357,6 +372,7 @@ items: content: "protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()" return: type: "com.google.protobuf.GeneratedMessageV3.FieldAccessorTable" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.isInitialized()" id: "isInitialized()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -373,6 +389,7 @@ items: content: "public final boolean isInitialized()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newBuilderForType()" id: "newBuilderForType()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -388,6 +405,7 @@ items: content: "public Message.Builder newBuilderForType()" return: type: "com.google.protobuf.Message.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)" id: "newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -407,6 +425,7 @@ items: type: "com.google.protobuf.GeneratedMessageV3.BuilderParent" return: type: "com.google.protobuf.Message.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)" id: "newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -426,6 +445,7 @@ items: type: "com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter" return: type: "java.lang.Object" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -441,6 +461,7 @@ items: content: "public Message.Builder toBuilder()" return: type: "com.google.protobuf.Message.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.writeTo(com.google.protobuf.CodedOutputStream)" id: "writeTo(com.google.protobuf.CodedOutputStream)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -460,6 +481,7 @@ items: type: "com.google.protobuf.CodedOutputStream" exceptions: - type: "java.io.IOException" + javaType: "method" references: - uid: "com.google.protobuf.GeneratedMessageV3.Builder" isExternal: true diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml index f8965b77..3fc6e485 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml @@ -52,6 +52,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.SpeechClient" @@ -68,6 +69,7 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechClient" @@ -85,6 +87,7 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.SpeechClient" @@ -107,6 +110,7 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.SpeechClient" @@ -120,6 +124,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "public final void close()" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.SpeechClient" @@ -138,6 +143,7 @@ items: type: "com.microsoft.samples.google.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.SpeechClient" @@ -157,6 +163,7 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.SpeechClient" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechClient" @@ -178,6 +185,7 @@ items: type: "com.microsoft.samples.google.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.SpeechClient" @@ -194,6 +202,7 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.SpeechClient" @@ -209,6 +218,7 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.SpeechClient" @@ -224,6 +234,7 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.SpeechClient" @@ -239,6 +250,7 @@ items: content: "public boolean isShutdown()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.SpeechClient" @@ -254,6 +266,7 @@ items: content: "public boolean isTerminated()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.SpeechClient" @@ -274,6 +287,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.SpeechClient" @@ -297,6 +311,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -313,6 +328,7 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -329,6 +345,7 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.SpeechClient" @@ -352,6 +369,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.SpeechClient" @@ -372,6 +390,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -388,6 +407,7 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.SpeechClient" @@ -401,6 +421,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "public void shutdown()" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.SpeechClient" @@ -414,6 +435,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "public void shutdownNow()" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -430,6 +452,7 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" + javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml index d059fabf..66d37aaa 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml @@ -66,6 +66,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder()" id: "Builder()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -79,6 +80,7 @@ items: package: "com.microsoft.samples.google" syntax: content: "protected Builder()" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" id: "Builder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -95,6 +97,7 @@ items: parameters: - id: "clientContext" type: "com.google.api.gax.rpc.ClientContext" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder)" id: "Builder(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -111,6 +114,7 @@ items: parameters: - id: "stubSettings" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.microsoft.samples.google.SpeechSettings)" id: "Builder(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -127,6 +131,7 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.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.SpeechSettings.Builder" @@ -148,6 +153,7 @@ items: type: "com.microsoft.samples.google.SpeechSettings.Builder" exceptions: - type: "java.lang.Exception" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.build()" id: "build()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -166,6 +172,7 @@ items: type: "com.microsoft.samples.google.SpeechSettings" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.getStubSettingsBuilder()" id: "getStubSettingsBuilder()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -181,6 +188,7 @@ items: content: "public SpeechStubSettings.Builder getStubSettingsBuilder()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.longRunningRecognizeOperationSettings()" id: "longRunningRecognizeOperationSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -197,6 +205,7 @@ items: content: "public OperationCallSettings.Builder longRunningRecognizeOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.longRunningRecognizeSettings()" id: "longRunningRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -213,6 +222,7 @@ items: content: "public UnaryCallSettings.Builder longRunningRecognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.recognizeSettings()" id: "recognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -229,6 +239,7 @@ items: content: "public UnaryCallSettings.Builder recognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.streamingRecognizeSettings()" id: "streamingRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -245,6 +256,7 @@ items: content: "public StreamingCallSettings.Builder streamingRecognizeSettings()" return: type: "com.google.api.gax.rpc.StreamingCallSettings.Builder" + javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder*" name: "Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml index 72220248..e3c3477c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml @@ -59,6 +59,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.SpeechSettings.SpeechSettings(com.microsoft.samples.google.SpeechSettings.Builder)" id: "SpeechSettings(com.microsoft.samples.google.SpeechSettings.Builder)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -75,6 +76,7 @@ items: parameters: - id: "settingsBuilder" type: "com.microsoft.samples.google.SpeechSettings.Builder" + javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -95,6 +97,7 @@ items: type: "com.microsoft.samples.google.SpeechSettings" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultApiClientHeaderProviderBuilder()" id: "defaultApiClientHeaderProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -110,6 +113,7 @@ items: content: "public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()" return: type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultCredentialsProviderBuilder()" id: "defaultCredentialsProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -126,6 +130,7 @@ items: content: "public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()" return: type: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultExecutorProviderBuilder()" id: "defaultExecutorProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -142,6 +147,7 @@ items: content: "public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()" return: type: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultGrpcTransportProviderBuilder()" id: "defaultGrpcTransportProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -158,6 +164,7 @@ items: content: "public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()" return: type: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultTransportChannelProvider()" id: "defaultTransportChannelProvider()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -173,6 +180,7 @@ items: content: "public static TransportChannelProvider defaultTransportChannelProvider()" return: type: "com.google.api.gax.rpc.TransportChannelProvider" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.getDefaultEndpoint()" id: "getDefaultEndpoint()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -189,6 +197,7 @@ items: content: "public static String getDefaultEndpoint()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.getDefaultServiceScopes()" id: "getDefaultServiceScopes()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -205,6 +214,7 @@ items: content: "public static List getDefaultServiceScopes()" return: type: "java.util.List" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.longRunningRecognizeOperationSettings()" id: "longRunningRecognizeOperationSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -221,6 +231,7 @@ items: content: "public OperationCallSettings longRunningRecognizeOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.longRunningRecognizeSettings()" id: "longRunningRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -237,6 +248,7 @@ items: content: "public UnaryCallSettings longRunningRecognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.newBuilder()" id: "newBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -253,6 +265,7 @@ items: content: "public static SpeechSettings.Builder newBuilder()" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" id: "newBuilder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -272,6 +285,7 @@ items: type: "com.google.api.gax.rpc.ClientContext" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.recognizeSettings()" id: "recognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -288,6 +302,7 @@ items: content: "public UnaryCallSettings recognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.streamingRecognizeSettings()" id: "streamingRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -304,6 +319,7 @@ items: content: "public StreamingCallSettings streamingRecognizeSettings()" return: type: "com.google.api.gax.rpc.StreamingCallSettings" + javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -321,6 +337,7 @@ items: content: "public SpeechSettings.Builder toBuilder()" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" + javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings.Builder" name: "SpeechSettings.Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml index 4d836d60..0d785219 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml @@ -16,6 +16,7 @@ items: content: "public static interface ValidationException.Supplier" typeParameters: - id: "T" + javaType: "interface" - uid: "com.microsoft.samples.google.ValidationException.Supplier.get()" id: "get()" parent: "com.microsoft.samples.google.ValidationException.Supplier" @@ -31,6 +32,7 @@ items: content: "public abstract T get()" return: type: "T" + javaType: "method" references: - uid: "T" spec.java: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml index 988e632b..8d58cfd6 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml @@ -49,6 +49,7 @@ items: - "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" - "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" - "java.lang.Throwable.toString()" + javaType: "exception" - uid: "com.microsoft.samples.google.ValidationException.ValidationException(java.lang.String,java.lang.Object...)" id: "ValidationException(java.lang.String,java.lang.Object...)" parent: "com.microsoft.samples.google.ValidationException" @@ -68,6 +69,7 @@ items: type: "java.lang.String" - id: "args" type: "java.lang.Object[]" + javaType: "constructor" - uid: "com.microsoft.samples.google.ValidationException.popCurrentThreadValidationContext()" id: "popCurrentThreadValidationContext()" parent: "com.microsoft.samples.google.ValidationException" @@ -82,6 +84,7 @@ items: summary: "Clears the validation context." syntax: content: "public static void popCurrentThreadValidationContext()" + javaType: "method" - uid: "com.microsoft.samples.google.ValidationException.pushCurrentThreadValidationContext(com.microsoft.samples.google.ValidationException.Supplier)" id: "pushCurrentThreadValidationContext(com.microsoft.samples.google.ValidationException.Supplier)" parent: "com.microsoft.samples.google.ValidationException" @@ -99,6 +102,7 @@ items: parameters: - id: "supplier" type: "com.microsoft.samples.google.ValidationException.Supplier" + javaType: "method" - uid: "com.microsoft.samples.google.ValidationException.pushCurrentThreadValidationContext(java.lang.String)" id: "pushCurrentThreadValidationContext(java.lang.String)" parent: "com.microsoft.samples.google.ValidationException" @@ -115,6 +119,7 @@ items: parameters: - id: "context" type: "java.lang.String" + javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml index 6839651f..907c3100 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml @@ -52,6 +52,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -68,6 +69,7 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "constructor" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -85,6 +87,7 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" + javaType: "constructor" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -107,6 +110,7 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -120,6 +124,7 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public final void close()" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -138,6 +143,7 @@ items: type: "com.microsoft.samples.google.v1beta.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -157,6 +163,7 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.v1beta.SpeechClient" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -178,6 +185,7 @@ items: type: "com.microsoft.samples.google.v1beta.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -194,6 +202,7 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -209,6 +218,7 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -224,6 +234,7 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -239,6 +250,7 @@ items: content: "public boolean isShutdown()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -254,6 +266,7 @@ items: content: "public boolean isTerminated()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -274,6 +287,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -297,6 +311,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -313,6 +328,7 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -329,6 +345,7 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -352,6 +369,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -372,6 +390,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -388,6 +407,7 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -401,6 +421,7 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public void shutdown()" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -414,6 +435,7 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public void shutdownNow()" + javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -430,6 +452,7 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" + javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.yml index c5c77b4d..2fe445d3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.yml @@ -12,6 +12,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.google.v1beta" + javaType: "package" references: - uid: "com.microsoft.samples.google.v1beta.SpeechClient" name: "SpeechClient" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml index e03c37e9..b0c60e3f 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml @@ -52,6 +52,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -68,6 +69,7 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "constructor" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -85,6 +87,7 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" + javaType: "constructor" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -107,6 +110,7 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -120,6 +124,7 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public final void close()" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -138,6 +143,7 @@ items: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -157,6 +163,7 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -178,6 +185,7 @@ items: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" exceptions: - type: "java.io.IOException" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -194,6 +202,7 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -209,6 +218,7 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -224,6 +234,7 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -239,6 +250,7 @@ items: content: "public boolean isShutdown()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -254,6 +266,7 @@ items: content: "public boolean isTerminated()" return: type: "boolean" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -274,6 +287,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -297,6 +311,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -313,6 +328,7 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -329,6 +345,7 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -352,6 +369,7 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -372,6 +390,7 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -388,6 +407,7 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -401,6 +421,7 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public void shutdown()" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -414,6 +435,7 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public void shutdownNow()" + javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -430,6 +452,7 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" + javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.yml index 08ba1571..19fbd1f3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.yml @@ -12,6 +12,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.google.v1p1alpha" + javaType: "package" references: - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient" name: "SpeechClient" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.yml index 88353eca..390f1b73 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.yml @@ -21,6 +21,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.google" + javaType: "package" references: - uid: "com.microsoft.samples.google.BetaApi" name: "BetaApi" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml index ff39a5b1..c3d4a7d2 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml @@ -33,6 +33,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.offers.Offer.Offer()" id: "Offer()" parent: "com.microsoft.samples.offers.Offer" @@ -47,6 +48,7 @@ items: summary: "Initializes a new instance of the Offer class." syntax: content: "public Offer()" + javaType: "constructor" - uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" id: "getReselleeQualifications()" parent: "com.microsoft.samples.offers.Offer" @@ -62,6 +64,7 @@ items: content: "public String[] getReselleeQualifications()" return: type: "java.lang.String[]" + javaType: "method" - uid: "com.microsoft.samples.offers.Offer.getResellerQualifications()" id: "getResellerQualifications()" parent: "com.microsoft.samples.offers.Offer" @@ -77,6 +80,7 @@ items: content: "public String[] getResellerQualifications()" return: type: "java.lang.String[]" + javaType: "method" - uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" id: "setReselleeQualifications(java.lang.String[])" parent: "com.microsoft.samples.offers.Offer" @@ -93,6 +97,7 @@ items: parameters: - id: "value" type: "java.lang.String[]" + javaType: "method" - uid: "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" id: "setResellerQualifications(java.lang.String[])" parent: "com.microsoft.samples.offers.Offer" @@ -109,6 +114,7 @@ items: parameters: - id: "value" type: "java.lang.String[]" + javaType: "method" references: - uid: "com.microsoft.samples.offers.Offer.Offer*" name: "Offer" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml index d046aa55..6afdce97 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.yml @@ -12,6 +12,7 @@ items: type: "Namespace" syntax: content: "package com.microsoft.samples.offers" + javaType: "package" references: - uid: "com.microsoft.samples.offers.Offer" name: "Offer" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml index 89d9b4ce..19b835a1 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage(package).yml @@ -18,6 +18,7 @@ items: summary: "This subpackage contains the sample set of classes for testing DocFx doclet." syntax: content: "package com.microsoft.samples.subpackage" + javaType: "package" references: - uid: "com.microsoft.samples.subpackage.CustomException" name: "CustomException" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml index 9ecf8bd3..e1af09c4 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml @@ -43,6 +43,7 @@ items: - "java.lang.Throwable.printStackTrace(java.io.PrintWriter)" - "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])" - "java.lang.Throwable.toString()" + javaType: "exception" - uid: "com.microsoft.samples.subpackage.CustomException.CustomException(java.lang.String)" id: "CustomException(java.lang.String)" parent: "com.microsoft.samples.subpackage.CustomException" @@ -59,6 +60,7 @@ items: parameters: - id: "message" type: "java.lang.String" + javaType: "constructor" - uid: "com.microsoft.samples.subpackage.CustomException.makeSomething()" id: "makeSomething()" parent: "com.microsoft.samples.subpackage.CustomException" @@ -76,6 +78,7 @@ items: exceptions: - type: "com.microsoft.samples.subpackage.CustomException" description: "with reason message" + javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml index 116528a9..4b1f7d50 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml @@ -22,6 +22,7 @@ items: implements: - "java.io.Serializable" - "java.util.List>" + javaType: "interface" - uid: "com.microsoft.samples.subpackage.Display.hide()" id: "hide()" parent: "com.microsoft.samples.subpackage.Display" @@ -35,6 +36,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public abstract void hide()" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Display.show()" id: "show()" parent: "com.microsoft.samples.subpackage.Display" @@ -48,6 +50,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public abstract void show()" + javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Display.show*" name: "show" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml index d20b6979..0ba6d9d2 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml @@ -38,6 +38,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "enum" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" id: "FEMALE" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -52,6 +53,7 @@ items: content: "public static final Person.IdentificationInfo.Gender FEMALE" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" + javaType: "enumconstant" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender()" id: "Gender()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -65,6 +67,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "private Gender()" + javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" id: "MALE" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -79,6 +82,7 @@ items: content: "public static final Person.IdentificationInfo.Gender MALE" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" + javaType: "enumconstant" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(java.lang.String)" id: "valueOf(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -97,6 +101,7 @@ items: type: "java.lang.String" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" id: "values()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -112,6 +117,7 @@ items: content: "public static Person.IdentificationInfo.Gender[] values()" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender[]" + javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender*" name: "Gender" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml index 27b3ca6c..6918b4e3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml @@ -30,6 +30,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" id: "IdentificationInfo()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo" @@ -43,6 +44,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public IdentificationInfo()" + javaType: "constructor" references: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" name: "IdentificationInfo" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml index 53fcb271..66e908ff 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml @@ -40,6 +40,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.subpackage.Person.Person()" id: "Person()" parent: "com.microsoft.samples.subpackage.Person" @@ -53,6 +54,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public Person()" + javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Person.age" id: "age" parent: "com.microsoft.samples.subpackage.Person" @@ -67,6 +69,7 @@ items: content: "public int age" return: type: "int" + javaType: "field" - uid: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" id: "buildPerson(com.microsoft.samples.subpackage.Person)" parent: "com.microsoft.samples.subpackage.Person" @@ -86,6 +89,7 @@ items: type: "com.microsoft.samples.subpackage.Person" return: type: "com.microsoft.samples.subpackage.Person" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getFirstName()" id: "getFirstName()" parent: "com.microsoft.samples.subpackage.Person" @@ -101,6 +105,7 @@ items: content: "public String getFirstName()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getLastName()" id: "getLastName()" parent: "com.microsoft.samples.subpackage.Person" @@ -116,6 +121,7 @@ items: content: "public String getLastName()" return: type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getSomeSet()" id: "getSomeSet()" parent: "com.microsoft.samples.subpackage.Person" @@ -131,6 +137,7 @@ items: content: "public Set getSomeSet()" return: type: "java.util.Set" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" id: "setFirstName(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person" @@ -147,6 +154,7 @@ items: parameters: - id: "firstName" type: "java.lang.String" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setLastName()" id: "setLastName()" parent: "com.microsoft.samples.subpackage.Person" @@ -160,6 +168,7 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public void setLastName()" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" id: "setLastName(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person" @@ -176,6 +185,7 @@ items: parameters: - id: "lastName" type: "java.lang.String" + javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Person.Person*" name: "Person" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml index 6f16e49d..ed34e40c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml @@ -35,6 +35,7 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" + javaType: "class" - uid: "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" id: "Tuple(T1,T2)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -53,6 +54,7 @@ items: type: "T1" - id: "item2" type: "T2" + javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Tuple.getItem1()" id: "getItem1()" parent: "com.microsoft.samples.subpackage.Tuple" @@ -68,6 +70,7 @@ items: content: "public T1 getItem1()" return: type: "T1" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.getItem2()" id: "getItem2()" parent: "com.microsoft.samples.subpackage.Tuple" @@ -83,6 +86,7 @@ items: content: "public T2 getItem2()" return: type: "T2" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" id: "setItem1(T1)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -99,6 +103,7 @@ items: parameters: - id: "item1" type: "T1" + javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" id: "setItem2(T2)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -115,6 +120,7 @@ items: parameters: - id: "item2" type: "T2" + javaType: "method" references: - uid: "T1" spec.java: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml index bd34b118..a1b07225 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml @@ -19,6 +19,7 @@ items: summary: "The interfaces provided are listed below, along with usage samples.\n\n

SpeechClient

\n\n

Service Description: Service that implements Google Cloud Speech API.\n\n

Sample for SpeechClient:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

AdaptationClient

\n\n

Service Description: Service that implements Google Cloud Speech Adaptation API.\n\n

Sample for AdaptationClient:\n\n

\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n   LocationName parent = LocationName.of(\"[PROJECT]\", \"[LOCATION]\");\n   PhraseSet phraseSet = PhraseSet.newBuilder().build();\n   String phraseSetId = \"phraseSetId959902180\";\n   PhraseSet response = adaptationClient.createPhraseSet(parent, phraseSet, phraseSetId);\n }\n 
" syntax: content: "package com.microsoft.samples" + javaType: "package" references: - uid: "com.microsoft.samples.BasePartnerComponent" name: "BasePartnerComponent" 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 new file mode 100644 index 00000000..ea4eedf2 --- /dev/null +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.yml @@ -0,0 +1,51 @@ +### YamlMime:ManagedReference +items: +- uid: "google-cloud-project" + children: + - "com.microsoft.samples" + - "com.microsoft.samples.agreements" + - "com.microsoft.samples.commentinheritance" + - "com.microsoft.samples.google" + - "com.microsoft.samples.google.v1beta" + - "com.microsoft.samples.google.v1p1alpha" + - "com.microsoft.samples.offers" + - "com.microsoft.samples.subpackage" + langs: + - "java" + nameWithType: "google-cloud-project" + fullName: "google-cloud-project" + type: "Namespace" + javaType: "overview" +references: +- uid: "com.microsoft.samples.agreements" + name: "com.microsoft.samples.agreements" + nameWithType: "com.microsoft.samples.agreements" + fullName: "com.microsoft.samples.agreements" +- uid: "com.microsoft.samples.commentinheritance" + name: "com.microsoft.samples.commentinheritance" + nameWithType: "com.microsoft.samples.commentinheritance" + fullName: "com.microsoft.samples.commentinheritance" +- uid: "com.microsoft.samples.google" + name: "com.microsoft.samples.google" + nameWithType: "com.microsoft.samples.google" + fullName: "com.microsoft.samples.google" +- uid: "com.microsoft.samples.offers" + name: "com.microsoft.samples.offers" + nameWithType: "com.microsoft.samples.offers" + fullName: "com.microsoft.samples.offers" +- uid: "com.microsoft.samples" + name: "com.microsoft.samples" + nameWithType: "com.microsoft.samples" + fullName: "com.microsoft.samples" +- uid: "com.microsoft.samples.subpackage" + name: "com.microsoft.samples.subpackage" + nameWithType: "com.microsoft.samples.subpackage" + fullName: "com.microsoft.samples.subpackage" +- uid: "com.microsoft.samples.google.v1beta" + name: "com.microsoft.samples.google.v1beta" + nameWithType: "com.microsoft.samples.google.v1beta" + fullName: "com.microsoft.samples.google.v1beta" +- uid: "com.microsoft.samples.google.v1p1alpha" + name: "com.microsoft.samples.google.v1p1alpha" + nameWithType: "com.microsoft.samples.google.v1p1alpha" + fullName: "com.microsoft.samples.google.v1p1alpha" 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 c460a0f6..e03f636c 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 @@ -1,6 +1,8 @@ ### YamlMime:TableOfContent - name: "google-cloud-project" items: + - name: "Overview" + href: "overview.html" - name: "Version history" href: "history.md" - uid: "com.microsoft.samples" From f347cd936ea85f9ae3fa01d7a3b7378f08c4b654 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Mon, 15 Nov 2021 09:18:36 -0800 Subject: [PATCH 2/3] chore: fix class pretty-print should be on pre not code --- .../main/java/com/microsoft/util/YamlUtil.java | 2 +- .../java/com/microsoft/util/YamlUtilTest.java | 4 ++-- ...ft.samples.google.ProductSearchSettings.yml | 2 +- ...m.microsoft.samples.google.SpeechClient.yml | 18 +++++++++--------- ...microsoft.samples.google.SpeechSettings.yml | 2 +- ...soft.samples.google.v1beta.SpeechClient.yml | 18 +++++++++--------- ...t.samples.google.v1p1alpha.SpeechClient.yml | 18 +++++++++--------- .../com.microsoft.samples.yml | 2 +- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/util/YamlUtil.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/util/YamlUtil.java index ac53be5c..6995648e 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/util/YamlUtil.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/util/YamlUtil.java @@ -28,7 +28,7 @@ public static String cleanupHtml(String text) { return text; } return text.replaceAll("
([^<]+)
","$1") - .replaceAll("
", "
")
+                .replaceAll("
", "
")
                 .replaceAll("`([^`]+)`", "$1")
                 .replaceAll("\\[([^]]+)]\\(([^)]+)\\)", "$1")
                 .replaceAll("\\[([^]]+)]\\[([^]]+)\\]", "$1")
diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/util/YamlUtilTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/util/YamlUtilTest.java
index ab0fe04a..24d3ef05 100644
--- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/util/YamlUtilTest.java
+++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/util/YamlUtilTest.java
@@ -60,7 +60,7 @@ private MetadataFileItem buildMetadataFileItem(int seed) {
     public void cleanupHtmlRemoveLonePreTagsTest() {
         String expectedActual = "
text
"; String expectedResult = "text"; - String expectedWithCode = "
text
"; + String expectedWithCode = "
text
"; String random = UUID.randomUUID().toString(); assertEquals(expectedResult, YamlUtil.cleanupHtml(expectedActual)); @@ -72,7 +72,7 @@ public void cleanupHtmlRemoveLonePreTagsTest() { @Test public void cleanupHtmlIncludePrettyPrintTest() { String expectedActual = "
";
-        String expectedResult = "
";
+        String expectedResult = "
";
         String random = UUID.randomUUID().toString();
 
         assertEquals(expectedResult, YamlUtil.cleanupHtml(expectedActual));
diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml
index 2013ee34..ae1ecd29 100644
--- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml
+++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml
@@ -45,7 +45,7 @@ items:
   fullName: "com.microsoft.samples.google.ProductSearchSettings"
   type: "Class"
   package: "com.microsoft.samples.google"
-  summary: "Settings class to configure an instance of ProductSearchClient.\n\n 

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

    \n
  • The default service address (vision.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 createProductSet to 30 seconds:\n\n

\n ProductSearchSettings.Builder productSearchSettingsBuilder = ProductSearchSettings.newBuilder();\n productSearchSettingsBuilder\n     .createProductSetSettings()\n     .setRetrySettings(\n         productSearchSettingsBuilder\n             .createProductSetSettings()\n             .getRetrySettings()\n             .toBuilder()\n             .setTotalTimeout(Duration.ofSeconds(30))\n             .build());\n ProductSearchSettings productSearchSettings = productSearchSettingsBuilder.build();\n 
" + summary: "Settings class to configure an instance of ProductSearchClient.\n\n

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

    \n
  • The default service address (vision.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 createProductSet to 30 seconds:\n\n

\n ProductSearchSettings.Builder productSearchSettingsBuilder = ProductSearchSettings.newBuilder();\n productSearchSettingsBuilder\n     .createProductSetSettings()\n     .setRetrySettings(\n         productSearchSettingsBuilder\n             .createProductSetSettings()\n             .getRetrySettings()\n             .toBuilder()\n             .setTotalTimeout(Duration.ofSeconds(30))\n             .build());\n ProductSearchSettings productSearchSettings = productSearchSettingsBuilder.build();\n 
" syntax: content: "public class ProductSearchSettings extends ClientSettings" inheritance: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml index 3fc6e485..091484d6 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml @@ -33,7 +33,7 @@ items: fullName: "com.microsoft.samples.google.SpeechClient" type: "Class" package: "com.microsoft.samples.google" - summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." + summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." syntax: content: "public class SpeechClient implements BackgroundResource" inheritance: @@ -278,7 +278,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(LongRunningRecognizeRequest request)" parameters: @@ -299,7 +299,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -323,7 +323,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable longRunningRecognizeCallable()" return: @@ -340,7 +340,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeOperationCallable*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: @@ -357,7 +357,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -381,7 +381,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognizeRequest request)" parameters: @@ -402,7 +402,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.recognizeCallable*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable recognizeCallable()" return: @@ -447,7 +447,7 @@ items: overload: "com.microsoft.samples.google.SpeechClient.streamingRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google" - summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" + summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" syntax: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml index e3c3477c..6e6426f9 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml @@ -28,7 +28,7 @@ items: fullName: "com.microsoft.samples.google.SpeechSettings" type: "Class" package: "com.microsoft.samples.google" - summary: "Settings class to configure an instance of SpeechClient.\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 SpeechSettings.Builder speechSettingsBuilder = SpeechSettings.newBuilder();\n speechSettingsBuilder\n     .recognizeSettings()\n     .setRetrySettings(\n         speechSettingsBuilder\n             .recognizeSettings()\n             .getRetrySettings()\n             .toBuilder()\n             .setTotalTimeout(Duration.ofSeconds(30))\n             .build());\n SpeechSettings speechSettings = speechSettingsBuilder.build();\n 
" + summary: "Settings class to configure an instance of SpeechClient.\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 SpeechSettings.Builder speechSettingsBuilder = SpeechSettings.newBuilder();\n speechSettingsBuilder\n     .recognizeSettings()\n     .setRetrySettings(\n         speechSettingsBuilder\n             .recognizeSettings()\n             .getRetrySettings()\n             .toBuilder()\n             .setTotalTimeout(Duration.ofSeconds(30))\n             .build());\n SpeechSettings speechSettings = speechSettingsBuilder.build();\n 
" syntax: content: "public class SpeechSettings extends ClientSettings" inheritance: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml index 907c3100..18fccc41 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml @@ -33,7 +33,7 @@ items: fullName: "com.microsoft.samples.google.v1beta.SpeechClient" type: "Class" package: "com.microsoft.samples.google.v1beta" - summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." + summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." syntax: content: "public class SpeechClient implements BackgroundResource" inheritance: @@ -278,7 +278,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(LongRunningRecognizeRequest request)" parameters: @@ -299,7 +299,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -323,7 +323,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable longRunningRecognizeCallable()" return: @@ -340,7 +340,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeOperationCallable*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: @@ -357,7 +357,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -381,7 +381,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognizeRequest request)" parameters: @@ -402,7 +402,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.recognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable recognizeCallable()" return: @@ -447,7 +447,7 @@ items: overload: "com.microsoft.samples.google.v1beta.SpeechClient.streamingRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1beta" - summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" + summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" syntax: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml index b0c60e3f..54c1f259 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml @@ -33,7 +33,7 @@ items: fullName: "com.microsoft.samples.google.v1p1alpha.SpeechClient" type: "Class" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." + summary: "Service Description: Service that implements Google Cloud Speech API.\n\n

This class provides the ability to make remote calls to the backing service through method\n calls that map to API methods. Sample code to get started:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

Note: close() needs to be called on the SpeechClient object to clean up resources such as\n threads. In the example above, try-with-resources is used, which automatically calls close().\n\n

The surface of this class includes several types of Java methods for each of the API's\n methods:\n\n

    \n
  1. A \"flattened\" method. With this type of method, the fields of the request type have been\n converted into function parameters. It may be the case that not all fields are available as\n parameters, and not every API method will have a flattened method entry point.\n
  2. A \"request object\" method. This type of method only takes one parameter, a request object,\n which must be constructed before the call. Not every API method will have a request object\n method.\n
  3. A \"callable\" method. This type of method takes no parameters and returns an immutable API\n callable object, which can be used to initiate calls to the service.\n
\n\n

See the individual methods for example code.\n\n

Many parameters require resource names to be formatted in a particular way. To assist with\n these names, this class includes a format method for each type of name, and additionally a parse\n method to extract the individual identifiers contained within names that are returned.\n\n

This class can be customized by passing in a custom instance of SpeechSettings to create().\n For example:\n\n

To customize credentials:\n\n

\n SpeechSettings speechSettings =\n     SpeechSettings.newBuilder()\n         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))\n         .build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

To customize the endpoint:\n\n

\n SpeechSettings speechSettings = SpeechSettings.newBuilder().setEndpoint(myEndpoint).build();\n SpeechClient speechClient = SpeechClient.create(speechSettings);\n 
\n\n

Please refer to the GitHub repository's samples for more quickstart code snippets." syntax: content: "public class SpeechClient implements BackgroundResource" inheritance: @@ -278,7 +278,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   LongRunningRecognizeResponse response = speechClient.longRunningRecognizeAsync(request).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(LongRunningRecognizeRequest request)" parameters: @@ -299,7 +299,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   LongRunningRecognizeResponse response =\n       speechClient.longRunningRecognizeAsync(config, audio).get();\n }\n 
" syntax: content: "public final OperationFuture longRunningRecognizeAsync(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -323,7 +323,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n   // Do something.\n   Operation response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable longRunningRecognizeCallable()" return: @@ -340,7 +340,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeOperationCallable*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" + summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error or an Operation.response which contains a\n LongRunningRecognizeResponse message. For more information on asynchronous speech\n recognition, see the how-to.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   LongRunningRecognizeRequest request =\n       LongRunningRecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n           .build();\n   OperationFuture future =\n       speechClient.longRunningRecognizeOperationCallable().futureCall(request);\n   // Do something.\n   LongRunningRecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: @@ -357,7 +357,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognitionConfig config, RecognitionAudio audio)" parameters: @@ -381,7 +381,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   RecognizeResponse response = speechClient.recognize(request);\n }\n 
" syntax: content: "public final RecognizeResponse recognize(RecognizeRequest request)" parameters: @@ -402,7 +402,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" + summary: "Performs synchronous speech recognition: receive results after all audio has been sent and\n processed.\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognizeRequest request =\n       RecognizeRequest.newBuilder()\n           .setConfig(RecognitionConfig.newBuilder().build())\n           .setAudio(RecognitionAudio.newBuilder().build())\n           .build();\n   ApiFuture future = speechClient.recognizeCallable().futureCall(request);\n   // Do something.\n   RecognizeResponse response = future.get();\n }\n 
" syntax: content: "public final UnaryCallable recognizeCallable()" return: @@ -447,7 +447,7 @@ items: overload: "com.microsoft.samples.google.v1p1alpha.SpeechClient.streamingRecognizeCallable*" type: "Method" package: "com.microsoft.samples.google.v1p1alpha" - summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" + summary: "Performs bidirectional streaming speech recognition: receive results while sending audio. This\n method is only available via the gRPC API (not REST).\n\n

Sample code:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   BidiStream bidiStream =\n       speechClient.streamingRecognizeCallable().call();\n   StreamingRecognizeRequest request = StreamingRecognizeRequest.newBuilder().build();\n   bidiStream.send(request);\n   for (StreamingRecognizeResponse response : bidiStream) {\n     // Do something when a response is received.\n   }\n }\n 
" syntax: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml index a1b07225..b6c5a0ad 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.yml @@ -16,7 +16,7 @@ items: nameWithType: "com.microsoft.samples" fullName: "com.microsoft.samples" type: "Namespace" - summary: "The interfaces provided are listed below, along with usage samples.\n\n

SpeechClient

\n\n

Service Description: Service that implements Google Cloud Speech API.\n\n

Sample for SpeechClient:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

AdaptationClient

\n\n

Service Description: Service that implements Google Cloud Speech Adaptation API.\n\n

Sample for AdaptationClient:\n\n

\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n   LocationName parent = LocationName.of(\"[PROJECT]\", \"[LOCATION]\");\n   PhraseSet phraseSet = PhraseSet.newBuilder().build();\n   String phraseSetId = \"phraseSetId959902180\";\n   PhraseSet response = adaptationClient.createPhraseSet(parent, phraseSet, phraseSetId);\n }\n 
" + summary: "The interfaces provided are listed below, along with usage samples.\n\n

SpeechClient

\n\n

Service Description: Service that implements Google Cloud Speech API.\n\n

Sample for SpeechClient:\n\n

\n try (SpeechClient speechClient = SpeechClient.create()) {\n   RecognitionConfig config = RecognitionConfig.newBuilder().build();\n   RecognitionAudio audio = RecognitionAudio.newBuilder().build();\n   RecognizeResponse response = speechClient.recognize(config, audio);\n }\n 
\n\n

AdaptationClient

\n\n

Service Description: Service that implements Google Cloud Speech Adaptation API.\n\n

Sample for AdaptationClient:\n\n

\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n   LocationName parent = LocationName.of(\"[PROJECT]\", \"[LOCATION]\");\n   PhraseSet phraseSet = PhraseSet.newBuilder().build();\n   String phraseSetId = \"phraseSetId959902180\";\n   PhraseSet response = adaptationClient.createPhraseSet(parent, phraseSet, phraseSetId);\n }\n 
" syntax: content: "package com.microsoft.samples" javaType: "package" From 75ed042a844fa2e52a00ca44687100037d62d9a6 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Mon, 15 Nov 2021 09:41:42 -0800 Subject: [PATCH 3/3] only include javaType if using in template --- .../java/com/microsoft/lookup/BaseLookup.java | 7 +++- .../com/microsoft/lookup/BaseLookupTest.java | 14 +++++--- ...microsoft.samples.BasePartnerComponent.yml | 4 --- ...oft.samples.BasePartnerComponentString.yml | 4 --- .../com.microsoft.samples.IPartner.yml | 2 -- .../com.microsoft.samples.KeyValuePair.yml | 5 --- .../com.microsoft.samples.Link.yml | 6 ---- ...om.microsoft.samples.Subpackage(class).yml | 2 -- .../com.microsoft.samples.SuperHero.yml | 14 -------- ...s.AgreementDetailsCollectionOperations.yml | 3 -- ...t.samples.agreements.AgreementMetaData.yml | 8 ----- ...agreements.IAgreementDetailsCollection.yml | 2 -- ....samples.agreements.ResourceCollection.yml | 2 -- ...soft.samples.commentinheritance.Animal.yml | 6 ---- ...samples.commentinheritance.Carnivorous.yml | 3 -- ...crosoft.samples.commentinheritance.Dog.yml | 9 ----- ...s.commentinheritance.Herbivorous.Plant.yml | 2 -- ...samples.commentinheritance.Herbivorous.yml | 3 -- ...soft.samples.commentinheritance.Mammal.yml | 3 -- ....samples.commentinheritance.Omnivorous.yml | 4 --- ...ft.samples.commentinheritance.Organism.yml | 2 -- ....samples.commentinheritance.Viviparous.yml | 3 -- .../com.microsoft.samples.google.BetaApi.yml | 1 - ...s.google.ProductSearchSettings.Builder.yml | 29 ---------------- ...t.samples.google.ProductSearchSettings.yml | 34 ------------------- ...oogle.RecognitionAudio.AudioSourceCase.yml | 10 ------ ...rosoft.samples.google.RecognitionAudio.yml | 22 ------------ ....microsoft.samples.google.SpeechClient.yml | 23 ------------- ....samples.google.SpeechSettings.Builder.yml | 12 ------- ...icrosoft.samples.google.SpeechSettings.yml | 17 ---------- ...es.google.ValidationException.Supplier.yml | 2 -- ...oft.samples.google.ValidationException.yml | 4 --- ...oft.samples.google.v1beta.SpeechClient.yml | 23 ------------- ....samples.google.v1p1alpha.SpeechClient.yml | 23 ------------- .../com.microsoft.samples.offers.Offer.yml | 6 ---- ...oft.samples.subpackage.CustomException.yml | 2 -- ...m.microsoft.samples.subpackage.Display.yml | 3 -- ...ckage.Person.IdentificationInfo.Gender.yml | 6 ---- ...s.subpackage.Person.IdentificationInfo.yml | 2 -- ...om.microsoft.samples.subpackage.Person.yml | 10 ------ ...com.microsoft.samples.subpackage.Tuple.yml | 6 ---- 41 files changed, 15 insertions(+), 328 deletions(-) diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java index c7e14117..ff5cc116 100644 --- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java +++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/lookup/BaseLookup.java @@ -123,7 +123,12 @@ public String extractJavaType(T element, String name) { if (element.getKind().name().equals(ElementKind.CLASS.name()) && name.contains("Exception")){ return "exception"; } - return element.getKind().name().toLowerCase().replaceAll("_",""); + String javatype = element.getKind().name().toLowerCase().replaceAll("_",""); + + if (javatype.equals("package") || javatype.equals("overview") || javatype.equals("annotationtype")){ + return javatype; + } + return null; } public String extractContent(T key) { diff --git a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java index 2fe33e3a..6301d56d 100644 --- a/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java +++ b/third_party/docfx-doclet-143274/src/test/java/com/microsoft/lookup/BaseLookupTest.java @@ -224,11 +224,7 @@ public void testExtractMethods() { @Test public void testExtractJavaType() { - String name = "com.microsoft.samples.google.SpeechClient"; - when(typeElement.getKind()).thenReturn(ElementKind.CLASS); - assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "class"); - - name = "com.microsoft.samples.google.ValidationException"; + String name = "com.microsoft.samples.google.ValidationException"; when(typeElement.getKind()).thenReturn(ElementKind.CLASS); assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "exception"); @@ -239,6 +235,14 @@ public void testExtractJavaType() { name = "com.microsoft.samples.google"; when(typeElement.getKind()).thenReturn(ElementKind.PACKAGE); assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), "package"); + + name = "com.microsoft.samples.google.SpeechClient"; + when(typeElement.getKind()).thenReturn(ElementKind.CLASS); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), null); + + name = "com.microsoft.samples.google.ValidationException.Supplier"; + when(typeElement.getKind()).thenReturn(ElementKind.INTERFACE); + assertEquals("Wrong javaType", baseLookup.extractJavaType(typeElement, name), null); } private ExtendedMetadataFileItem buildExtendedMetadataFileItem(Element element) { diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml index b2fa2865..5aa4cfcf 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml @@ -33,7 +33,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" id: "BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" parent: "com.microsoft.samples.BasePartnerComponent" @@ -55,7 +54,6 @@ items: - id: "componentContext" type: "TContext" description: "A component context object to work with." - javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponent.testBase()" id: "testBase()" parent: "com.microsoft.samples.BasePartnerComponent" @@ -69,7 +67,6 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testBase()" - javaType: "method" - uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" id: "testInherited()" parent: "com.microsoft.samples.BasePartnerComponent" @@ -83,7 +80,6 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testInherited()" - javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml index ae5c5f8f..1a113ab3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponentString.yml @@ -34,7 +34,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner)" id: "BasePartnerComponentString(com.microsoft.samples.IPartner)" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -53,7 +52,6 @@ items: - id: "rootPartnerOperations" type: "com.microsoft.samples.IPartner" description: "The root partner operations that created this component." - javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponentString.BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" id: "BasePartnerComponentString(com.microsoft.samples.IPartner,java.lang.String)" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -75,7 +73,6 @@ items: - id: "componentContext" type: "java.lang.String" description: "A component context object to work with." - javaType: "constructor" - uid: "com.microsoft.samples.BasePartnerComponentString.testInherited()" id: "testInherited()" parent: "com.microsoft.samples.BasePartnerComponentString" @@ -90,7 +87,6 @@ items: package: "com.microsoft.samples" syntax: content: "protected void testInherited()" - javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml index f51b6c1a..9bae6eeb 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.IPartner.yml @@ -15,7 +15,6 @@ items: summary: "The main entry point into using the partner SDK functionality. Represents a partner and encapsulates all the behavior\n attached to partners. Use this interface to get to the partner's customers, profiles, and customer orders, profiles\n and subscriptions and more." syntax: content: "public interface IPartner" - javaType: "interface" - uid: "com.microsoft.samples.IPartner.getCredentials()" id: "getCredentials()" parent: "com.microsoft.samples.IPartner" @@ -33,7 +32,6 @@ items: return: type: "java.lang.String" description: "The partner credentials." - javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml index 1df06952..099d824e 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.KeyValuePair.yml @@ -34,7 +34,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair()" id: "KeyValuePair()" parent: "com.microsoft.samples.KeyValuePair" @@ -48,7 +47,6 @@ items: package: "com.microsoft.samples" syntax: content: "public KeyValuePair()" - javaType: "constructor" - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair(K,V)" id: "KeyValuePair(K,V)" parent: "com.microsoft.samples.KeyValuePair" @@ -67,7 +65,6 @@ items: type: "K" - id: "value" type: "V" - javaType: "constructor" - uid: "com.microsoft.samples.KeyValuePair.getKey()" id: "getKey()" parent: "com.microsoft.samples.KeyValuePair" @@ -83,7 +80,6 @@ items: content: "public K getKey()" return: type: "K" - javaType: "method" - uid: "com.microsoft.samples.KeyValuePair.getValue()" id: "getValue()" parent: "com.microsoft.samples.KeyValuePair" @@ -99,7 +95,6 @@ items: content: "public V getValue()" return: type: "V" - javaType: "method" references: - uid: "com.microsoft.samples.KeyValuePair.KeyValuePair*" name: "KeyValuePair" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml index 0556205d..9e3ddad6 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Link.yml @@ -32,7 +32,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.Link.Link()" id: "Link()" parent: "com.microsoft.samples.Link" @@ -46,7 +45,6 @@ items: package: "com.microsoft.samples" syntax: content: "public Link()" - javaType: "constructor" - uid: "com.microsoft.samples.Link.getHeaders()" id: "getHeaders()" parent: "com.microsoft.samples.Link" @@ -62,7 +60,6 @@ items: content: "public Collection> getHeaders()" return: type: "java.util.Collection>" - javaType: "method" - uid: "com.microsoft.samples.Link.getMethod()" id: "getMethod()" parent: "com.microsoft.samples.Link" @@ -78,7 +75,6 @@ items: content: "public String getMethod()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.Link.setHeaders(java.util.Collection>)" id: "setHeaders(java.util.Collection>)" parent: "com.microsoft.samples.Link" @@ -95,7 +91,6 @@ items: parameters: - id: "value" type: "java.util.Collection>" - javaType: "method" - uid: "com.microsoft.samples.Link.setMethod(java.lang.String)" id: "setMethod(java.lang.String)" parent: "com.microsoft.samples.Link" @@ -112,7 +107,6 @@ items: parameters: - id: "value" type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.Link.Link*" name: "Link" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml index dfdafac8..29f1bf97 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.Subpackage(class).yml @@ -28,7 +28,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.Subpackage.Subpackage()" id: "Subpackage()" parent: "com.microsoft.samples.Subpackage" @@ -42,7 +41,6 @@ items: package: "com.microsoft.samples" syntax: content: "public Subpackage()" - javaType: "constructor" references: - uid: "com.microsoft.samples.Subpackage.Subpackage*" name: "Subpackage" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml index 3b93e3b4..543bfec2 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.SuperHero.yml @@ -52,7 +52,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.SuperHero.SOME_PUBLIC_STRING" id: "SOME_PUBLIC_STRING" parent: "com.microsoft.samples.SuperHero" @@ -67,7 +66,6 @@ items: content: "public final String SOME_PUBLIC_STRING" return: type: "java.lang.String" - javaType: "field" - uid: "com.microsoft.samples.SuperHero.SuperHero()" id: "SuperHero()" parent: "com.microsoft.samples.SuperHero" @@ -81,7 +79,6 @@ items: package: "com.microsoft.samples" syntax: content: "public SuperHero()" - javaType: "constructor" - uid: "com.microsoft.samples.SuperHero.SuperHero(java.lang.String,java.lang.String,int,int)" id: "SuperHero(java.lang.String,java.lang.String,int,int)" parent: "com.microsoft.samples.SuperHero" @@ -104,7 +101,6 @@ items: type: "int" - id: "defense" type: "int" - javaType: "constructor" - uid: "com.microsoft.samples.SuperHero.getDefense()" id: "getDefense()" parent: "com.microsoft.samples.SuperHero" @@ -120,7 +116,6 @@ items: content: "public int getDefense()" return: type: "int" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.getHealth()" id: "getHealth()" parent: "com.microsoft.samples.SuperHero" @@ -136,7 +131,6 @@ items: content: "protected int getHealth()" return: type: "int" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.getHeroName()" id: "getHeroName()" parent: "com.microsoft.samples.SuperHero" @@ -152,7 +146,6 @@ items: content: "public String getHeroName()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.getLastName()" id: "getLastName()" parent: "com.microsoft.samples.SuperHero" @@ -171,7 +164,6 @@ items: return: type: "java.lang.String" description: "lastName in uppercase. But it's not the end,\n because of multiline comment" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.getUniquePower()" id: "getUniquePower()" parent: "com.microsoft.samples.SuperHero" @@ -187,7 +179,6 @@ items: content: "public String getUniquePower()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.setDefense(int)" id: "setDefense(int)" parent: "com.microsoft.samples.SuperHero" @@ -204,7 +195,6 @@ items: parameters: - id: "defense" type: "int" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.setHealth(int)" id: "setHealth(int)" parent: "com.microsoft.samples.SuperHero" @@ -221,7 +211,6 @@ items: parameters: - id: "health" type: "int" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.setHeroName(java.lang.String)" id: "setHeroName(java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -238,7 +227,6 @@ items: parameters: - id: "heroName" type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.setUniquePower(java.lang.String)" id: "setUniquePower(java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -255,7 +243,6 @@ items: parameters: - id: "uniquePower" type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.SuperHero.successfullyAttacked(int,java.lang.String)" id: "successfullyAttacked(int,java.lang.String)" parent: "com.microsoft.samples.SuperHero" @@ -284,7 +271,6 @@ items: - type: "java.lang.IllegalArgumentException" description: "when incomingDamage is negative and thanks for Exception" status: "deprecated" - javaType: "method" references: - uid: "com.microsoft.samples.SuperHero.SuperHero*" name: "SuperHero" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml index 305b0f01..22c01beb 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.yml @@ -37,7 +37,6 @@ items: - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" status: "deprecated" - javaType: "class" - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" id: "AgreementDetailsCollectionOperations(com.microsoft.samples.IPartner)" parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" @@ -56,7 +55,6 @@ items: - id: "rootPartnerOperations" type: "com.microsoft.samples.IPartner" description: "The root partner operations instance." - javaType: "constructor" - uid: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations.get()" id: "get()" parent: "com.microsoft.samples.agreements.AgreementDetailsCollectionOperations" @@ -75,7 +73,6 @@ items: type: "com.microsoft.samples.agreements.ResourceCollection" description: "A list of agreement details." status: "deprecated" - javaType: "method" references: - uid: "com.microsoft.samples.IPartner" name: "IPartner" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml index 3a19ea6a..50cdfb1e 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.AgreementMetaData.yml @@ -35,7 +35,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData()" id: "AgreementMetaData()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -49,7 +48,6 @@ items: package: "com.microsoft.samples.agreements" syntax: content: "public AgreementMetaData()" - javaType: "constructor" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getAgreementLink()" id: "getAgreementLink()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -65,7 +63,6 @@ items: content: "public String getAgreementLink()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getTemplateId()" id: "getTemplateId()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -81,7 +78,6 @@ items: content: "public String getTemplateId()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.getVersionRank()" id: "getVersionRank()" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -97,7 +93,6 @@ items: content: "public int getVersionRank()" return: type: "int" - javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setAgreementLink(java.lang.String)" id: "setAgreementLink(java.lang.String)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -114,7 +109,6 @@ items: parameters: - id: "value" type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setTemplateId(java.lang.String)" id: "setTemplateId(java.lang.String)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -131,7 +125,6 @@ items: parameters: - id: "value" type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.agreements.AgreementMetaData.setVersionRank(int)" id: "setVersionRank(int)" parent: "com.microsoft.samples.agreements.AgreementMetaData" @@ -148,7 +141,6 @@ items: parameters: - id: "value" type: "int" - javaType: "method" references: - uid: "com.microsoft.samples.agreements.AgreementMetaData.AgreementMetaData*" name: "AgreementMetaData" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml index e9d2035b..8afb653a 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.IAgreementDetailsCollection.yml @@ -16,7 +16,6 @@ items: syntax: content: "public interface IAgreementDetailsCollection" status: "deprecated" - javaType: "interface" - uid: "com.microsoft.samples.agreements.IAgreementDetailsCollection.get()" id: "get()" parent: "com.microsoft.samples.agreements.IAgreementDetailsCollection" @@ -34,7 +33,6 @@ items: return: type: "com.microsoft.samples.agreements.ResourceCollection" description: "The current agreement metadata." - javaType: "method" references: - uid: "com.microsoft.samples.agreements.ResourceCollection" spec.java: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml index 3b5545e3..59cea190 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.agreements.ResourceCollection.yml @@ -31,7 +31,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection()" id: "ResourceCollection()" parent: "com.microsoft.samples.agreements.ResourceCollection" @@ -45,7 +44,6 @@ items: package: "com.microsoft.samples.agreements" syntax: content: "public ResourceCollection()" - javaType: "constructor" references: - uid: "com.microsoft.samples.agreements.ResourceCollection.ResourceCollection*" name: "ResourceCollection" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml index 89fcc4ab..b3a2d5c4 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Animal.yml @@ -35,7 +35,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Animal.Animal()" id: "Animal()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -49,7 +48,6 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Animal()" - javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Animal.breathe()" id: "breathe()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -64,7 +62,6 @@ items: summary: "Breathe." syntax: content: "public void breathe()" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.feed()" id: "feed()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -79,7 +76,6 @@ items: summary: "Feed offspring." syntax: content: "public abstract void feed()" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -96,7 +92,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Animal.verballyCommunicate()" id: "verballyCommunicate()" parent: "com.microsoft.samples.commentinheritance.Animal" @@ -111,7 +106,6 @@ items: summary: "Communicate verbally." syntax: content: "public abstract void verballyCommunicate()" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal.Animal*" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml index 200b4feb..2ca0ee03 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Carnivorous.yml @@ -16,7 +16,6 @@ items: summary: "Marks an Animal that eats other animals." syntax: content: "public interface Carnivorous" - javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Carnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Carnivorous" @@ -35,7 +34,6 @@ items: - id: "animalBeingEaten" type: "com.microsoft.samples.commentinheritance.Animal" description: "Animal that will be eaten." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Carnivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Carnivorous" @@ -52,7 +50,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml index de33a5a8..169cf75c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Dog.yml @@ -45,7 +45,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Dog.Dog()" id: "Dog()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -59,7 +58,6 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Dog()" - javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -78,7 +76,6 @@ items: - id: "otherAnimal" type: "com.microsoft.samples.commentinheritance.Animal" description: "Tasty treat." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -97,7 +94,6 @@ items: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" description: "Plant that this dog will eat." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.feed()" id: "feed()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -113,7 +109,6 @@ items: summary: "Feed offspring." syntax: content: "public void feed()" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.getHairColor()" id: "getHairColor()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -131,7 +126,6 @@ items: return: type: "java.awt.Color" description: "Color of the dog's fur." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -149,7 +143,6 @@ items: content: "public String getKind()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.giveBirth(int)" id: "giveBirth(int)" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -167,7 +160,6 @@ items: - id: "numberPuppies" type: "int" description: "Number of puppies being born." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Dog.verballyCommunicate()" id: "verballyCommunicate()" parent: "com.microsoft.samples.commentinheritance.Dog" @@ -183,7 +175,6 @@ items: summary: "Communicate verbally. Bark." syntax: content: "public void verballyCommunicate()" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Dog.Dog*" name: "Dog" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml index ba1e2ddc..f9a243c0 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.Plant.yml @@ -28,7 +28,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant()" id: "Plant()" parent: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" @@ -42,7 +41,6 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Plant()" - javaType: "constructor" references: - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant.Plant*" name: "Plant" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml index 7413b5a8..e2516b68 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Herbivorous.yml @@ -17,7 +17,6 @@ items: summary: "Marks animals that eat plants." syntax: content: "public interface Herbivorous" - javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Herbivorous" @@ -36,7 +35,6 @@ items: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" description: "Plant that will be eaten." - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Herbivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Herbivorous" @@ -53,7 +51,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" name: "Herbivorous.Plant" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml index 09ddda10..82c30c40 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Mammal.yml @@ -35,7 +35,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal()" id: "Mammal()" parent: "com.microsoft.samples.commentinheritance.Mammal" @@ -49,7 +48,6 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public Mammal()" - javaType: "constructor" - uid: "com.microsoft.samples.commentinheritance.Mammal.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Mammal" @@ -67,7 +65,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Mammal.Mammal*" name: "Mammal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml index 0f018d6d..7dc54473 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Omnivorous.yml @@ -20,7 +20,6 @@ items: implements: - "com.microsoft.samples.commentinheritance.Carnivorous" - "com.microsoft.samples.commentinheritance.Herbivorous" - javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Animal)" id: "eat(com.microsoft.samples.commentinheritance.Animal)" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -38,7 +37,6 @@ items: parameters: - id: "animalToBeEaten" type: "com.microsoft.samples.commentinheritance.Animal" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" id: "eat(com.microsoft.samples.commentinheritance.Herbivorous.Plant)" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -56,7 +54,6 @@ items: parameters: - id: "plantToBeEaten" type: "com.microsoft.samples.commentinheritance.Herbivorous.Plant" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Omnivorous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Omnivorous" @@ -73,7 +70,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.commentinheritance.Animal" name: "Animal" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml index 5db2f633..e68e4d93 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Organism.yml @@ -14,7 +14,6 @@ items: package: "com.microsoft.samples.commentinheritance" syntax: content: "public interface Organism" - javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Organism.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Organism" @@ -31,7 +30,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml index a4010e4b..2d96ea18 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.commentinheritance.Viviparous.yml @@ -16,7 +16,6 @@ items: summary: "Mammals that give birth to young that develop within the mother's body." syntax: content: "public interface Viviparous" - javaType: "interface" - uid: "com.microsoft.samples.commentinheritance.Viviparous.getKind()" id: "getKind()" parent: "com.microsoft.samples.commentinheritance.Viviparous" @@ -33,7 +32,6 @@ items: content: "public abstract String getKind()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.commentinheritance.Viviparous.giveBirth(int)" id: "giveBirth(int)" parent: "com.microsoft.samples.commentinheritance.Viviparous" @@ -50,7 +48,6 @@ items: parameters: - id: "numberOfOffspring" type: "int" - javaType: "method" references: - uid: "int" href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml index 44b38a02..d70e3939 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.BetaApi.yml @@ -34,7 +34,6 @@ items: content: "public abstract String value()" return: type: "java.lang.String" - javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml index cfc63812..1f691bf3 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.Builder.yml @@ -83,7 +83,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder()" id: "Builder()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -97,7 +96,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "protected Builder()" - javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" id: "Builder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -114,7 +112,6 @@ items: parameters: - id: "clientContext" type: "com.google.api.gax.rpc.ClientContext" - javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder)" id: "Builder(com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -131,7 +128,6 @@ items: parameters: - id: "stubSettings" type: "com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder" - javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder(com.microsoft.samples.google.ProductSearchSettings)" id: "Builder(com.microsoft.samples.google.ProductSearchSettings)" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -148,7 +144,6 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.ProductSearchSettings" - javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.addProductToProductSetSettings()" id: "addProductToProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -165,7 +160,6 @@ items: content: "public UnaryCallSettings.Builder addProductToProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.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.ProductSearchSettings.Builder" @@ -185,7 +179,6 @@ items: type: "com.google.api.core.ApiFunction,java.lang.Void>" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.build()" id: "build()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -204,7 +197,6 @@ items: type: "com.microsoft.samples.google.ProductSearchSettings" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createProductSetSettings()" id: "createProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -221,7 +213,6 @@ items: content: "public UnaryCallSettings.Builder createProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createProductSettings()" id: "createProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -238,7 +229,6 @@ items: content: "public UnaryCallSettings.Builder createProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.createReferenceImageSettings()" id: "createReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -255,7 +245,6 @@ items: content: "public UnaryCallSettings.Builder createReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteProductSetSettings()" id: "deleteProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -272,7 +261,6 @@ items: content: "public UnaryCallSettings.Builder deleteProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteProductSettings()" id: "deleteProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -289,7 +277,6 @@ items: content: "public UnaryCallSettings.Builder deleteProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.deleteReferenceImageSettings()" id: "deleteReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -306,7 +293,6 @@ items: content: "public UnaryCallSettings.Builder deleteReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getProductSetSettings()" id: "getProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -323,7 +309,6 @@ items: content: "public UnaryCallSettings.Builder getProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getProductSettings()" id: "getProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -340,7 +325,6 @@ items: content: "public UnaryCallSettings.Builder getProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getReferenceImageSettings()" id: "getReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -357,7 +341,6 @@ items: content: "public UnaryCallSettings.Builder getReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.getStubSettingsBuilder()" id: "getStubSettingsBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -373,7 +356,6 @@ items: content: "public ProductSearchStubSettings.Builder getStubSettingsBuilder()" return: type: "com.google.cloud.vision.v1.stub.ProductSearchStubSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.importProductSetsOperationSettings()" id: "importProductSetsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -390,7 +372,6 @@ items: content: "public OperationCallSettings.Builder importProductSetsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.importProductSetsSettings()" id: "importProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -407,7 +388,6 @@ items: content: "public UnaryCallSettings.Builder importProductSetsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductSetsSettings()" id: "listProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -424,7 +404,6 @@ items: content: "public PagedCallSettings.Builder listProductSetsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductsInProductSetSettings()" id: "listProductsInProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -441,7 +420,6 @@ items: content: "public PagedCallSettings.Builder listProductsInProductSetSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listProductsSettings()" id: "listProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -458,7 +436,6 @@ items: content: "public PagedCallSettings.Builder listProductsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.listReferenceImagesSettings()" id: "listReferenceImagesSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -475,7 +452,6 @@ items: content: "public PagedCallSettings.Builder listReferenceImagesSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.purgeProductsOperationSettings()" id: "purgeProductsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -492,7 +468,6 @@ items: content: "public OperationCallSettings.Builder purgeProductsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.purgeProductsSettings()" id: "purgeProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -509,7 +484,6 @@ items: content: "public UnaryCallSettings.Builder purgeProductsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.removeProductFromProductSetSettings()" id: "removeProductFromProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -526,7 +500,6 @@ items: content: "public UnaryCallSettings.Builder removeProductFromProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.updateProductSetSettings()" id: "updateProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -543,7 +516,6 @@ items: content: "public UnaryCallSettings.Builder updateProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.updateProductSettings()" id: "updateProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings.Builder" @@ -560,7 +532,6 @@ items: content: "public UnaryCallSettings.Builder updateProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" references: - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder.Builder*" name: "Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml index ae1ecd29..fcb4b7e9 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ProductSearchSettings.yml @@ -76,7 +76,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.ProductSearchSettings.ProductSearchSettings(com.microsoft.samples.google.ProductSearchSettings.Builder)" id: "ProductSearchSettings(com.microsoft.samples.google.ProductSearchSettings.Builder)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -93,7 +92,6 @@ items: parameters: - id: "settingsBuilder" type: "com.microsoft.samples.google.ProductSearchSettings.Builder" - javaType: "constructor" - uid: "com.microsoft.samples.google.ProductSearchSettings.addProductToProductSetSettings()" id: "addProductToProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -110,7 +108,6 @@ items: content: "public UnaryCallSettings addProductToProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.create(com.google.cloud.vision.v1.stub.ProductSearchStubSettings)" id: "create(com.google.cloud.vision.v1.stub.ProductSearchStubSettings)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -131,7 +128,6 @@ items: type: "com.microsoft.samples.google.ProductSearchSettings" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createProductSetSettings()" id: "createProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -148,7 +144,6 @@ items: content: "public UnaryCallSettings createProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createProductSettings()" id: "createProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -165,7 +160,6 @@ items: content: "public UnaryCallSettings createProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.createReferenceImageSettings()" id: "createReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -182,7 +176,6 @@ items: content: "public UnaryCallSettings createReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultApiClientHeaderProviderBuilder()" id: "defaultApiClientHeaderProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -198,7 +191,6 @@ items: content: "public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()" return: type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultCredentialsProviderBuilder()" id: "defaultCredentialsProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -215,7 +207,6 @@ items: content: "public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()" return: type: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultExecutorProviderBuilder()" id: "defaultExecutorProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -232,7 +223,6 @@ items: content: "public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()" return: type: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultGrpcTransportProviderBuilder()" id: "defaultGrpcTransportProviderBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -249,7 +239,6 @@ items: content: "public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()" return: type: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.defaultTransportChannelProvider()" id: "defaultTransportChannelProvider()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -265,7 +254,6 @@ items: content: "public static TransportChannelProvider defaultTransportChannelProvider()" return: type: "com.google.api.gax.rpc.TransportChannelProvider" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteProductSetSettings()" id: "deleteProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -282,7 +270,6 @@ items: content: "public UnaryCallSettings deleteProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteProductSettings()" id: "deleteProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -299,7 +286,6 @@ items: content: "public UnaryCallSettings deleteProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.deleteReferenceImageSettings()" id: "deleteReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -316,7 +302,6 @@ items: content: "public UnaryCallSettings deleteReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getDefaultEndpoint()" id: "getDefaultEndpoint()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -333,7 +318,6 @@ items: content: "public static String getDefaultEndpoint()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getDefaultServiceScopes()" id: "getDefaultServiceScopes()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -350,7 +334,6 @@ items: content: "public static List getDefaultServiceScopes()" return: type: "java.util.List" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getProductSetSettings()" id: "getProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -367,7 +350,6 @@ items: content: "public UnaryCallSettings getProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getProductSettings()" id: "getProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -384,7 +366,6 @@ items: content: "public UnaryCallSettings getProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.getReferenceImageSettings()" id: "getReferenceImageSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -401,7 +382,6 @@ items: content: "public UnaryCallSettings getReferenceImageSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.importProductSetsOperationSettings()" id: "importProductSetsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -418,7 +398,6 @@ items: content: "public OperationCallSettings importProductSetsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.importProductSetsSettings()" id: "importProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -435,7 +414,6 @@ items: content: "public UnaryCallSettings importProductSetsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductSetsSettings()" id: "listProductSetsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -452,7 +430,6 @@ items: content: "public PagedCallSettings listProductSetsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductsInProductSetSettings()" id: "listProductsInProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -469,7 +446,6 @@ items: content: "public PagedCallSettings listProductsInProductSetSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listProductsSettings()" id: "listProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -486,7 +462,6 @@ items: content: "public PagedCallSettings listProductsSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.listReferenceImagesSettings()" id: "listReferenceImagesSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -503,7 +478,6 @@ items: content: "public PagedCallSettings listReferenceImagesSettings()" return: type: "com.google.api.gax.rpc.PagedCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.newBuilder()" id: "newBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -520,7 +494,6 @@ items: content: "public static ProductSearchSettings.Builder newBuilder()" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" id: "newBuilder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -540,7 +513,6 @@ items: type: "com.google.api.gax.rpc.ClientContext" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.purgeProductsOperationSettings()" id: "purgeProductsOperationSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -557,7 +529,6 @@ items: content: "public OperationCallSettings purgeProductsOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.purgeProductsSettings()" id: "purgeProductsSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -574,7 +545,6 @@ items: content: "public UnaryCallSettings purgeProductsSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.removeProductFromProductSetSettings()" id: "removeProductFromProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -591,7 +561,6 @@ items: content: "public UnaryCallSettings removeProductFromProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -609,7 +578,6 @@ items: content: "public ProductSearchSettings.Builder toBuilder()" return: type: "com.microsoft.samples.google.ProductSearchSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.updateProductSetSettings()" id: "updateProductSetSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -626,7 +594,6 @@ items: content: "public UnaryCallSettings updateProductSetSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.ProductSearchSettings.updateProductSettings()" id: "updateProductSettings()" parent: "com.microsoft.samples.google.ProductSearchSettings" @@ -643,7 +610,6 @@ items: content: "public UnaryCallSettings updateProductSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" references: - uid: "com.microsoft.samples.google.ProductSearchSettings.Builder" name: "ProductSearchSettings.Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml index 1751f033..8b389ba6 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.yml @@ -44,7 +44,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "enum" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.AUDIOSOURCE_NOT_SET" id: "AUDIOSOURCE_NOT_SET" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -59,7 +58,6 @@ items: content: "public static final RecognitionAudio.AudioSourceCase AUDIOSOURCE_NOT_SET" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" - javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.AudioSourceCase(int)" id: "AudioSourceCase(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -76,7 +74,6 @@ items: parameters: - id: "value" type: "int" - javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.CONTENT" id: "CONTENT" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -91,7 +88,6 @@ items: content: "public static final RecognitionAudio.AudioSourceCase CONTENT" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" - javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.URI" id: "URI" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -106,7 +102,6 @@ items: content: "public static final RecognitionAudio.AudioSourceCase URI" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" - javaType: "enumconstant" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.forNumber(int)" id: "forNumber(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -125,7 +120,6 @@ items: type: "int" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.getNumber()" id: "getNumber()" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -141,7 +135,6 @@ items: content: "public int getNumber()" return: type: "int" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.valueOf(int)" id: "valueOf(int)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -164,7 +157,6 @@ items: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" description: "The enum associated with the given number." status: "deprecated" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.valueOf(java.lang.String)" id: "valueOf(java.lang.String)" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -183,7 +175,6 @@ items: type: "java.lang.String" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase.values()" id: "values()" parent: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase" @@ -199,7 +190,6 @@ items: content: "public static RecognitionAudio.AudioSourceCase[] values()" return: type: "com.microsoft.samples.google.RecognitionAudio.AudioSourceCase[]" - javaType: "method" references: - uid: "int" href: "https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml index 375ab3f7..429de39c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.RecognitionAudio.yml @@ -119,7 +119,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.RecognitionAudio.CONTENT_FIELD_NUMBER" id: "CONTENT_FIELD_NUMBER" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -134,7 +133,6 @@ items: content: "public static final int CONTENT_FIELD_NUMBER" return: type: "int" - javaType: "field" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio()" id: "RecognitionAudio()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -148,7 +146,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "private RecognitionAudio()" - javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" id: "RecognitionAudio(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -167,7 +164,6 @@ items: type: "com.google.protobuf.CodedInputStream" - id: "extensionRegistry" type: "com.google.protobuf.ExtensionRegistryLite" - javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder)" id: "RecognitionAudio(com.google.protobuf.GeneratedMessageV3.Builder)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -184,7 +180,6 @@ items: parameters: - id: "builder" type: "com.google.protobuf.GeneratedMessageV3.Builder" - javaType: "constructor" - uid: "com.microsoft.samples.google.RecognitionAudio.URI_FIELD_NUMBER" id: "URI_FIELD_NUMBER" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -199,7 +194,6 @@ items: content: "public static final int URI_FIELD_NUMBER" return: type: "int" - javaType: "field" - uid: "com.microsoft.samples.google.RecognitionAudio.getAudioSourceCase()" id: "getAudioSourceCase()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -215,7 +209,6 @@ items: content: "public RecognitionAudio.AudioSourceCase getAudioSourceCase()" return: type: "com.google.cloud.speech.v1.RecognitionAudio.AudioSourceCase" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getContent()" id: "getContent()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -233,7 +226,6 @@ items: return: type: "com.google.protobuf.ByteString" description: "The content." - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getDefaultInstanceForType()" id: "getDefaultInstanceForType()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -249,7 +241,6 @@ items: content: "public Message getDefaultInstanceForType()" return: type: "com.google.protobuf.Message" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getSerializedSize()" id: "getSerializedSize()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -266,7 +257,6 @@ items: content: "public int getSerializedSize()" return: type: "int" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUnknownFields()" id: "getUnknownFields()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -283,7 +273,6 @@ items: content: "public final UnknownFieldSet getUnknownFields()" return: type: "com.google.protobuf.UnknownFieldSet" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUri()" id: "getUri()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -301,7 +290,6 @@ items: return: type: "java.lang.String" description: "The uri." - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.getUriBytes()" id: "getUriBytes()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -319,7 +307,6 @@ items: return: type: "com.google.protobuf.ByteString" description: "The bytes for uri." - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.hasContent()" id: "hasContent()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -337,7 +324,6 @@ items: return: type: "boolean" description: "Whether the content field is set." - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.hasUri()" id: "hasUri()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -355,7 +341,6 @@ items: return: type: "boolean" description: "Whether the uri field is set." - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.internalGetFieldAccessorTable()" id: "internalGetFieldAccessorTable()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -372,7 +357,6 @@ items: content: "protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()" return: type: "com.google.protobuf.GeneratedMessageV3.FieldAccessorTable" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.isInitialized()" id: "isInitialized()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -389,7 +373,6 @@ items: content: "public final boolean isInitialized()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newBuilderForType()" id: "newBuilderForType()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -405,7 +388,6 @@ items: content: "public Message.Builder newBuilderForType()" return: type: "com.google.protobuf.Message.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)" id: "newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -425,7 +407,6 @@ items: type: "com.google.protobuf.GeneratedMessageV3.BuilderParent" return: type: "com.google.protobuf.Message.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)" id: "newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -445,7 +426,6 @@ items: type: "com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter" return: type: "java.lang.Object" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -461,7 +441,6 @@ items: content: "public Message.Builder toBuilder()" return: type: "com.google.protobuf.Message.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.RecognitionAudio.writeTo(com.google.protobuf.CodedOutputStream)" id: "writeTo(com.google.protobuf.CodedOutputStream)" parent: "com.microsoft.samples.google.RecognitionAudio" @@ -481,7 +460,6 @@ items: type: "com.google.protobuf.CodedOutputStream" exceptions: - type: "java.io.IOException" - javaType: "method" references: - uid: "com.google.protobuf.GeneratedMessageV3.Builder" isExternal: true diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml index 091484d6..6da8b2e8 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechClient.yml @@ -52,7 +52,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.SpeechClient" @@ -69,7 +68,6 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechClient" @@ -87,7 +85,6 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.SpeechClient" @@ -110,7 +107,6 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.SpeechClient" @@ -124,7 +120,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "public final void close()" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.SpeechClient" @@ -143,7 +138,6 @@ items: type: "com.microsoft.samples.google.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.SpeechClient" @@ -163,7 +157,6 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.SpeechClient" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechClient" @@ -185,7 +178,6 @@ items: type: "com.microsoft.samples.google.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.SpeechClient" @@ -202,7 +194,6 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.SpeechClient" @@ -218,7 +209,6 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.SpeechClient" @@ -234,7 +224,6 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.SpeechClient" @@ -250,7 +239,6 @@ items: content: "public boolean isShutdown()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.SpeechClient" @@ -266,7 +254,6 @@ items: content: "public boolean isTerminated()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.SpeechClient" @@ -287,7 +274,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.SpeechClient" @@ -311,7 +297,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -328,7 +313,6 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -345,7 +329,6 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.SpeechClient" @@ -369,7 +352,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.SpeechClient" @@ -390,7 +372,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -407,7 +388,6 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.SpeechClient" @@ -421,7 +401,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "public void shutdown()" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.SpeechClient" @@ -435,7 +414,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "public void shutdownNow()" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.SpeechClient" @@ -452,7 +430,6 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" - javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml index 66d37aaa..d059fabf 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.Builder.yml @@ -66,7 +66,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder()" id: "Builder()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -80,7 +79,6 @@ items: package: "com.microsoft.samples.google" syntax: content: "protected Builder()" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.google.api.gax.rpc.ClientContext)" id: "Builder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -97,7 +95,6 @@ items: parameters: - id: "clientContext" type: "com.google.api.gax.rpc.ClientContext" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder)" id: "Builder(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -114,7 +111,6 @@ items: parameters: - id: "stubSettings" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder(com.microsoft.samples.google.SpeechSettings)" id: "Builder(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -131,7 +127,6 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.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.SpeechSettings.Builder" @@ -153,7 +148,6 @@ items: type: "com.microsoft.samples.google.SpeechSettings.Builder" exceptions: - type: "java.lang.Exception" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.build()" id: "build()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -172,7 +166,6 @@ items: type: "com.microsoft.samples.google.SpeechSettings" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.getStubSettingsBuilder()" id: "getStubSettingsBuilder()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -188,7 +181,6 @@ items: content: "public SpeechStubSettings.Builder getStubSettingsBuilder()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.longRunningRecognizeOperationSettings()" id: "longRunningRecognizeOperationSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -205,7 +197,6 @@ items: content: "public OperationCallSettings.Builder longRunningRecognizeOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.longRunningRecognizeSettings()" id: "longRunningRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -222,7 +213,6 @@ items: content: "public UnaryCallSettings.Builder longRunningRecognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.recognizeSettings()" id: "recognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -239,7 +229,6 @@ items: content: "public UnaryCallSettings.Builder recognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.Builder.streamingRecognizeSettings()" id: "streamingRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings.Builder" @@ -256,7 +245,6 @@ items: content: "public StreamingCallSettings.Builder streamingRecognizeSettings()" return: type: "com.google.api.gax.rpc.StreamingCallSettings.Builder" - javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings.Builder.Builder*" name: "Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml index 6e6426f9..16a482b0 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.SpeechSettings.yml @@ -59,7 +59,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.SpeechSettings.SpeechSettings(com.microsoft.samples.google.SpeechSettings.Builder)" id: "SpeechSettings(com.microsoft.samples.google.SpeechSettings.Builder)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -76,7 +75,6 @@ items: parameters: - id: "settingsBuilder" type: "com.microsoft.samples.google.SpeechSettings.Builder" - javaType: "constructor" - uid: "com.microsoft.samples.google.SpeechSettings.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStubSettings)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -97,7 +95,6 @@ items: type: "com.microsoft.samples.google.SpeechSettings" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultApiClientHeaderProviderBuilder()" id: "defaultApiClientHeaderProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -113,7 +110,6 @@ items: content: "public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()" return: type: "com.google.api.gax.rpc.ApiClientHeaderProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultCredentialsProviderBuilder()" id: "defaultCredentialsProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -130,7 +126,6 @@ items: content: "public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()" return: type: "com.google.api.gax.core.GoogleCredentialsProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultExecutorProviderBuilder()" id: "defaultExecutorProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -147,7 +142,6 @@ items: content: "public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()" return: type: "com.google.api.gax.core.InstantiatingExecutorProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultGrpcTransportProviderBuilder()" id: "defaultGrpcTransportProviderBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -164,7 +158,6 @@ items: content: "public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()" return: type: "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.defaultTransportChannelProvider()" id: "defaultTransportChannelProvider()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -180,7 +173,6 @@ items: content: "public static TransportChannelProvider defaultTransportChannelProvider()" return: type: "com.google.api.gax.rpc.TransportChannelProvider" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.getDefaultEndpoint()" id: "getDefaultEndpoint()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -197,7 +189,6 @@ items: content: "public static String getDefaultEndpoint()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.getDefaultServiceScopes()" id: "getDefaultServiceScopes()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -214,7 +205,6 @@ items: content: "public static List getDefaultServiceScopes()" return: type: "java.util.List" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.longRunningRecognizeOperationSettings()" id: "longRunningRecognizeOperationSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -231,7 +221,6 @@ items: content: "public OperationCallSettings longRunningRecognizeOperationSettings()" return: type: "com.google.api.gax.rpc.OperationCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.longRunningRecognizeSettings()" id: "longRunningRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -248,7 +237,6 @@ items: content: "public UnaryCallSettings longRunningRecognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.newBuilder()" id: "newBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -265,7 +253,6 @@ items: content: "public static SpeechSettings.Builder newBuilder()" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.newBuilder(com.google.api.gax.rpc.ClientContext)" id: "newBuilder(com.google.api.gax.rpc.ClientContext)" parent: "com.microsoft.samples.google.SpeechSettings" @@ -285,7 +272,6 @@ items: type: "com.google.api.gax.rpc.ClientContext" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.recognizeSettings()" id: "recognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -302,7 +288,6 @@ items: content: "public UnaryCallSettings recognizeSettings()" return: type: "com.google.api.gax.rpc.UnaryCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.streamingRecognizeSettings()" id: "streamingRecognizeSettings()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -319,7 +304,6 @@ items: content: "public StreamingCallSettings streamingRecognizeSettings()" return: type: "com.google.api.gax.rpc.StreamingCallSettings" - javaType: "method" - uid: "com.microsoft.samples.google.SpeechSettings.toBuilder()" id: "toBuilder()" parent: "com.microsoft.samples.google.SpeechSettings" @@ -337,7 +321,6 @@ items: content: "public SpeechSettings.Builder toBuilder()" return: type: "com.microsoft.samples.google.SpeechSettings.Builder" - javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings.Builder" name: "SpeechSettings.Builder" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml index 0d785219..4d836d60 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.Supplier.yml @@ -16,7 +16,6 @@ items: content: "public static interface ValidationException.Supplier" typeParameters: - id: "T" - javaType: "interface" - uid: "com.microsoft.samples.google.ValidationException.Supplier.get()" id: "get()" parent: "com.microsoft.samples.google.ValidationException.Supplier" @@ -32,7 +31,6 @@ items: content: "public abstract T get()" return: type: "T" - javaType: "method" references: - uid: "T" spec.java: diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml index 8d58cfd6..ac1fa8b9 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.ValidationException.yml @@ -69,7 +69,6 @@ items: type: "java.lang.String" - id: "args" type: "java.lang.Object[]" - javaType: "constructor" - uid: "com.microsoft.samples.google.ValidationException.popCurrentThreadValidationContext()" id: "popCurrentThreadValidationContext()" parent: "com.microsoft.samples.google.ValidationException" @@ -84,7 +83,6 @@ items: summary: "Clears the validation context." syntax: content: "public static void popCurrentThreadValidationContext()" - javaType: "method" - uid: "com.microsoft.samples.google.ValidationException.pushCurrentThreadValidationContext(com.microsoft.samples.google.ValidationException.Supplier)" id: "pushCurrentThreadValidationContext(com.microsoft.samples.google.ValidationException.Supplier)" parent: "com.microsoft.samples.google.ValidationException" @@ -102,7 +100,6 @@ items: parameters: - id: "supplier" type: "com.microsoft.samples.google.ValidationException.Supplier" - javaType: "method" - uid: "com.microsoft.samples.google.ValidationException.pushCurrentThreadValidationContext(java.lang.String)" id: "pushCurrentThreadValidationContext(java.lang.String)" parent: "com.microsoft.samples.google.ValidationException" @@ -119,7 +116,6 @@ items: parameters: - id: "context" type: "java.lang.String" - javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml index 18fccc41..d22fb904 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1beta.SpeechClient.yml @@ -52,7 +52,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -69,7 +68,6 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "constructor" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -87,7 +85,6 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" - javaType: "constructor" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -110,7 +107,6 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -124,7 +120,6 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public final void close()" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -143,7 +138,6 @@ items: type: "com.microsoft.samples.google.v1beta.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -163,7 +157,6 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.v1beta.SpeechClient" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -185,7 +178,6 @@ items: type: "com.microsoft.samples.google.v1beta.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -202,7 +194,6 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -218,7 +209,6 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -234,7 +224,6 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -250,7 +239,6 @@ items: content: "public boolean isShutdown()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -266,7 +254,6 @@ items: content: "public boolean isTerminated()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -287,7 +274,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -311,7 +297,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -328,7 +313,6 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -345,7 +329,6 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -369,7 +352,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -390,7 +372,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -407,7 +388,6 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -421,7 +401,6 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public void shutdown()" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -435,7 +414,6 @@ items: package: "com.microsoft.samples.google.v1beta" syntax: content: "public void shutdownNow()" - javaType: "method" - uid: "com.microsoft.samples.google.v1beta.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.v1beta.SpeechClient" @@ -452,7 +430,6 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" - javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml index 54c1f259..ab98a426 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.google.v1p1alpha.SpeechClient.yml @@ -52,7 +52,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "SpeechClient(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -69,7 +68,6 @@ items: parameters: - id: "stub" type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "constructor" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.SpeechClient(com.microsoft.samples.google.SpeechSettings)" id: "SpeechClient(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -87,7 +85,6 @@ items: parameters: - id: "settings" type: "com.microsoft.samples.google.SpeechSettings" - javaType: "constructor" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.awaitTermination(long,java.util.concurrent.TimeUnit)" id: "awaitTermination(long,java.util.concurrent.TimeUnit)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -110,7 +107,6 @@ items: type: "boolean" exceptions: - type: "java.lang.InterruptedException" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.close()" id: "close()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -124,7 +120,6 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public final void close()" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create()" id: "create()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -143,7 +138,6 @@ items: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" id: "create(com.google.cloud.speech.v1p1beta1.stub.SpeechStub)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -163,7 +157,6 @@ items: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" return: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.create(com.microsoft.samples.google.SpeechSettings)" id: "create(com.microsoft.samples.google.SpeechSettings)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -185,7 +178,6 @@ items: type: "com.microsoft.samples.google.v1p1alpha.SpeechClient" exceptions: - type: "java.io.IOException" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getOperationsClient()" id: "getOperationsClient()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -202,7 +194,6 @@ items: content: "public final OperationsClient getOperationsClient()" return: type: "com.google.longrunning.OperationsClient" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getSettings()" id: "getSettings()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -218,7 +209,6 @@ items: content: "public final SpeechSettings getSettings()" return: type: "com.microsoft.samples.google.SpeechSettings" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.getStub()" id: "getStub()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -234,7 +224,6 @@ items: content: "public SpeechStub getStub()" return: type: "com.google.cloud.speech.v1p1beta1.stub.SpeechStub" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.isShutdown()" id: "isShutdown()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -250,7 +239,6 @@ items: content: "public boolean isShutdown()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.isTerminated()" id: "isTerminated()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -266,7 +254,6 @@ items: content: "public boolean isTerminated()" return: type: "boolean" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -287,7 +274,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "longRunningRecognizeAsync(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -311,7 +297,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.api.gax.longrunning.OperationFuture" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeCallable()" id: "longRunningRecognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -328,7 +313,6 @@ items: content: "public final UnaryCallable longRunningRecognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.longRunningRecognizeOperationCallable()" id: "longRunningRecognizeOperationCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -345,7 +329,6 @@ items: content: "public final OperationCallable longRunningRecognizeOperationCallable()" return: type: "com.google.api.gax.rpc.OperationCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognitionConfig,com.google.cloud.speech.v1p1beta1.RecognitionAudio)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -369,7 +352,6 @@ items: description: "Required. The audio data to be recognized." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" id: "recognize(com.google.cloud.speech.v1p1beta1.RecognizeRequest)" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -390,7 +372,6 @@ items: description: "The request object containing all of the parameters for the API call." return: type: "com.google.cloud.speech.v1p1beta1.RecognizeResponse" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.recognizeCallable()" id: "recognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -407,7 +388,6 @@ items: content: "public final UnaryCallable recognizeCallable()" return: type: "com.google.api.gax.rpc.UnaryCallable" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.shutdown()" id: "shutdown()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -421,7 +401,6 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public void shutdown()" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.shutdownNow()" id: "shutdownNow()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -435,7 +414,6 @@ items: package: "com.microsoft.samples.google.v1p1alpha" syntax: content: "public void shutdownNow()" - javaType: "method" - uid: "com.microsoft.samples.google.v1p1alpha.SpeechClient.streamingRecognizeCallable()" id: "streamingRecognizeCallable()" parent: "com.microsoft.samples.google.v1p1alpha.SpeechClient" @@ -452,7 +430,6 @@ items: content: "public final BidiStreamingCallable streamingRecognizeCallable()" return: type: "com.google.api.gax.rpc.BidiStreamingCallable" - javaType: "method" references: - uid: "com.microsoft.samples.google.SpeechSettings" name: "SpeechSettings" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml index c3d4a7d2..ff39a5b1 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.offers.Offer.yml @@ -33,7 +33,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.offers.Offer.Offer()" id: "Offer()" parent: "com.microsoft.samples.offers.Offer" @@ -48,7 +47,6 @@ items: summary: "Initializes a new instance of the Offer class." syntax: content: "public Offer()" - javaType: "constructor" - uid: "com.microsoft.samples.offers.Offer.getReselleeQualifications()" id: "getReselleeQualifications()" parent: "com.microsoft.samples.offers.Offer" @@ -64,7 +62,6 @@ items: content: "public String[] getReselleeQualifications()" return: type: "java.lang.String[]" - javaType: "method" - uid: "com.microsoft.samples.offers.Offer.getResellerQualifications()" id: "getResellerQualifications()" parent: "com.microsoft.samples.offers.Offer" @@ -80,7 +77,6 @@ items: content: "public String[] getResellerQualifications()" return: type: "java.lang.String[]" - javaType: "method" - uid: "com.microsoft.samples.offers.Offer.setReselleeQualifications(java.lang.String[])" id: "setReselleeQualifications(java.lang.String[])" parent: "com.microsoft.samples.offers.Offer" @@ -97,7 +93,6 @@ items: parameters: - id: "value" type: "java.lang.String[]" - javaType: "method" - uid: "com.microsoft.samples.offers.Offer.setResellerQualifications(java.lang.String[])" id: "setResellerQualifications(java.lang.String[])" parent: "com.microsoft.samples.offers.Offer" @@ -114,7 +109,6 @@ items: parameters: - id: "value" type: "java.lang.String[]" - javaType: "method" references: - uid: "com.microsoft.samples.offers.Offer.Offer*" name: "Offer" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml index e1af09c4..0ff94f3c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.CustomException.yml @@ -60,7 +60,6 @@ items: parameters: - id: "message" type: "java.lang.String" - javaType: "constructor" - uid: "com.microsoft.samples.subpackage.CustomException.makeSomething()" id: "makeSomething()" parent: "com.microsoft.samples.subpackage.CustomException" @@ -78,7 +77,6 @@ items: exceptions: - type: "com.microsoft.samples.subpackage.CustomException" description: "with reason message" - javaType: "method" references: - uid: "java.lang.String" href: "https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml index 4b1f7d50..116528a9 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Display.yml @@ -22,7 +22,6 @@ items: implements: - "java.io.Serializable" - "java.util.List>" - javaType: "interface" - uid: "com.microsoft.samples.subpackage.Display.hide()" id: "hide()" parent: "com.microsoft.samples.subpackage.Display" @@ -36,7 +35,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public abstract void hide()" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Display.show()" id: "show()" parent: "com.microsoft.samples.subpackage.Display" @@ -50,7 +48,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public abstract void show()" - javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Display.show*" name: "show" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml index 0ba6d9d2..d20b6979 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.yml @@ -38,7 +38,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "enum" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.FEMALE" id: "FEMALE" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -53,7 +52,6 @@ items: content: "public static final Person.IdentificationInfo.Gender FEMALE" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - javaType: "enumconstant" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender()" id: "Gender()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -67,7 +65,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "private Gender()" - javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.MALE" id: "MALE" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -82,7 +79,6 @@ items: content: "public static final Person.IdentificationInfo.Gender MALE" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - javaType: "enumconstant" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.valueOf(java.lang.String)" id: "valueOf(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -101,7 +97,6 @@ items: type: "java.lang.String" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.values()" id: "values()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender" @@ -117,7 +112,6 @@ items: content: "public static Person.IdentificationInfo.Gender[] values()" return: type: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender[]" - javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.Gender.Gender*" name: "Gender" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml index 6918b4e3..27b3ca6c 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.IdentificationInfo.yml @@ -30,7 +30,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo()" id: "IdentificationInfo()" parent: "com.microsoft.samples.subpackage.Person.IdentificationInfo" @@ -44,7 +43,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public IdentificationInfo()" - javaType: "constructor" references: - uid: "com.microsoft.samples.subpackage.Person.IdentificationInfo.IdentificationInfo*" name: "IdentificationInfo" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml index 66e908ff..53fcb271 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Person.yml @@ -40,7 +40,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.subpackage.Person.Person()" id: "Person()" parent: "com.microsoft.samples.subpackage.Person" @@ -54,7 +53,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public Person()" - javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Person.age" id: "age" parent: "com.microsoft.samples.subpackage.Person" @@ -69,7 +67,6 @@ items: content: "public int age" return: type: "int" - javaType: "field" - uid: "com.microsoft.samples.subpackage.Person.buildPerson(com.microsoft.samples.subpackage.Person)" id: "buildPerson(com.microsoft.samples.subpackage.Person)" parent: "com.microsoft.samples.subpackage.Person" @@ -89,7 +86,6 @@ items: type: "com.microsoft.samples.subpackage.Person" return: type: "com.microsoft.samples.subpackage.Person" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getFirstName()" id: "getFirstName()" parent: "com.microsoft.samples.subpackage.Person" @@ -105,7 +101,6 @@ items: content: "public String getFirstName()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getLastName()" id: "getLastName()" parent: "com.microsoft.samples.subpackage.Person" @@ -121,7 +116,6 @@ items: content: "public String getLastName()" return: type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.getSomeSet()" id: "getSomeSet()" parent: "com.microsoft.samples.subpackage.Person" @@ -137,7 +131,6 @@ items: content: "public Set getSomeSet()" return: type: "java.util.Set" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setFirstName(java.lang.String)" id: "setFirstName(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person" @@ -154,7 +147,6 @@ items: parameters: - id: "firstName" type: "java.lang.String" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setLastName()" id: "setLastName()" parent: "com.microsoft.samples.subpackage.Person" @@ -168,7 +160,6 @@ items: package: "com.microsoft.samples.subpackage" syntax: content: "public void setLastName()" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Person.setLastName(java.lang.String)" id: "setLastName(java.lang.String)" parent: "com.microsoft.samples.subpackage.Person" @@ -185,7 +176,6 @@ items: parameters: - id: "lastName" type: "java.lang.String" - javaType: "method" references: - uid: "com.microsoft.samples.subpackage.Person.Person*" name: "Person" diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml index ed34e40c..6f16e49d 100644 --- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml +++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/com.microsoft.samples.subpackage.Tuple.yml @@ -35,7 +35,6 @@ items: - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" - javaType: "class" - uid: "com.microsoft.samples.subpackage.Tuple.Tuple(T1,T2)" id: "Tuple(T1,T2)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -54,7 +53,6 @@ items: type: "T1" - id: "item2" type: "T2" - javaType: "constructor" - uid: "com.microsoft.samples.subpackage.Tuple.getItem1()" id: "getItem1()" parent: "com.microsoft.samples.subpackage.Tuple" @@ -70,7 +68,6 @@ items: content: "public T1 getItem1()" return: type: "T1" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.getItem2()" id: "getItem2()" parent: "com.microsoft.samples.subpackage.Tuple" @@ -86,7 +83,6 @@ items: content: "public T2 getItem2()" return: type: "T2" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.setItem1(T1)" id: "setItem1(T1)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -103,7 +99,6 @@ items: parameters: - id: "item1" type: "T1" - javaType: "method" - uid: "com.microsoft.samples.subpackage.Tuple.setItem2(T2)" id: "setItem2(T2)" parent: "com.microsoft.samples.subpackage.Tuple" @@ -120,7 +115,6 @@ items: parameters: - id: "item2" type: "T2" - javaType: "method" references: - uid: "T1" spec.java: