diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000000..e69de29bb2 diff --git a/2.x/wire-codegen-sample/META-INF/MANIFEST.MF b/2.x/wire-codegen-sample/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-codegen-sample/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-codegen-sample/allclasses-frame.html b/2.x/wire-codegen-sample/allclasses-frame.html new file mode 100644 index 0000000000..e8f817536b --- /dev/null +++ b/2.x/wire-codegen-sample/allclasses-frame.html @@ -0,0 +1,21 @@ + + + +
+ + +public final class CodegenSample +extends Object+
WireCompiler
.Constructor and Description | +
---|
CodegenSample(com.squareup.wire.sample.CodegenSample.Log log,
+ com.google.common.collect.ImmutableSet<String> sources,
+ com.google.common.collect.ImmutableSet<String> protos,
+ String generatedSourceDirectory,
+ IdentifierSet identifierSet) |
+
public CodegenSample(com.squareup.wire.sample.CodegenSample.Log log, + com.google.common.collect.ImmutableSet<String> sources, + com.google.common.collect.ImmutableSet<String> protos, + String generatedSourceDirectory, + IdentifierSet identifierSet)+
public void execute() + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/CodegenSampleMojo.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/CodegenSampleMojo.html new file mode 100644 index 0000000000..1940f8d284 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/CodegenSampleMojo.html @@ -0,0 +1,329 @@ + + + + + + +@Mojo(name="generate-sources",
+ defaultPhase=GENERATE_SOURCES)
+public class CodegenSampleMojo
+extends org.apache.maven.plugin.AbstractMojo
+ROLE
Constructor and Description | +
---|
CodegenSampleMojo() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+execute() |
+
void |
+info(String format,
+ Object... args) |
+
getLog, getPluginContext, setLog, setPluginContext
public void execute() + throws org.apache.maven.plugin.MojoExecutionException, + org.apache.maven.plugin.MojoFailureException+
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSample.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSample.html new file mode 100644 index 0000000000..2f81ca2a55 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSample.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSampleMojo.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSampleMojo.html new file mode 100644 index 0000000000..c8042ac7f9 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/class-use/CodegenSampleMojo.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/package-frame.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-frame.html new file mode 100644 index 0000000000..434d3704c2 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Class | +Description | +
---|---|
CodegenSample | +
+ Reads in .proto files, links ’em together, prunes ’em, and emits both types and services.
+ |
+
CodegenSampleMojo | +
+ Maven plugin interface to CodegenSample.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/package-tree.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-tree.html new file mode 100644 index 0000000000..6853853df7 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/com/squareup/wire/sample/package-use.html b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-use.html new file mode 100644 index 0000000000..e87fc8d7c7 --- /dev/null +++ b/2.x/wire-codegen-sample/com/squareup/wire/sample/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/constant-values.html b/2.x/wire-codegen-sample/constant-values.html new file mode 100644 index 0000000000..6b411a9887 --- /dev/null +++ b/2.x/wire-codegen-sample/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/deprecated-list.html b/2.x/wire-codegen-sample/deprecated-list.html new file mode 100644 index 0000000000..59c9abe698 --- /dev/null +++ b/2.x/wire-codegen-sample/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/help-doc.html b/2.x/wire-codegen-sample/help-doc.html new file mode 100644 index 0000000000..48e0c9b251 --- /dev/null +++ b/2.x/wire-codegen-sample/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/index-all.html b/2.x/wire-codegen-sample/index-all.html new file mode 100644 index 0000000000..8e71dbcf2b --- /dev/null +++ b/2.x/wire-codegen-sample/index-all.html @@ -0,0 +1,159 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/index.html b/2.x/wire-codegen-sample/index.html new file mode 100644 index 0000000000..2fc60ad707 --- /dev/null +++ b/2.x/wire-codegen-sample/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-codegen-sample/package-list b/2.x/wire-codegen-sample/package-list new file mode 100644 index 0000000000..e0302cd1af --- /dev/null +++ b/2.x/wire-codegen-sample/package-list @@ -0,0 +1 @@ +com.squareup.wire.sample diff --git a/2.x/wire-codegen-sample/script.js b/2.x/wire-codegen-sample/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-codegen-sample/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-codegen-sample/stylesheet.css b/2.x/wire-codegen-sample/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-codegen-sample/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-codegen-sample/version.txt b/2.x/wire-codegen-sample/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-codegen-sample/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-compiler/META-INF/MANIFEST.MF b/2.x/wire-compiler/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-compiler/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-compiler/allclasses-frame.html b/2.x/wire-compiler/allclasses-frame.html new file mode 100644 index 0000000000..ed485ce749 --- /dev/null +++ b/2.x/wire-compiler/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +public final class WireCompiler +extends Object+
+ java WireCompiler --proto_path=<path> --java_out=<path> + [--files=<protos.include>] + [--includes=<message_name>[,<message_name>...]] + [--excludes=<message_name>[,<message_name>...]] + [--service_factory=<class_name>] + [--service_factory_opt=<value>] + [--service_factory_opt=<value>]...] + [--quiet] + [--dry_run] + [--android] + [--compact] + [file [file...]] ++ +
If the --includes
flag is present, its argument must be a comma-separated list
+ of fully-qualified message or enum names. The output will be limited to those messages
+ and enums that are (transitive) dependencies of the listed names. The --excludes
flag
+ excludes types, and takes precedence over --includes
.
+
+
If the --registry_class
flag is present, its argument must be a Java class name. A
+ class with the given name will be generated, containing a constant list of all extension
+ classes generated during the compile. This list is suitable for passing to Wire's constructor
+ at runtime for constructing its internal extension registry.
+
+
If --quiet
is specified, diagnostic messages to stdout are suppressed.
+
+
The --dry_run
flag causes the compile to just emit the names of the source files that
+ would be generated to stdout.
+
+
The --android
flag will cause all messages to implement the Parcelable
+ interface.
+
+
The --compact
flag will emit code that uses reflection for reading, writing, and
+ toString methods which are normally implemented with code generation.
Modifier and Type | +Field and Description | +
---|---|
static String |
+ANDROID |
+
static String |
+COMPACT |
+
static String |
+DRY_RUN_FLAG |
+
static String |
+EXCLUDES_FLAG |
+
static String |
+FILES_FLAG |
+
static String |
+INCLUDES_FLAG |
+
static String |
+JAVA_OUT_FLAG |
+
static String |
+NAMED_FILES_ONLY |
+
static String |
+PROTO_PATH_FLAG |
+
static String |
+QUIET_FLAG |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+main(String... args) |
+
public static final String PROTO_PATH_FLAG+
public static final String JAVA_OUT_FLAG+
public static final String FILES_FLAG+
public static final String INCLUDES_FLAG+
public static final String EXCLUDES_FLAG+
public static final String QUIET_FLAG+
public static final String DRY_RUN_FLAG+
public static final String NAMED_FILES_ONLY+
public static final String ANDROID+
public static final String COMPACT+
public static void main(String... args) + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/com/squareup/wire/class-use/WireCompiler.html b/2.x/wire-compiler/com/squareup/wire/class-use/WireCompiler.html new file mode 100644 index 0000000000..3d535a3784 --- /dev/null +++ b/2.x/wire-compiler/com/squareup/wire/class-use/WireCompiler.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/com/squareup/wire/package-frame.html b/2.x/wire-compiler/com/squareup/wire/package-frame.html new file mode 100644 index 0000000000..b4b6e3696f --- /dev/null +++ b/2.x/wire-compiler/com/squareup/wire/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
WireCompiler | +
+ Command line interface to the Wire Java generator.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/com/squareup/wire/package-tree.html b/2.x/wire-compiler/com/squareup/wire/package-tree.html new file mode 100644 index 0000000000..941a573493 --- /dev/null +++ b/2.x/wire-compiler/com/squareup/wire/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/com/squareup/wire/package-use.html b/2.x/wire-compiler/com/squareup/wire/package-use.html new file mode 100644 index 0000000000..891c8035a0 --- /dev/null +++ b/2.x/wire-compiler/com/squareup/wire/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/constant-values.html b/2.x/wire-compiler/constant-values.html new file mode 100644 index 0000000000..285895a4f9 --- /dev/null +++ b/2.x/wire-compiler/constant-values.html @@ -0,0 +1,216 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ANDROID |
+"--android" |
+
+
+public static final String |
+COMPACT |
+"--compact" |
+
+
+public static final String |
+DRY_RUN_FLAG |
+"--dry_run" |
+
+
+public static final String |
+EXCLUDES_FLAG |
+"--excludes=" |
+
+
+public static final String |
+FILES_FLAG |
+"--files=" |
+
+
+public static final String |
+INCLUDES_FLAG |
+"--includes=" |
+
+
+public static final String |
+JAVA_OUT_FLAG |
+"--java_out=" |
+
+
+public static final String |
+NAMED_FILES_ONLY |
+"--named_files_only" |
+
+
+public static final String |
+PROTO_PATH_FLAG |
+"--proto_path=" |
+
+
+public static final String |
+QUIET_FLAG |
+"--quiet" |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/deprecated-list.html b/2.x/wire-compiler/deprecated-list.html new file mode 100644 index 0000000000..d10638983d --- /dev/null +++ b/2.x/wire-compiler/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/help-doc.html b/2.x/wire-compiler/help-doc.html new file mode 100644 index 0000000000..171a71c13b --- /dev/null +++ b/2.x/wire-compiler/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/index-all.html b/2.x/wire-compiler/index-all.html new file mode 100644 index 0000000000..6bd8be0653 --- /dev/null +++ b/2.x/wire-compiler/index-all.html @@ -0,0 +1,221 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/index.html b/2.x/wire-compiler/index.html new file mode 100644 index 0000000000..5a21b15157 --- /dev/null +++ b/2.x/wire-compiler/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-compiler/package-list b/2.x/wire-compiler/package-list new file mode 100644 index 0000000000..7ae923142b --- /dev/null +++ b/2.x/wire-compiler/package-list @@ -0,0 +1 @@ +com.squareup.wire diff --git a/2.x/wire-compiler/script.js b/2.x/wire-compiler/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-compiler/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-compiler/stylesheet.css b/2.x/wire-compiler/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-compiler/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-compiler/version.txt b/2.x/wire-compiler/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-compiler/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-gson-support/META-INF/MANIFEST.MF b/2.x/wire-gson-support/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-gson-support/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-gson-support/allclasses-frame.html b/2.x/wire-gson-support/allclasses-frame.html new file mode 100644 index 0000000000..6beb61eb7c --- /dev/null +++ b/2.x/wire-gson-support/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +public final class WireTypeAdapterFactory +extends Object +implements com.google.gson.TypeAdapterFactory+
TypeAdapterFactory
that allows Wire messages to be serialized and deserialized
+ using the GSON Json library. To create a Gson
instance that works with Wire,
+ use the GsonBuilder
interface:
+
+ + Gson gson = new GsonBuilder() + .registerTypeAdapterFactory(new WireTypeAdapterFactory()) + .create(); ++ + The resulting
Gson
instance will be able to serialize and deserialize any Wire
+ Message
type, including extensions and unknown field values. The JSON encoding is
+ intended to be compatible with the
+ protobuf-java-format
+ library. Note that version 1.2 of that API has a
+ bug
+ in the way it serializes unknown fields, so we use our own approach for this case.Constructor and Description | +
---|
WireTypeAdapterFactory() |
+
Modifier and Type | +Method and Description | +
---|---|
<T> com.google.gson.TypeAdapter<T> |
+create(com.google.gson.Gson gson,
+ com.google.gson.reflect.TypeToken<T> type) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/com/squareup/wire/class-use/WireTypeAdapterFactory.html b/2.x/wire-gson-support/com/squareup/wire/class-use/WireTypeAdapterFactory.html new file mode 100644 index 0000000000..c2dffe5378 --- /dev/null +++ b/2.x/wire-gson-support/com/squareup/wire/class-use/WireTypeAdapterFactory.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/com/squareup/wire/package-frame.html b/2.x/wire-gson-support/com/squareup/wire/package-frame.html new file mode 100644 index 0000000000..fdce970da9 --- /dev/null +++ b/2.x/wire-gson-support/com/squareup/wire/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
WireTypeAdapterFactory | +
+ A
+TypeAdapterFactory that allows Wire messages to be serialized and deserialized
+ using the GSON Json library. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/com/squareup/wire/package-tree.html b/2.x/wire-gson-support/com/squareup/wire/package-tree.html new file mode 100644 index 0000000000..231237a144 --- /dev/null +++ b/2.x/wire-gson-support/com/squareup/wire/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/com/squareup/wire/package-use.html b/2.x/wire-gson-support/com/squareup/wire/package-use.html new file mode 100644 index 0000000000..4672a5bdfc --- /dev/null +++ b/2.x/wire-gson-support/com/squareup/wire/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/constant-values.html b/2.x/wire-gson-support/constant-values.html new file mode 100644 index 0000000000..41bbdc44cf --- /dev/null +++ b/2.x/wire-gson-support/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/deprecated-list.html b/2.x/wire-gson-support/deprecated-list.html new file mode 100644 index 0000000000..4396dbeb38 --- /dev/null +++ b/2.x/wire-gson-support/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/help-doc.html b/2.x/wire-gson-support/help-doc.html new file mode 100644 index 0000000000..5068588891 --- /dev/null +++ b/2.x/wire-gson-support/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/index-all.html b/2.x/wire-gson-support/index-all.html new file mode 100644 index 0000000000..a79d8cbc36 --- /dev/null +++ b/2.x/wire-gson-support/index-all.html @@ -0,0 +1,144 @@ + + + + + + +TypeAdapterFactory
that allows Wire messages to be serialized and deserialized
+ using the GSON Json library.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/index.html b/2.x/wire-gson-support/index.html new file mode 100644 index 0000000000..842222212a --- /dev/null +++ b/2.x/wire-gson-support/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-gson-support/package-list b/2.x/wire-gson-support/package-list new file mode 100644 index 0000000000..7ae923142b --- /dev/null +++ b/2.x/wire-gson-support/package-list @@ -0,0 +1 @@ +com.squareup.wire diff --git a/2.x/wire-gson-support/script.js b/2.x/wire-gson-support/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-gson-support/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-gson-support/stylesheet.css b/2.x/wire-gson-support/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-gson-support/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-gson-support/version.txt b/2.x/wire-gson-support/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-gson-support/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-java-generator/META-INF/MANIFEST.MF b/2.x/wire-java-generator/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-java-generator/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-java-generator/allclasses-frame.html b/2.x/wire-java-generator/allclasses-frame.html new file mode 100644 index 0000000000..6eaa449d27 --- /dev/null +++ b/2.x/wire-java-generator/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +public final class JavaGenerator +extends Object+
This can map type names from protocol buffers (like uint32
, string
, or squareup.protos.person.Person
to the corresponding Java names (like int
, java.lang.String
, or com.squareup.protos.person.Person
).
Modifier and Type | +Method and Description | +
---|---|
com.squareup.javapoet.TypeSpec |
+generateEnum(EnumType type)
+Deprecated.
+
+
+ |
+
com.squareup.javapoet.TypeSpec |
+generateMessage(MessageType type)
+Deprecated.
+
+
+ |
+
com.squareup.javapoet.TypeSpec |
+generateType(Type type)
+Returns the generated code for
+type , which may be a top-level or a nested type. |
+
static JavaGenerator |
+get(Schema schema) |
+
boolean |
+isEnum(ProtoType type) |
+
Schema |
+schema() |
+
com.squareup.javapoet.TypeName |
+typeName(ProtoType protoType)
+Returns the Java type for
+protoType . |
+
JavaGenerator |
+withAndroid(boolean emitAndroid) |
+
JavaGenerator |
+withCompact(boolean compactGeneration) |
+
public JavaGenerator withAndroid(boolean emitAndroid)+
public JavaGenerator withCompact(boolean compactGeneration)+
public static JavaGenerator get(Schema schema)+
public Schema schema()+
public com.squareup.javapoet.TypeName typeName(ProtoType protoType)+
protoType
.IllegalArgumentException
- if there is no known Java type for protoType
, such as
+ if that type wasn't in this generator's schema.public boolean isEnum(ProtoType type)+
public com.squareup.javapoet.TypeSpec generateType(Type type)+
type
, which may be a top-level or a nested type.@Deprecated +public com.squareup.javapoet.TypeSpec generateEnum(EnumType type)+
generateType(Type)
@Deprecated +public com.squareup.javapoet.TypeSpec generateMessage(MessageType type)+
generateType(Type)
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/com/squareup/wire/java/class-use/JavaGenerator.html b/2.x/wire-java-generator/com/squareup/wire/java/class-use/JavaGenerator.html new file mode 100644 index 0000000000..84ca4a4cfb --- /dev/null +++ b/2.x/wire-java-generator/com/squareup/wire/java/class-use/JavaGenerator.html @@ -0,0 +1,157 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
static JavaGenerator |
+JavaGenerator.get(Schema schema) |
+
JavaGenerator |
+JavaGenerator.withAndroid(boolean emitAndroid) |
+
JavaGenerator |
+JavaGenerator.withCompact(boolean compactGeneration) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/com/squareup/wire/java/package-frame.html b/2.x/wire-java-generator/com/squareup/wire/java/package-frame.html new file mode 100644 index 0000000000..dbe0a70ec7 --- /dev/null +++ b/2.x/wire-java-generator/com/squareup/wire/java/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
JavaGenerator | +
+ Generates Java source code that matches proto definitions.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/com/squareup/wire/java/package-tree.html b/2.x/wire-java-generator/com/squareup/wire/java/package-tree.html new file mode 100644 index 0000000000..927ba6062e --- /dev/null +++ b/2.x/wire-java-generator/com/squareup/wire/java/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/com/squareup/wire/java/package-use.html b/2.x/wire-java-generator/com/squareup/wire/java/package-use.html new file mode 100644 index 0000000000..1a58faa0ca --- /dev/null +++ b/2.x/wire-java-generator/com/squareup/wire/java/package-use.html @@ -0,0 +1,144 @@ + + + + + + +Class and Description | +
---|
JavaGenerator
+ Generates Java source code that matches proto definitions.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/constant-values.html b/2.x/wire-java-generator/constant-values.html new file mode 100644 index 0000000000..e40bfdcf92 --- /dev/null +++ b/2.x/wire-java-generator/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/deprecated-list.html b/2.x/wire-java-generator/deprecated-list.html new file mode 100644 index 0000000000..cfc6cdd6f0 --- /dev/null +++ b/2.x/wire-java-generator/deprecated-list.html @@ -0,0 +1,153 @@ + + + + + + +Method and Description | +
---|
com.squareup.wire.java.JavaGenerator.generateEnum(EnumType) + + | +
com.squareup.wire.java.JavaGenerator.generateMessage(MessageType) + + | +
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/help-doc.html b/2.x/wire-java-generator/help-doc.html new file mode 100644 index 0000000000..3ffeb50eb1 --- /dev/null +++ b/2.x/wire-java-generator/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/index-all.html b/2.x/wire-java-generator/index-all.html new file mode 100644 index 0000000000..ca130eb32c --- /dev/null +++ b/2.x/wire-java-generator/index-all.html @@ -0,0 +1,199 @@ + + + + + + +type
, which may be a top-level or a nested type.protoType
.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/index.html b/2.x/wire-java-generator/index.html new file mode 100644 index 0000000000..79e36a7440 --- /dev/null +++ b/2.x/wire-java-generator/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-java-generator/package-list b/2.x/wire-java-generator/package-list new file mode 100644 index 0000000000..19aa870ab6 --- /dev/null +++ b/2.x/wire-java-generator/package-list @@ -0,0 +1 @@ +com.squareup.wire.java diff --git a/2.x/wire-java-generator/script.js b/2.x/wire-java-generator/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-java-generator/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-java-generator/stylesheet.css b/2.x/wire-java-generator/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-java-generator/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-java-generator/version.txt b/2.x/wire-java-generator/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-java-generator/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-maven-plugin/META-INF/MANIFEST.MF b/2.x/wire-maven-plugin/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-maven-plugin/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-maven-plugin/allclasses-frame.html b/2.x/wire-maven-plugin/allclasses-frame.html new file mode 100644 index 0000000000..6868182d6c --- /dev/null +++ b/2.x/wire-maven-plugin/allclasses-frame.html @@ -0,0 +1,21 @@ + + + + + + +@Mojo(name="help",
+ requiresProject=false,
+ threadSafe=true)
+public class HelpMojo
+extends org.apache.maven.plugin.AbstractMojo
+mvn wire:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.ROLE
Modifier and Type | +Method and Description | +
---|---|
void |
+execute() |
+
getLog, getPluginContext, setLog, setPluginContext
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/WireGenerateSourcesMojo.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/WireGenerateSourcesMojo.html new file mode 100644 index 0000000000..92053a8cf3 --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/WireGenerateSourcesMojo.html @@ -0,0 +1,312 @@ + + + + + + +@Mojo(name="generate-sources",
+ defaultPhase=GENERATE_SOURCES)
+public class WireGenerateSourcesMojo
+extends org.apache.maven.plugin.AbstractMojo
+ROLE
Constructor and Description | +
---|
WireGenerateSourcesMojo() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+execute() |
+
getLog, getPluginContext, setLog, setPluginContext
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/HelpMojo.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/HelpMojo.html new file mode 100644 index 0000000000..d5aec94d03 --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/HelpMojo.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/WireGenerateSourcesMojo.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/WireGenerateSourcesMojo.html new file mode 100644 index 0000000000..be7f6daaa1 --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/class-use/WireGenerateSourcesMojo.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-frame.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-frame.html new file mode 100644 index 0000000000..58ce143d38 --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Class | +Description | +
---|---|
HelpMojo | +
+ Display help information on wire-maven-plugin.
++ Call mvn wire:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
+
WireGenerateSourcesMojo | +
+ A maven mojo that executes Wire's JavaGenerator.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-tree.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-tree.html new file mode 100644 index 0000000000..5953652149 --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-use.html b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-use.html new file mode 100644 index 0000000000..82dd57560a --- /dev/null +++ b/2.x/wire-maven-plugin/com/squareup/wire/mojo/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/constant-values.html b/2.x/wire-maven-plugin/constant-values.html new file mode 100644 index 0000000000..15d674a0a1 --- /dev/null +++ b/2.x/wire-maven-plugin/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/deprecated-list.html b/2.x/wire-maven-plugin/deprecated-list.html new file mode 100644 index 0000000000..28e126fb2f --- /dev/null +++ b/2.x/wire-maven-plugin/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/help-doc.html b/2.x/wire-maven-plugin/help-doc.html new file mode 100644 index 0000000000..90fef87249 --- /dev/null +++ b/2.x/wire-maven-plugin/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/index-all.html b/2.x/wire-maven-plugin/index-all.html new file mode 100644 index 0000000000..528edfa060 --- /dev/null +++ b/2.x/wire-maven-plugin/index-all.html @@ -0,0 +1,163 @@ + + + + + + +mvn wire:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/index.html b/2.x/wire-maven-plugin/index.html new file mode 100644 index 0000000000..c621caefef --- /dev/null +++ b/2.x/wire-maven-plugin/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-maven-plugin/package-list b/2.x/wire-maven-plugin/package-list new file mode 100644 index 0000000000..4759dd7682 --- /dev/null +++ b/2.x/wire-maven-plugin/package-list @@ -0,0 +1 @@ +com.squareup.wire.mojo diff --git a/2.x/wire-maven-plugin/script.js b/2.x/wire-maven-plugin/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-maven-plugin/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-maven-plugin/stylesheet.css b/2.x/wire-maven-plugin/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-maven-plugin/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-maven-plugin/version.txt b/2.x/wire-maven-plugin/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-maven-plugin/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-runtime/META-INF/MANIFEST.MF b/2.x/wire-runtime/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-runtime/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-runtime/allclasses-frame.html b/2.x/wire-runtime/allclasses-frame.html new file mode 100644 index 0000000000..5de32304e7 --- /dev/null +++ b/2.x/wire-runtime/allclasses-frame.html @@ -0,0 +1,31 @@ + + + + + + +public abstract class AndroidMessage<M extends Message<M,B>,B extends Message.Builder<M,B>> +extends Message<M,B> +implements android.os.Parcelable+
Message
which adds support for Parcelable
.Message.Builder<T extends Message<T,B>,B extends Message.Builder<T,B>>
android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | +Constructor and Description | +
---|---|
protected |
+AndroidMessage(ProtoAdapter<M> adapter,
+ okio.ByteString unknownFields) |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+describeContents() |
+
static <E> android.os.Parcelable.Creator<E> |
+newCreator(ProtoAdapter<E> adapter)
+Creates a new
+Parcelable.Creator using adapter for serialization. |
+
void |
+writeToParcel(android.os.Parcel dest,
+ int flags) |
+
adapter, encode, encode, encode, newBuilder, toString, unknownFields, withoutUnknownFields, writeReplace
protected AndroidMessage(ProtoAdapter<M> adapter, + okio.ByteString unknownFields)+
public static <E> android.os.Parcelable.Creator<E> newCreator(ProtoAdapter<E> adapter)+
Parcelable.Creator
using adapter
for serialization.public final void writeToParcel(android.os.Parcel dest, + int flags)+
writeToParcel
in interface android.os.Parcelable
public final int describeContents()+
describeContents
in interface android.os.Parcelable
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/FieldEncoding.html b/2.x/wire-runtime/com/squareup/wire/FieldEncoding.html new file mode 100644 index 0000000000..02843e4193 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/FieldEncoding.html @@ -0,0 +1,382 @@ + + + + + + +public enum FieldEncoding +extends Enum<FieldEncoding>+
Enum Constant and Description | +
---|
FIXED32 |
+
FIXED64 |
+
LENGTH_DELIMITED |
+
VARINT |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoAdapter<?> |
+rawProtoAdapter()
+Returns a Wire adapter that reads this field encoding without interpretation.
+ |
+
static FieldEncoding |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FieldEncoding[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final FieldEncoding VARINT+
public static final FieldEncoding FIXED64+
public static final FieldEncoding LENGTH_DELIMITED+
public static final FieldEncoding FIXED32+
public static FieldEncoding[] values()+
+for (FieldEncoding c : FieldEncoding.values()) + System.out.println(c); +
public static FieldEncoding valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ProtoAdapter<?> rawProtoAdapter()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/Message.Builder.html b/2.x/wire-runtime/com/squareup/wire/Message.Builder.html new file mode 100644 index 0000000000..a7098004f8 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/Message.Builder.html @@ -0,0 +1,341 @@ + + + + + + +Modifier | +Constructor and Description | +
---|---|
protected |
+Builder() |
+
Modifier and Type | +Method and Description | +
---|---|
Message.Builder<T,B> |
+addUnknownField(int tag,
+ FieldEncoding fieldEncoding,
+ Object value) |
+
Message.Builder<T,B> |
+addUnknownFields(okio.ByteString unknownFields) |
+
abstract T |
+build()
+Returns an immutable
+Message based on the fields that set in this builder. |
+
okio.ByteString |
+buildUnknownFields()
+Returns a byte string with this message's unknown fields.
+ |
+
Message.Builder<T,B> |
+clearUnknownFields() |
+
public final Message.Builder<T,B> addUnknownFields(okio.ByteString unknownFields)+
public final Message.Builder<T,B> addUnknownField(int tag, + FieldEncoding fieldEncoding, + Object value)+
public final Message.Builder<T,B> clearUnknownFields()+
public final okio.ByteString buildUnknownFields()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/Message.html b/2.x/wire-runtime/com/squareup/wire/Message.html new file mode 100644 index 0000000000..56f534fb4e --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/Message.html @@ -0,0 +1,494 @@ + + + + + + +public abstract class Message<M extends Message<M,B>,B extends Message.Builder<M,B>> +extends Object +implements Serializable+
Modifier and Type | +Class and Description | +
---|---|
static class |
+Message.Builder<T extends Message<T,B>,B extends Message.Builder<T,B>>
+Superclass for protocol buffer message builders.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
protected int |
+hashCode
+If non-zero, the hash code of this message.
+ |
+
Modifier | +Constructor and Description | +
---|---|
protected |
+Message(ProtoAdapter<M> adapter,
+ okio.ByteString unknownFields) |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoAdapter<M> |
+adapter()
+The
+ProtoAdapter for encoding and decoding messages of this type. |
+
byte[] |
+encode()
+Encode this message as a
+byte[] . |
+
void |
+encode(okio.BufferedSink sink)
+Encode this message and write it to
+stream . |
+
void |
+encode(OutputStream stream)
+Encode this message and write it to
+stream . |
+
abstract Message.Builder<M,B> |
+newBuilder()
+Returns a new builder initialized with the data in this message.
+ |
+
String |
+toString() |
+
okio.ByteString |
+unknownFields()
+Returns a byte string containing the proto encoding of this message's unknown fields.
+ |
+
M |
+withoutUnknownFields()
+Returns this message with any unknown fields removed.
+ |
+
protected Object |
+writeReplace() |
+
protected transient int hashCode+
protected Message(ProtoAdapter<M> adapter, + okio.ByteString unknownFields)+
public final okio.ByteString unknownFields()+
public abstract Message.Builder<M,B> newBuilder()+
public final M withoutUnknownFields()+
protected final Object writeReplace() + throws ObjectStreamException+
ObjectStreamException
public final ProtoAdapter<M> adapter()+
ProtoAdapter
for encoding and decoding messages of this type.public final void encode(okio.BufferedSink sink) + throws IOException+
stream
.IOException
public final byte[] encode()+
byte[]
.public final void encode(OutputStream stream) + throws IOException+
stream
.IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.EnumConstantNotFoundException.html b/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.EnumConstantNotFoundException.html new file mode 100644 index 0000000000..60e325ac17 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.EnumConstantNotFoundException.html @@ -0,0 +1,278 @@ + + + + + + +public static final class ProtoAdapter.EnumConstantNotFoundException +extends IllegalArgumentException+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.html b/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.html new file mode 100644 index 0000000000..d88a16f3a9 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/ProtoAdapter.html @@ -0,0 +1,927 @@ + + + + + + +public abstract class ProtoAdapter<E> +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ProtoAdapter.EnumConstantNotFoundException |
+
Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Boolean> |
+BOOL |
+
static ProtoAdapter<okio.ByteString> |
+BYTES |
+
static ProtoAdapter<Double> |
+DOUBLE |
+
static ProtoAdapter<Integer> |
+FIXED32 |
+
static ProtoAdapter<Long> |
+FIXED64 |
+
static ProtoAdapter<Float> |
+FLOAT |
+
static ProtoAdapter<Integer> |
+INT32 |
+
static ProtoAdapter<Long> |
+INT64 |
+
static ProtoAdapter<Integer> |
+SFIXED32 |
+
static ProtoAdapter<Long> |
+SFIXED64 |
+
static ProtoAdapter<Integer> |
+SINT32 |
+
static ProtoAdapter<Long> |
+SINT64 |
+
static ProtoAdapter<String> |
+STRING |
+
static ProtoAdapter<Integer> |
+UINT32 |
+
static ProtoAdapter<Long> |
+UINT64
+Like INT64, but negative longs are interpreted as large positive values, and encoded that way
+ in JSON.
+ |
+
Constructor and Description | +
---|
ProtoAdapter(FieldEncoding fieldEncoding,
+ Class<?> javaType) |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoAdapter<List<E>> |
+asPacked()
+Returns an adapter for
+E but as a packed, repeated value. |
+
ProtoAdapter<List<E>> |
+asRepeated()
+Returns an adapter for
+E but as a repeated value. |
+
E |
+decode(okio.BufferedSource source)
+Read an encoded message from
+source . |
+
E |
+decode(byte[] bytes)
+Read an encoded message from
+bytes . |
+
E |
+decode(okio.ByteString bytes)
+Read an encoded message from
+bytes . |
+
E |
+decode(InputStream stream)
+Read an encoded message from
+stream . |
+
abstract E |
+decode(ProtoReader reader)
+Read a non-null value from
+reader . |
+
void |
+encode(okio.BufferedSink sink,
+ E value)
+Encode
+value and write it to stream . |
+
byte[] |
+encode(E value)
+Encode
+value as a byte[] . |
+
void |
+encode(OutputStream stream,
+ E value)
+Encode
+value and write it to stream . |
+
abstract void |
+encode(ProtoWriter writer,
+ E value)
+Write non-null
+value to writer . |
+
abstract int |
+encodedSize(E value)
+The size of the non-null data
+value . |
+
int |
+encodedSizeWithTag(int tag,
+ E value)
+The size of
+tag and non-null value in the wire format. |
+
void |
+encodeWithTag(ProtoWriter writer,
+ int tag,
+ E value)
+Write
+tag and non-null value to writer . |
+
static <M> ProtoAdapter<M> |
+get(Class<M> type)
+Returns the adapter for
+type . |
+
static <M extends Message> |
+get(M message)
+Returns the adapter for the type of
+Message . |
+
static <E extends WireEnum> |
+newEnumAdapter(Class<E> type)
+Creates a new proto adapter for
+type . |
+
static <K,V> ProtoAdapter<Map<K,V>> |
+newMapAdapter(ProtoAdapter<K> keyAdapter,
+ ProtoAdapter<V> valueAdapter)
+Creates a new proto adapter for a map using
+keyAdapter and valueAdapter . |
+
static <M extends Message<M,B>,B extends Message.Builder<M,B>> |
+newMessageAdapter(Class<M> type)
+Creates a new proto adapter for
+type . |
+
E |
+redact(E value)
+Returns the redacted form of
+value . |
+
String |
+toString(E value)
+Returns a human-readable version of the given
+value . |
+
public static final ProtoAdapter<Boolean> BOOL+
public static final ProtoAdapter<Integer> INT32+
public static final ProtoAdapter<Integer> UINT32+
public static final ProtoAdapter<Integer> SINT32+
public static final ProtoAdapter<Integer> FIXED32+
public static final ProtoAdapter<Integer> SFIXED32+
public static final ProtoAdapter<Long> INT64+
public static final ProtoAdapter<Long> UINT64+
public static final ProtoAdapter<Long> SINT64+
public static final ProtoAdapter<Long> FIXED64+
public static final ProtoAdapter<Long> SFIXED64+
public static final ProtoAdapter<Float> FLOAT+
public static final ProtoAdapter<Double> DOUBLE+
public static final ProtoAdapter<String> STRING+
public static final ProtoAdapter<okio.ByteString> BYTES+
public ProtoAdapter(FieldEncoding fieldEncoding, + Class<?> javaType)+
public static <M extends Message<M,B>,B extends Message.Builder<M,B>> ProtoAdapter<M> newMessageAdapter(Class<M> type)+
type
.public static <E extends WireEnum> com.squareup.wire.RuntimeEnumAdapter<E> newEnumAdapter(Class<E> type)+
type
.public static <K,V> ProtoAdapter<Map<K,V>> newMapAdapter(ProtoAdapter<K> keyAdapter, + ProtoAdapter<V> valueAdapter)+
keyAdapter
and valueAdapter
.
+ + Note: Map entries are not required to be encoded sequentially. Thus, when decoding using + the returned adapter, only single-element maps will be returned and it is the caller's + responsibility to merge them into the final map.
public static <M extends Message> ProtoAdapter<M> get(M message)+
Message
.public static <M> ProtoAdapter<M> get(Class<M> type)+
type
.public abstract int encodedSize(E value)+
value
. This does not include the size required for
+ a length-delimited prefix (should the type require one).public int encodedSizeWithTag(int tag, + E value)+
tag
and non-null value
in the wire format. This size includes the
+ tag, type, length-delimited prefix (should the type require one), and value.public abstract void encode(ProtoWriter writer, + E value) + throws IOException+
value
to writer
.IOException
public void encodeWithTag(ProtoWriter writer, + int tag, + E value) + throws IOException+
tag
and non-null value
to writer
.IOException
public final void encode(okio.BufferedSink sink, + E value) + throws IOException+
value
and write it to stream
.IOException
public final byte[] encode(E value)+
value
as a byte[]
.public final void encode(OutputStream stream, + E value) + throws IOException+
value
and write it to stream
.IOException
public abstract E decode(ProtoReader reader) + throws IOException+
reader
.IOException
public final E decode(byte[] bytes) + throws IOException+
bytes
.IOException
public final E decode(okio.ByteString bytes) + throws IOException+
bytes
.IOException
public final E decode(InputStream stream) + throws IOException+
stream
.IOException
public final E decode(okio.BufferedSource source) + throws IOException+
source
.IOException
public String toString(E value)+
value
.public final ProtoAdapter<List<E>> asPacked()+
E
but as a packed, repeated value.public final ProtoAdapter<List<E>> asRepeated()+
E
but as a repeated value.
+ + Note: Repeated items are not required to be encoded sequentially. Thus, when decoding using + the returned adapter, only single-element lists will be returned and it is the caller's + responsibility to merge them into the final list.
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/ProtoReader.html b/2.x/wire-runtime/com/squareup/wire/ProtoReader.html new file mode 100644 index 0000000000..da2d0dcb03 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/ProtoReader.html @@ -0,0 +1,493 @@ + + + + + + +public final class ProtoReader +extends Object+
Constructor and Description | +
---|
ProtoReader(okio.BufferedSource source) |
+
Modifier and Type | +Method and Description | +
---|---|
long |
+beginMessage()
+Begin a nested message.
+ |
+
void |
+endMessage(long token)
+End a length-delimited nested message.
+ |
+
int |
+nextTag()
+Reads and returns the next tag of the message, or -1 if there are no further tags.
+ |
+
FieldEncoding |
+peekFieldEncoding()
+Returns the encoding of the next field value.
+ |
+
okio.ByteString |
+readBytes()
+Reads a
+bytes field value from the stream. |
+
int |
+readFixed32()
+Reads a 32-bit little-endian integer from the stream.
+ |
+
long |
+readFixed64()
+Reads a 64-bit little-endian integer from the stream.
+ |
+
String |
+readString()
+Reads a
+string field value from the stream. |
+
int |
+readVarint32()
+Reads a raw varint from the stream.
+ |
+
long |
+readVarint64()
+Reads a raw varint up to 64 bits in length from the stream.
+ |
+
void |
+skip()
+Skips the current field's value.
+ |
+
public ProtoReader(okio.BufferedSource source)+
public long beginMessage() + throws IOException+
nextTag()
returns -1 when the message is complete. An accompanying call to endMessage(long)
must then occur with the opaque token returned from this method.IOException
public void endMessage(long token) + throws IOException+
beginMessage()
.token
- value returned from the corresponding call to beginMessage()
.IOException
public int nextTag() + throws IOException+
peekFieldEncoding()
after calling this method to query its encoding. This silently skips
+ groups.IOException
public FieldEncoding peekFieldEncoding()+
nextTag()
must be called before
+ this method.public void skip() + throws IOException+
nextTag()
.IOException
public okio.ByteString readBytes() + throws IOException+
bytes
field value from the stream. The length is read from the
+ stream prior to the actual data.IOException
public String readString() + throws IOException+
string
field value from the stream.IOException
public int readVarint32() + throws IOException+
IOException
public long readVarint64() + throws IOException+
IOException
public int readFixed32() + throws IOException+
IOException
public long readFixed64() + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/ProtoWriter.html b/2.x/wire-runtime/com/squareup/wire/ProtoWriter.html new file mode 100644 index 0000000000..8ef2f2d9b4 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/ProtoWriter.html @@ -0,0 +1,403 @@ + + + + + + +public final class ProtoWriter +extends Object+
Constructor and Description | +
---|
ProtoWriter(okio.BufferedSink sink) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+writeBytes(okio.ByteString value) |
+
void |
+writeFixed32(int value)
+Write a little-endian 32-bit integer.
+ |
+
void |
+writeFixed64(long value)
+Write a little-endian 64-bit integer.
+ |
+
void |
+writeString(String value) |
+
void |
+writeTag(int fieldNumber,
+ FieldEncoding fieldEncoding)
+Encode and write a tag.
+ |
+
void |
+writeVarint32(int value)
+Encode and write a varint.
+ |
+
void |
+writeVarint64(long value)
+Encode and write a varint.
+ |
+
public ProtoWriter(okio.BufferedSink sink)+
public void writeBytes(okio.ByteString value) + throws IOException+
IOException
public void writeString(String value) + throws IOException+
IOException
public void writeTag(int fieldNumber, + FieldEncoding fieldEncoding) + throws IOException+
IOException
public void writeVarint32(int value) + throws IOException+
value
is treated as unsigned, so it won't be sign-extended
+ if negative.IOException
public void writeVarint64(long value) + throws IOException+
IOException
public void writeFixed32(int value) + throws IOException+
IOException
public void writeFixed64(long value) + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/Wire.html b/2.x/wire-runtime/com/squareup/wire/Wire.html new file mode 100644 index 0000000000..7fa8e6439f --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/Wire.html @@ -0,0 +1,256 @@ + + + + + + +public final class Wire +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static <T> T |
+get(T value,
+ T defaultValue)
+Returns
+value if it is not null; defaultValue otherwise. |
+
public static <T> T get(T value, + T defaultValue)+
value
if it is not null; defaultValue
otherwise.
+ This is used to conveniently return a default value when a value is null.
+ For example,
+
+ + MyProto myProto = ... + MyField field = Wire.get(myProto.f, MyProto.f_default); ++ + will attempt to retrieve the value of the field 'f' defined by MyProto. + If the field is null (i.e., unset),
get
will return its
+ second argument, which in this case is the default value for the field
+ 'f'.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/WireEnum.html b/2.x/wire-runtime/com/squareup/wire/WireEnum.html new file mode 100644 index 0000000000..3c9f69718a --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/WireEnum.html @@ -0,0 +1,226 @@ + + + + + + +public interface WireEnum
+Enum
values to help serialization and
+ deserialization.Modifier and Type | +Method and Description | +
---|---|
int |
+getValue()
+The tag value of an enum constant.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/WireField.Label.html b/2.x/wire-runtime/com/squareup/wire/WireField.Label.html new file mode 100644 index 0000000000..161b4ba31b --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/WireField.Label.html @@ -0,0 +1,385 @@ + + + + + + +public static enum WireField.Label +extends Enum<WireField.Label>+
Enum Constant and Description | +
---|
ONE_OF |
+
OPTIONAL |
+
PACKED
+Implies
+REPEATED . |
+
REPEATED |
+
REQUIRED |
+
Modifier and Type | +Method and Description | +
---|---|
static WireField.Label |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static WireField.Label[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final WireField.Label REQUIRED+
public static final WireField.Label OPTIONAL+
public static final WireField.Label REPEATED+
public static final WireField.Label ONE_OF+
public static final WireField.Label PACKED+
REPEATED
.public static WireField.Label[] values()+
+for (WireField.Label c : WireField.Label.values()) + System.out.println(c); +
public static WireField.Label valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/WireField.html b/2.x/wire-runtime/com/squareup/wire/WireField.html new file mode 100644 index 0000000000..b50bc67f75 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/WireField.html @@ -0,0 +1,332 @@ + + + + + + +Modifier and Type | +Required Element and Description | +
---|---|
String |
+adapter
+Reference to the static field that holds a
+ProtoAdapter that can encode and decode
+ this field's values. |
+
int |
+tag
+The tag number used to store the field's value.
+ |
+
Modifier and Type | +Optional Element and Description | +
---|---|
String |
+keyAdapter
+Reference to the static field that holds a
+ProtoAdapter that can encode and decode
+ this field's keys. |
+
WireField.Label |
+label
+The field's protocol buffer label, one of
+WireField.Label.OPTIONAL ,
+ WireField.Label.REQUIRED , WireField.Label.REPEATED , or WireField.Label.PACKED . |
+
boolean |
+redacted
+Redacted fields are omitted from toString() to protect sensitive data.
+ |
+
public abstract int tag+
public abstract String adapter+
ProtoAdapter
that can encode and decode
+ this field's values. The reference is a string like
+ com.squareup.wire.protos.person.Person#ADAPTER
and contains a fully-qualified class
+ name followed by a hash symbol and a field name.public abstract String keyAdapter+
ProtoAdapter
that can encode and decode
+ this field's keys. This only applies to maps. See adapter()
for a description
+ of the value format.public abstract WireField.Label label+
WireField.Label.OPTIONAL
,
+ WireField.Label.REQUIRED
, WireField.Label.REPEATED
, or WireField.Label.PACKED
.
+ Defaults to WireField.Label.OPTIONAL
.public abstract boolean redacted+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/AndroidMessage.html b/2.x/wire-runtime/com/squareup/wire/class-use/AndroidMessage.html new file mode 100644 index 0000000000..01b62e7cf5 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/AndroidMessage.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/FieldEncoding.html b/2.x/wire-runtime/com/squareup/wire/class-use/FieldEncoding.html new file mode 100644 index 0000000000..3f99b61916 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/FieldEncoding.html @@ -0,0 +1,198 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
FieldEncoding |
+ProtoReader.peekFieldEncoding()
+Returns the encoding of the next field value.
+ |
+
static FieldEncoding |
+FieldEncoding.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FieldEncoding[] |
+FieldEncoding.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Message.Builder<T,B> |
+Message.Builder.addUnknownField(int tag,
+ FieldEncoding fieldEncoding,
+ Object value) |
+
void |
+ProtoWriter.writeTag(int fieldNumber,
+ FieldEncoding fieldEncoding)
+Encode and write a tag.
+ |
+
Constructor and Description | +
---|
ProtoAdapter(FieldEncoding fieldEncoding,
+ Class<?> javaType) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/Message.Builder.html b/2.x/wire-runtime/com/squareup/wire/class-use/Message.Builder.html new file mode 100644 index 0000000000..34e5a35661 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/Message.Builder.html @@ -0,0 +1,207 @@ + + + + + + +Modifier and Type | +Class and Description | +
---|---|
class |
+AndroidMessage<M extends Message<M,B>,B extends Message.Builder<M,B>>
+An Android-specific
+Message which adds support for Parcelable . |
+
class |
+Message<M extends Message<M,B>,B extends Message.Builder<M,B>>
+A protocol buffer message.
+ |
+
static class |
+Message.Builder<T extends Message<T,B>,B extends Message.Builder<T,B>>
+Superclass for protocol buffer message builders.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static <M extends Message<M,B>,B extends Message.Builder<M,B>> |
+ProtoAdapter.newMessageAdapter(Class<M> type)
+Creates a new proto adapter for
+type . |
+
Modifier and Type | +Method and Description | +
---|---|
Message.Builder<T,B> |
+Message.Builder.addUnknownField(int tag,
+ FieldEncoding fieldEncoding,
+ Object value) |
+
Message.Builder<T,B> |
+Message.Builder.addUnknownFields(okio.ByteString unknownFields) |
+
Message.Builder<T,B> |
+Message.Builder.clearUnknownFields() |
+
abstract Message.Builder<M,B> |
+Message.newBuilder()
+Returns a new builder initialized with the data in this message.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/Message.html b/2.x/wire-runtime/com/squareup/wire/class-use/Message.html new file mode 100644 index 0000000000..0fbc13a193 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/Message.html @@ -0,0 +1,199 @@ + + + + + + +Modifier and Type | +Class and Description | +
---|---|
class |
+AndroidMessage<M extends Message<M,B>,B extends Message.Builder<M,B>>
+An Android-specific
+Message which adds support for Parcelable . |
+
class |
+Message<M extends Message<M,B>,B extends Message.Builder<M,B>>
+A protocol buffer message.
+ |
+
static class |
+Message.Builder<T extends Message<T,B>,B extends Message.Builder<T,B>>
+Superclass for protocol buffer message builders.
+ |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+AndroidMessage<M extends Message<M,B>,B extends Message.Builder<M,B>>
+An Android-specific
+Message which adds support for Parcelable . |
+
Modifier and Type | +Method and Description | +
---|---|
static <M extends Message> |
+ProtoAdapter.get(M message)
+Returns the adapter for the type of
+Message . |
+
static <M extends Message<M,B>,B extends Message.Builder<M,B>> |
+ProtoAdapter.newMessageAdapter(Class<M> type)
+Creates a new proto adapter for
+type . |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.EnumConstantNotFoundException.html b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.EnumConstantNotFoundException.html new file mode 100644 index 0000000000..62f81fb726 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.EnumConstantNotFoundException.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.html b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.html new file mode 100644 index 0000000000..b31c7c9de7 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoAdapter.html @@ -0,0 +1,311 @@ + + + + + + +Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Boolean> |
+ProtoAdapter.BOOL |
+
static ProtoAdapter<okio.ByteString> |
+ProtoAdapter.BYTES |
+
static ProtoAdapter<Double> |
+ProtoAdapter.DOUBLE |
+
static ProtoAdapter<Integer> |
+ProtoAdapter.FIXED32 |
+
static ProtoAdapter<Long> |
+ProtoAdapter.FIXED64 |
+
static ProtoAdapter<Float> |
+ProtoAdapter.FLOAT |
+
static ProtoAdapter<Integer> |
+ProtoAdapter.INT32 |
+
static ProtoAdapter<Long> |
+ProtoAdapter.INT64 |
+
static ProtoAdapter<Integer> |
+ProtoAdapter.SFIXED32 |
+
static ProtoAdapter<Long> |
+ProtoAdapter.SFIXED64 |
+
static ProtoAdapter<Integer> |
+ProtoAdapter.SINT32 |
+
static ProtoAdapter<Long> |
+ProtoAdapter.SINT64 |
+
static ProtoAdapter<String> |
+ProtoAdapter.STRING |
+
static ProtoAdapter<Integer> |
+ProtoAdapter.UINT32 |
+
static ProtoAdapter<Long> |
+ProtoAdapter.UINT64
+Like INT64, but negative longs are interpreted as large positive values, and encoded that way
+ in JSON.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoAdapter<M> |
+Message.adapter()
+The
+ProtoAdapter for encoding and decoding messages of this type. |
+
ProtoAdapter<List<E>> |
+ProtoAdapter.asPacked()
+Returns an adapter for
+E but as a packed, repeated value. |
+
ProtoAdapter<List<E>> |
+ProtoAdapter.asRepeated()
+Returns an adapter for
+E but as a repeated value. |
+
static <M> ProtoAdapter<M> |
+ProtoAdapter.get(Class<M> type)
+Returns the adapter for
+type . |
+
static <M extends Message> |
+ProtoAdapter.get(M message)
+Returns the adapter for the type of
+Message . |
+
static <K,V> ProtoAdapter<Map<K,V>> |
+ProtoAdapter.newMapAdapter(ProtoAdapter<K> keyAdapter,
+ ProtoAdapter<V> valueAdapter)
+Creates a new proto adapter for a map using
+keyAdapter and valueAdapter . |
+
static <M extends Message<M,B>,B extends Message.Builder<M,B>> |
+ProtoAdapter.newMessageAdapter(Class<M> type)
+Creates a new proto adapter for
+type . |
+
ProtoAdapter<?> |
+FieldEncoding.rawProtoAdapter()
+Returns a Wire adapter that reads this field encoding without interpretation.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static <E> android.os.Parcelable.Creator<E> |
+AndroidMessage.newCreator(ProtoAdapter<E> adapter)
+Creates a new
+Parcelable.Creator using adapter for serialization. |
+
static <K,V> ProtoAdapter<Map<K,V>> |
+ProtoAdapter.newMapAdapter(ProtoAdapter<K> keyAdapter,
+ ProtoAdapter<V> valueAdapter)
+Creates a new proto adapter for a map using
+keyAdapter and valueAdapter . |
+
static <K,V> ProtoAdapter<Map<K,V>> |
+ProtoAdapter.newMapAdapter(ProtoAdapter<K> keyAdapter,
+ ProtoAdapter<V> valueAdapter)
+Creates a new proto adapter for a map using
+keyAdapter and valueAdapter . |
+
Constructor and Description | +
---|
AndroidMessage(ProtoAdapter<M> adapter,
+ okio.ByteString unknownFields) |
+
Message(ProtoAdapter<M> adapter,
+ okio.ByteString unknownFields) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/ProtoReader.html b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoReader.html new file mode 100644 index 0000000000..ac8e411acd --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoReader.html @@ -0,0 +1,151 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
abstract E |
+ProtoAdapter.decode(ProtoReader reader)
+Read a non-null value from
+reader . |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/ProtoWriter.html b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoWriter.html new file mode 100644 index 0000000000..af4b4f851b --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/ProtoWriter.html @@ -0,0 +1,160 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
abstract void |
+ProtoAdapter.encode(ProtoWriter writer,
+ E value)
+Write non-null
+value to writer . |
+
void |
+ProtoAdapter.encodeWithTag(ProtoWriter writer,
+ int tag,
+ E value)
+Write
+tag and non-null value to writer . |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/Wire.html b/2.x/wire-runtime/com/squareup/wire/class-use/Wire.html new file mode 100644 index 0000000000..87b2070a93 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/Wire.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/WireEnum.html b/2.x/wire-runtime/com/squareup/wire/class-use/WireEnum.html new file mode 100644 index 0000000000..6013000665 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/WireEnum.html @@ -0,0 +1,151 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
static <E extends WireEnum> |
+ProtoAdapter.newEnumAdapter(Class<E> type)
+Creates a new proto adapter for
+type . |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/WireField.Label.html b/2.x/wire-runtime/com/squareup/wire/class-use/WireField.Label.html new file mode 100644 index 0000000000..a511cdc3d3 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/WireField.Label.html @@ -0,0 +1,158 @@ + + + + + + +Modifier and Type | +Method and Description | +
---|---|
static WireField.Label |
+WireField.Label.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static WireField.Label[] |
+WireField.Label.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/class-use/WireField.html b/2.x/wire-runtime/com/squareup/wire/class-use/WireField.html new file mode 100644 index 0000000000..13c3fe89ae --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/class-use/WireField.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/package-frame.html b/2.x/wire-runtime/com/squareup/wire/package-frame.html new file mode 100644 index 0000000000..536d28d7e2 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/package-frame.html @@ -0,0 +1,44 @@ + + + + + + +Interface | +Description | +
---|---|
WireEnum | +
+ Interface for generated
+Enum values to help serialization and
+ deserialization. |
+
Class | +Description | +
---|---|
AndroidMessage<M extends Message<M,B>,B extends Message.Builder<M,B>> | +
+ An Android-specific
+Message which adds support for Parcelable . |
+
Message<M extends Message<M,B>,B extends Message.Builder<M,B>> | +
+ A protocol buffer message.
+ |
+
Message.Builder<T extends Message<T,B>,B extends Message.Builder<T,B>> | +
+ Superclass for protocol buffer message builders.
+ |
+
ProtoAdapter<E> | ++ |
ProtoReader | +
+ Reads and decodes protocol message fields.
+ |
+
ProtoWriter | +
+ Utilities for encoding and writing protocol message fields.
+ |
+
Wire | ++ |
Enum | +Description | +
---|---|
FieldEncoding | ++ |
WireField.Label | +
+ A protocol buffer label.
+ |
+
Exception | +Description | +
---|---|
ProtoAdapter.EnumConstantNotFoundException | ++ |
Annotation Type | +Description | +
---|---|
WireField | +
+ Annotates generated
+Message fields with metadata for serialization and
+ deserialization. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/package-tree.html b/2.x/wire-runtime/com/squareup/wire/package-tree.html new file mode 100644 index 0000000000..6249b63f17 --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/package-tree.html @@ -0,0 +1,180 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/com/squareup/wire/package-use.html b/2.x/wire-runtime/com/squareup/wire/package-use.html new file mode 100644 index 0000000000..ab852a0ffa --- /dev/null +++ b/2.x/wire-runtime/com/squareup/wire/package-use.html @@ -0,0 +1,176 @@ + + + + + + +Class and Description | +
---|
FieldEncoding | +
Message
+ A protocol buffer message.
+ |
+
Message.Builder
+ Superclass for protocol buffer message builders.
+ |
+
ProtoAdapter | +
ProtoReader
+ Reads and decodes protocol message fields.
+ |
+
ProtoWriter
+ Utilities for encoding and writing protocol message fields.
+ |
+
WireEnum
+ Interface for generated
+Enum values to help serialization and
+ deserialization. |
+
WireField.Label
+ A protocol buffer label.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/constant-values.html b/2.x/wire-runtime/constant-values.html new file mode 100644 index 0000000000..d9d10de7fc --- /dev/null +++ b/2.x/wire-runtime/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/deprecated-list.html b/2.x/wire-runtime/deprecated-list.html new file mode 100644 index 0000000000..09c2219c7e --- /dev/null +++ b/2.x/wire-runtime/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/help-doc.html b/2.x/wire-runtime/help-doc.html new file mode 100644 index 0000000000..44ddccad32 --- /dev/null +++ b/2.x/wire-runtime/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/index-all.html b/2.x/wire-runtime/index-all.html new file mode 100644 index 0000000000..fddf5f738c --- /dev/null +++ b/2.x/wire-runtime/index-all.html @@ -0,0 +1,562 @@ + + + + + + +ProtoAdapter
for encoding and decoding messages of this type.Message
which adds support for Parcelable
.E
but as a packed, repeated value.E
but as a repeated value.Message
based on the fields that set in this builder.reader
.bytes
.bytes
.stream
.source
.stream
.byte[]
.stream
.value
to writer
.value
and write it to stream
.value
as a byte[]
.value
and write it to stream
.value
.tag
and non-null value
in the wire format.tag
and non-null value
to writer
.Message
.type
.value
if it is not null; defaultValue
otherwise.Parcelable.Creator
using adapter
for serialization.type
.keyAdapter
and valueAdapter
.type
.bytes
field value from the stream.string
field value from the stream.value
.value
.Enum
values to help serialization and
+ deserialization.Message
fields with metadata for serialization and
+ deserialization.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/index.html b/2.x/wire-runtime/index.html new file mode 100644 index 0000000000..eb3da21380 --- /dev/null +++ b/2.x/wire-runtime/index.html @@ -0,0 +1,72 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/package-list b/2.x/wire-runtime/package-list new file mode 100644 index 0000000000..7ae923142b --- /dev/null +++ b/2.x/wire-runtime/package-list @@ -0,0 +1 @@ +com.squareup.wire diff --git a/2.x/wire-runtime/script.js b/2.x/wire-runtime/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-runtime/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-runtime/serialized-form.html b/2.x/wire-runtime/serialized-form.html new file mode 100644 index 0000000000..a828af467c --- /dev/null +++ b/2.x/wire-runtime/serialized-form.html @@ -0,0 +1,178 @@ + + + + + + +protected final Object writeReplace() + throws ObjectStreamException+
ObjectStreamException
int value+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-runtime/stylesheet.css b/2.x/wire-runtime/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-runtime/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-runtime/version.txt b/2.x/wire-runtime/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-runtime/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-sample/META-INF/MANIFEST.MF b/2.x/wire-sample/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-sample/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-sample/allclasses-frame.html b/2.x/wire-sample/allclasses-frame.html new file mode 100644 index 0000000000..1e62f8dbe5 --- /dev/null +++ b/2.x/wire-sample/allclasses-frame.html @@ -0,0 +1,23 @@ + + + + + + +public static final class Dinosaur.Builder +extends Message.Builder<Dinosaur,Dinosaur.Builder>+
Modifier and Type | +Field and Description | +
---|---|
Double |
+length_meters |
+
Double |
+mass_kilograms |
+
String |
+name |
+
Period |
+period |
+
List<String> |
+picture_urls |
+
Modifier and Type | +Method and Description | +
---|---|
Dinosaur |
+build() |
+
Dinosaur.Builder |
+length_meters(Double length_meters) |
+
Dinosaur.Builder |
+mass_kilograms(Double mass_kilograms) |
+
Dinosaur.Builder |
+name(String name)
+Common name of this dinosaur, like "Stegosaurus".
+ |
+
Dinosaur.Builder |
+period(Period period) |
+
Dinosaur.Builder |
+picture_urls(List<String> picture_urls)
+URLs with images of this dinosaur.
+ |
+
addUnknownField, addUnknownFields, buildUnknownFields, clearUnknownFields
public String name+
public Double length_meters+
public Double mass_kilograms+
public Period period+
public Dinosaur.Builder name(String name)+
public Dinosaur.Builder picture_urls(List<String> picture_urls)+
public Dinosaur.Builder length_meters(Double length_meters)+
public Dinosaur.Builder mass_kilograms(Double mass_kilograms)+
public Dinosaur.Builder period(Period period)+
public Dinosaur build()+
build
in class Message.Builder<Dinosaur,Dinosaur.Builder>
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/Dinosaur.html b/2.x/wire-sample/com/squareup/dinosaurs/Dinosaur.html new file mode 100644 index 0000000000..f01ce24b6b --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/Dinosaur.html @@ -0,0 +1,567 @@ + + + + + + +public final class Dinosaur +extends Message<Dinosaur,Dinosaur.Builder>+
Modifier and Type | +Class and Description | +
---|---|
static class |
+Dinosaur.Builder |
+
Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Dinosaur> |
+ADAPTER |
+
static Double |
+DEFAULT_LENGTH_METERS |
+
static Double |
+DEFAULT_MASS_KILOGRAMS |
+
static String |
+DEFAULT_NAME |
+
static Period |
+DEFAULT_PERIOD |
+
Double |
+length_meters |
+
Double |
+mass_kilograms |
+
String |
+name
+Common name of this dinosaur, like "Stegosaurus".
+ |
+
Period |
+period |
+
List<String> |
+picture_urls
+URLs with images of this dinosaur.
+ |
+
Constructor and Description | +
---|
Dinosaur(String name,
+ List<String> picture_urls,
+ Double length_meters,
+ Double mass_kilograms,
+ Period period) |
+
Dinosaur(String name,
+ List<String> picture_urls,
+ Double length_meters,
+ Double mass_kilograms,
+ Period period,
+ okio.ByteString unknownFields) |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object other) |
+
int |
+hashCode() |
+
Dinosaur.Builder |
+newBuilder() |
+
String |
+toString() |
+
adapter, encode, encode, encode, unknownFields, withoutUnknownFields, writeReplace
public static final ProtoAdapter<Dinosaur> ADAPTER+
public static final String DEFAULT_NAME+
public static final Double DEFAULT_LENGTH_METERS+
public static final Double DEFAULT_MASS_KILOGRAMS+
public static final Period DEFAULT_PERIOD+
public final String name+
public final Double length_meters+
public final Double mass_kilograms+
public final Period period+
public Dinosaur(String name, + List<String> picture_urls, + Double length_meters, + Double mass_kilograms, + Period period)+
public Dinosaur.Builder newBuilder()+
newBuilder
in class Message<Dinosaur,Dinosaur.Builder>
public String toString()+
toString
in class Message<Dinosaur,Dinosaur.Builder>
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/Sample.html b/2.x/wire-sample/com/squareup/dinosaurs/Sample.html new file mode 100644 index 0000000000..ea0f11a672 --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/Sample.html @@ -0,0 +1,296 @@ + + + + + + +public final class Sample +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static void |
+main(String[] args) |
+
void |
+run() |
+
public void run() + throws IOException+
IOException
public static void main(String[] args) + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.Builder.html b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.Builder.html new file mode 100644 index 0000000000..904a891e6d --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.Builder.html @@ -0,0 +1,190 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
Modifier and Type | +Method and Description | +
---|---|
Dinosaur.Builder |
+Dinosaur.Builder.length_meters(Double length_meters) |
+
Dinosaur.Builder |
+Dinosaur.Builder.mass_kilograms(Double mass_kilograms) |
+
Dinosaur.Builder |
+Dinosaur.Builder.name(String name)
+Common name of this dinosaur, like "Stegosaurus".
+ |
+
Dinosaur.Builder |
+Dinosaur.newBuilder() |
+
Dinosaur.Builder |
+Dinosaur.Builder.period(Period period) |
+
Dinosaur.Builder |
+Dinosaur.Builder.picture_urls(List<String> picture_urls)
+URLs with images of this dinosaur.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.html b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.html new file mode 100644 index 0000000000..890065cb3e --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Dinosaur.html @@ -0,0 +1,179 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Dinosaur> |
+Dinosaur.ADAPTER |
+
Modifier and Type | +Method and Description | +
---|---|
Dinosaur |
+Dinosaur.Builder.build() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/class-use/Sample.html b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Sample.html new file mode 100644 index 0000000000..d052680dcc --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/class-use/Sample.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/package-frame.html b/2.x/wire-sample/com/squareup/dinosaurs/package-frame.html new file mode 100644 index 0000000000..978aa90846 --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
Dinosaur | ++ |
Dinosaur.Builder | ++ |
Sample | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/package-tree.html b/2.x/wire-sample/com/squareup/dinosaurs/package-tree.html new file mode 100644 index 0000000000..9246a9c9a6 --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/dinosaurs/package-use.html b/2.x/wire-sample/com/squareup/dinosaurs/package-use.html new file mode 100644 index 0000000000..6228a9d5e4 --- /dev/null +++ b/2.x/wire-sample/com/squareup/dinosaurs/package-use.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
Class and Description | +
---|
Dinosaur | +
Dinosaur.Builder | +
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/geology/Period.html b/2.x/wire-sample/com/squareup/geology/Period.html new file mode 100644 index 0000000000..e5b42f62ef --- /dev/null +++ b/2.x/wire-sample/com/squareup/geology/Period.html @@ -0,0 +1,434 @@ + + + + + + +public enum Period +extends Enum<Period> +implements WireEnum+
Enum Constant and Description | +
---|
CRETACEOUS
+145.5 million years ago — 66.0 million years ago.
+ |
+
JURASSIC
+201.3 million years ago — 145.0 million years ago.
+ |
+
TRIASSIC
+252.17 million years ago — 201.3 million years ago.
+ |
+
Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Period> |
+ADAPTER |
+
Modifier and Type | +Method and Description | +
---|---|
static Period |
+fromValue(int value)
+Return the constant for
+value or null. |
+
int |
+getValue() |
+
static Period |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Period[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Period CRETACEOUS+
public static final Period JURASSIC+
public static final Period TRIASSIC+
public static final ProtoAdapter<Period> ADAPTER+
public static Period[] values()+
+for (Period c : Period.values()) + System.out.println(c); +
public static Period valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Period fromValue(int value)+
value
or null.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/geology/class-use/Period.html b/2.x/wire-sample/com/squareup/geology/class-use/Period.html new file mode 100644 index 0000000000..48a452ff5b --- /dev/null +++ b/2.x/wire-sample/com/squareup/geology/class-use/Period.html @@ -0,0 +1,260 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
com.squareup.geology | ++ |
Modifier and Type | +Field and Description | +
---|---|
static Period |
+Dinosaur.DEFAULT_PERIOD |
+
Period |
+Dinosaur.period |
+
Period |
+Dinosaur.Builder.period |
+
Modifier and Type | +Method and Description | +
---|---|
Dinosaur.Builder |
+Dinosaur.Builder.period(Period period) |
+
Constructor and Description | +
---|
Dinosaur(String name,
+ List<String> picture_urls,
+ Double length_meters,
+ Double mass_kilograms,
+ Period period) |
+
Dinosaur(String name,
+ List<String> picture_urls,
+ Double length_meters,
+ Double mass_kilograms,
+ Period period,
+ okio.ByteString unknownFields) |
+
Modifier and Type | +Field and Description | +
---|---|
static ProtoAdapter<Period> |
+Period.ADAPTER |
+
Modifier and Type | +Method and Description | +
---|---|
static Period |
+Period.fromValue(int value)
+Return the constant for
+value or null. |
+
static Period |
+Period.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Period[] |
+Period.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/geology/package-frame.html b/2.x/wire-sample/com/squareup/geology/package-frame.html new file mode 100644 index 0000000000..da2a4959c5 --- /dev/null +++ b/2.x/wire-sample/com/squareup/geology/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Enum | +Description | +
---|---|
Period | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/geology/package-tree.html b/2.x/wire-sample/com/squareup/geology/package-tree.html new file mode 100644 index 0000000000..0080a39e6e --- /dev/null +++ b/2.x/wire-sample/com/squareup/geology/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/com/squareup/geology/package-use.html b/2.x/wire-sample/com/squareup/geology/package-use.html new file mode 100644 index 0000000000..b5504bfc74 --- /dev/null +++ b/2.x/wire-sample/com/squareup/geology/package-use.html @@ -0,0 +1,178 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
com.squareup.geology | ++ |
Class and Description | +
---|
Period | +
Class and Description | +
---|
Period | +
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/constant-values.html b/2.x/wire-sample/constant-values.html new file mode 100644 index 0000000000..2fc9b57a11 --- /dev/null +++ b/2.x/wire-sample/constant-values.html @@ -0,0 +1,155 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+DEFAULT_NAME |
+"" |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/deprecated-list.html b/2.x/wire-sample/deprecated-list.html new file mode 100644 index 0000000000..efe52c006f --- /dev/null +++ b/2.x/wire-sample/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/help-doc.html b/2.x/wire-sample/help-doc.html new file mode 100644 index 0000000000..9a3472960d --- /dev/null +++ b/2.x/wire-sample/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/index-all.html b/2.x/wire-sample/index-all.html new file mode 100644 index 0000000000..1fb1d2dcdc --- /dev/null +++ b/2.x/wire-sample/index-all.html @@ -0,0 +1,318 @@ + + + + + + +value
or null.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/index.html b/2.x/wire-sample/index.html new file mode 100644 index 0000000000..a06e427fd9 --- /dev/null +++ b/2.x/wire-sample/index.html @@ -0,0 +1,75 @@ + + + + + + ++ + diff --git a/2.x/wire-sample/overview-summary.html b/2.x/wire-sample/overview-summary.html new file mode 100644 index 0000000000..90d11589e5 --- /dev/null +++ b/2.x/wire-sample/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
Package | +Description | +
---|---|
com.squareup.dinosaurs | ++ |
com.squareup.geology | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/overview-tree.html b/2.x/wire-sample/overview-tree.html new file mode 100644 index 0000000000..906884842f --- /dev/null +++ b/2.x/wire-sample/overview-tree.html @@ -0,0 +1,162 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/package-list b/2.x/wire-sample/package-list new file mode 100644 index 0000000000..fd23c0d388 --- /dev/null +++ b/2.x/wire-sample/package-list @@ -0,0 +1,2 @@ +com.squareup.dinosaurs +com.squareup.geology diff --git a/2.x/wire-sample/script.js b/2.x/wire-sample/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-sample/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-sample/serialized-form.html b/2.x/wire-sample/serialized-form.html new file mode 100644 index 0000000000..fa54db6f2a --- /dev/null +++ b/2.x/wire-sample/serialized-form.html @@ -0,0 +1,172 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-sample/stylesheet.css b/2.x/wire-sample/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-sample/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-sample/version.txt b/2.x/wire-sample/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-sample/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/2.x/wire-schema/META-INF/MANIFEST.MF b/2.x/wire-schema/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79f1667522 --- /dev/null +++ b/2.x/wire-schema/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Built-By: jw +Created-By: Apache Maven 3.3.9 +Build-Jdk: 1.8.0_92 + diff --git a/2.x/wire-schema/allclasses-frame.html b/2.x/wire-schema/allclasses-frame.html new file mode 100644 index 0000000000..edf741a1d0 --- /dev/null +++ b/2.x/wire-schema/allclasses-frame.html @@ -0,0 +1,67 @@ + + + + + + +public final class EnclosingType +extends Type+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Location |
+location() |
+
com.google.common.collect.ImmutableList<Type> |
+nestedTypes() |
+
Options |
+options() |
+
ProtoType |
+type() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/EnumConstant.html b/2.x/wire-schema/com/squareup/wire/schema/EnumConstant.html new file mode 100644 index 0000000000..b636d235b1 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/EnumConstant.html @@ -0,0 +1,291 @@ + + + + + + +public final class EnumConstant +extends Object+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Location |
+location() |
+
String |
+name() |
+
Options |
+options() |
+
int |
+tag() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/EnumType.html b/2.x/wire-schema/com/squareup/wire/schema/EnumType.html new file mode 100644 index 0000000000..ad5a5760d9 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/EnumType.html @@ -0,0 +1,381 @@ + + + + + + +public final class EnumType +extends Type+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+allowAlias() |
+
EnumConstant |
+constant(int tag)
+Returns the constant tagged
+tag , or null if this enum has no such constant. |
+
EnumConstant |
+constant(String name)
+Returns the constant named
+name , or null if this enum has no such constant. |
+
com.google.common.collect.ImmutableList<EnumConstant> |
+constants() |
+
String |
+documentation() |
+
Location |
+location() |
+
com.google.common.collect.ImmutableList<Type> |
+nestedTypes() |
+
Options |
+options() |
+
ProtoType |
+type() |
+
public String documentation()+
documentation
in class Type
public com.google.common.collect.ImmutableList<Type> nestedTypes()+
nestedTypes
in class Type
public boolean allowAlias()+
public EnumConstant constant(String name)+
name
, or null if this enum has no such constant.public EnumConstant constant(int tag)+
tag
, or null if this enum has no such constant.public com.google.common.collect.ImmutableList<EnumConstant> constants()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Field.Label.html b/2.x/wire-schema/com/squareup/wire/schema/Field.Label.html new file mode 100644 index 0000000000..8b97176f63 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Field.Label.html @@ -0,0 +1,374 @@ + + + + + + +public static enum Field.Label +extends Enum<Field.Label>+
Enum Constant and Description | +
---|
ONE_OF
+Indicates the field is a member of a
+oneof block. |
+
OPTIONAL |
+
REPEATED |
+
REQUIRED |
+
Modifier and Type | +Method and Description | +
---|---|
static Field.Label |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Field.Label[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Field.Label OPTIONAL+
public static final Field.Label REQUIRED+
public static final Field.Label REPEATED+
public static final Field.Label ONE_OF+
oneof
block.public static Field.Label[] values()+
+for (Field.Label c : Field.Label.values()) + System.out.println(c); +
public static Field.Label valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Field.html b/2.x/wire-schema/com/squareup/wire/schema/Field.html new file mode 100644 index 0000000000..3ef4a6d3ce --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Field.html @@ -0,0 +1,487 @@ + + + + + + +public final class Field +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+Field.Label |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
String |
+getDefault() |
+
boolean |
+isDeprecated() |
+
boolean |
+isExtension() |
+
boolean |
+isOptional() |
+
boolean |
+isPacked() |
+
boolean |
+isRedacted() |
+
boolean |
+isRepeated() |
+
boolean |
+isRequired() |
+
Field.Label |
+label() |
+
Location |
+location() |
+
String |
+name() |
+
Options |
+options() |
+
String |
+packageName() |
+
String |
+qualifiedName()
+Returns this field's name, prefixed with its package name.
+ |
+
int |
+tag() |
+
String |
+toString() |
+
ProtoType |
+type() |
+
public Location location()+
public String packageName()+
public Field.Label label()+
public boolean isRepeated()+
public boolean isOptional()+
public boolean isRequired()+
public ProtoType type()+
public String name()+
public String qualifiedName()+
public int tag()+
public String documentation()+
public Options options()+
public boolean isDeprecated()+
public boolean isPacked()+
public boolean isRedacted()+
public String getDefault()+
public boolean isExtension()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.Builder.html new file mode 100644 index 0000000000..a0a240052a --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.Builder.html @@ -0,0 +1,303 @@ + + + + + + +public static final class IdentifierSet.Builder +extends Object+
Modifier and Type | +Method and Description | +
---|---|
IdentifierSet |
+build() |
+
IdentifierSet.Builder |
+exclude(String identifier) |
+
IdentifierSet.Builder |
+include(String identifier) |
+
public IdentifierSet.Builder include(String identifier)+
public IdentifierSet.Builder exclude(String identifier)+
public IdentifierSet build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.html b/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.html new file mode 100644 index 0000000000..25aedd81b5 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/IdentifierSet.html @@ -0,0 +1,376 @@ + + + + + + +public final class IdentifierSet +extends Object+
Rules in this set may be in the following forms: +
.*
, like squareup.protos.person.*
. This matches
+ types and services defined in the package and its descendant packages.
+ squareup.protos.person.Person
.
+ squareup.protos.person.Person#address
. Members may be fields, enum
+ constants or RPCs.
+ An identifier set populated with Movie
and Actor#name
contains all members of
+ Movie
(such as Movie#name
and Movie#release_date
). It contains the type
+ Actor
and one member Actor#name
, but not Actor#birth_date
or Actor#oscar_count
.
+
+
This set has included identifiers and excluded identifiers, with excludes taking
+ precedence over includes. That is, if a type Movie
is in both the includes and the
+ excludes, it is not contained in the set.
+
+
If the includes set is empty, that implies that all elements should be included. Use this to + exclude unwanted types and members without also including everything else. + +
Despite the builder, instances of this class are not safe for concurrent use.
Modifier and Type | +Class and Description | +
---|---|
static class |
+IdentifierSet.Builder |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+excludes(ProtoMember protoMember)
+Returns true if
+protoMember should be excluded. |
+
boolean |
+excludes(ProtoType type)
+Returns true if
+type should be excluded, even if it is a transitive dependency of a
+ root. |
+
boolean |
+includes(ProtoMember protoMember)
+Returns true if
+protoMember is a root. |
+
boolean |
+includes(ProtoType type)
+Returns true if
+type is a root. |
+
boolean |
+isEmpty() |
+
Set<String> |
+unusedExcludes() |
+
Set<String> |
+unusedIncludes() |
+
public boolean isEmpty()+
public boolean includes(ProtoType type)+
type
is a root.public boolean includes(ProtoMember protoMember)+
protoMember
is a root.public boolean excludes(ProtoType type)+
type
should be excluded, even if it is a transitive dependency of a
+ root. In that case, the referring member is also excluded.public boolean excludes(ProtoMember protoMember)+
protoMember
should be excluded.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Location.html b/2.x/wire-schema/com/squareup/wire/schema/Location.html new file mode 100644 index 0000000000..a302305a23 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Location.html @@ -0,0 +1,402 @@ + + + + + + +public abstract class Location +extends Object+
Modifier and Type | +Method and Description | +
---|---|
Location |
+at(int line,
+ int column) |
+
abstract String |
+base()
+Returns the base of this location; typically a directory or .jar file.
+ |
+
abstract int |
+column()
+Returns the column on the line of this location, or -1 for no specific column.
+ |
+
static Location |
+get(String path) |
+
static Location |
+get(String base,
+ String path) |
+
abstract int |
+line()
+Returns the line number of this location, or -1 for no specific line number.
+ |
+
abstract String |
+path()
+Returns the path to this location relative to
+base() . |
+
String |
+toString() |
+
Location |
+withoutBase()
+Returns a copy of this location with an empty base.
+ |
+
public Location at(int line, + int column)+
public Location withoutBase()+
public abstract String base()+
public abstract int line()+
public abstract int column()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/MessageType.html b/2.x/wire-schema/com/squareup/wire/schema/MessageType.html new file mode 100644 index 0000000000..0f8b974aa1 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/MessageType.html @@ -0,0 +1,451 @@ + + + + + + +public final class MessageType +extends Type+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Field |
+extensionField(String qualifiedName)
+Returns the field with the qualified name
+qualifiedName , or null if this type has no
+ such field. |
+
com.google.common.collect.ImmutableList<Field> |
+extensionFields() |
+
com.google.common.collect.ImmutableList<com.squareup.wire.schema.Extensions> |
+extensions() |
+
Field |
+field(int tag)
+Returns the field tagged
+tag , or null if this type has no such field. |
+
Field |
+field(String name)
+Returns the field named
+name , or null if this type has no such field. |
+
com.google.common.collect.ImmutableList<Field> |
+fields() |
+
com.google.common.collect.ImmutableList<Field> |
+fieldsAndOneOfFields() |
+
com.google.common.collect.ImmutableList<Field> |
+getRequiredFields() |
+
Location |
+location() |
+
com.google.common.collect.ImmutableList<Type> |
+nestedTypes() |
+
com.google.common.collect.ImmutableList<OneOf> |
+oneOfs() |
+
Options |
+options() |
+
ProtoType |
+type() |
+
public String documentation()+
documentation
in class Type
public com.google.common.collect.ImmutableList<Type> nestedTypes()+
nestedTypes
in class Type
public com.google.common.collect.ImmutableList<Field> fields()+
public com.google.common.collect.ImmutableList<Field> extensionFields()+
public com.google.common.collect.ImmutableList<Field> getRequiredFields()+
public com.google.common.collect.ImmutableList<Field> fieldsAndOneOfFields()+
public Field field(String name)+
name
, or null if this type has no such field.public Field extensionField(String qualifiedName)+
qualifiedName
, or null if this type has no
+ such field.public Field field(int tag)+
tag
, or null if this type has no such field.public com.google.common.collect.ImmutableList<OneOf> oneOfs()+
public com.google.common.collect.ImmutableList<com.squareup.wire.schema.Extensions> extensions()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/OneOf.html b/2.x/wire-schema/com/squareup/wire/schema/OneOf.html new file mode 100644 index 0000000000..505ddeb894 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/OneOf.html @@ -0,0 +1,265 @@ + + + + + + +public final class OneOf +extends Object+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
com.google.common.collect.ImmutableList<Field> |
+fields() |
+
String |
+name() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Options.html b/2.x/wire-schema/com/squareup/wire/schema/Options.html new file mode 100644 index 0000000000..9c969a5007 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Options.html @@ -0,0 +1,433 @@ + + + + + + +public final class Options +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static ProtoType |
+ENUM_OPTIONS |
+
static ProtoType |
+ENUM_VALUE_OPTIONS |
+
static ProtoType |
+FIELD_OPTIONS |
+
static ProtoType |
+FILE_OPTIONS |
+
static ProtoType |
+MESSAGE_OPTIONS |
+
static ProtoType |
+METHOD_OPTIONS |
+
static ProtoType |
+SERVICE_OPTIONS |
+
Constructor and Description | +
---|
Options(ProtoType optionType,
+ List<OptionElement> elements) |
+
Modifier and Type | +Method and Description | +
---|---|
Object |
+get(ProtoMember protoMember) |
+
Map<ProtoMember,Object> |
+map()
+Returns a map with the values for these options.
+ |
+
boolean |
+optionMatches(String namePattern,
+ String valuePattern)
+Returns true if any of the options in
+options matches both of the regular expressions
+ provided: its name matches the option's name and its value matches the option's value. |
+
public static final ProtoType FILE_OPTIONS+
public static final ProtoType MESSAGE_OPTIONS+
public static final ProtoType FIELD_OPTIONS+
public static final ProtoType ENUM_OPTIONS+
public static final ProtoType ENUM_VALUE_OPTIONS+
public static final ProtoType SERVICE_OPTIONS+
public static final ProtoType METHOD_OPTIONS+
public Options(ProtoType optionType, + List<OptionElement> elements)+
public Map<ProtoMember,Object> map()+
{deprecated: "true"}
, or more sophisticated, with nested maps and lists.
+
+ The map keys are always ProtoMember
instances, even for nested maps. The values are
+ always either lists, maps, or strings.
public Object get(ProtoMember protoMember)+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.Syntax.html b/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.Syntax.html new file mode 100644 index 0000000000..596357c7ec --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.Syntax.html @@ -0,0 +1,378 @@ + + + + + + +public static enum ProtoFile.Syntax +extends Enum<ProtoFile.Syntax>+
Enum Constant and Description | +
---|
PROTO_2 |
+
PROTO_3 |
+
Modifier and Type | +Method and Description | +
---|---|
static ProtoFile.Syntax |
+get(String string) |
+
String |
+toString() |
+
static ProtoFile.Syntax |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static ProtoFile.Syntax[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final ProtoFile.Syntax PROTO_2+
public static final ProtoFile.Syntax PROTO_3+
public static ProtoFile.Syntax[] values()+
+for (ProtoFile.Syntax c : ProtoFile.Syntax.values()) + System.out.println(c); +
public static ProtoFile.Syntax valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ProtoFile.Syntax get(String string)+
public String toString()+
toString
in class Enum<ProtoFile.Syntax>
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.html b/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.html new file mode 100644 index 0000000000..7149f02cc7 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/ProtoFile.html @@ -0,0 +1,358 @@ + + + + + + +public final class ProtoFile +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+ProtoFile.Syntax
+Syntax version.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+javaPackage() |
+
Location |
+location() |
+
String |
+name()
+Returns the name of this proto file, like
+simple_message for squareup/protos/person/simple_message.proto . |
+
Options |
+options() |
+
String |
+packageName() |
+
com.google.common.collect.ImmutableList<Service> |
+services() |
+
String |
+toString() |
+
com.google.common.collect.ImmutableList<Type> |
+types() |
+
public Location location()+
public String name()+
simple_message
for squareup/protos/person/simple_message.proto
.public String packageName()+
public String javaPackage()+
public com.google.common.collect.ImmutableList<Type> types()+
public com.google.common.collect.ImmutableList<Service> services()+
public Options options()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/ProtoMember.html b/2.x/wire-schema/com/squareup/wire/schema/ProtoMember.html new file mode 100644 index 0000000000..63c7759e11 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/ProtoMember.html @@ -0,0 +1,352 @@ + + + + + + +public final class ProtoMember +extends Object+
squareup.dinosaurs.Dinosaur#length_meters
.
+
+ A member's name is typically a simple name like "length_meters" or "packed". If the member
+ field is an extension to its type, that name is prefixed with its enclosing package. This yields
+ a member name with two packages, like google.protobuf.FieldOptions#squareup.units.unit
.
Modifier and Type | +Method and Description | +
---|---|
boolean |
+equals(Object o) |
+
static ProtoMember |
+get(ProtoType type,
+ Field field) |
+
static ProtoMember |
+get(ProtoType type,
+ String member) |
+
static ProtoMember |
+get(String typeAndMember) |
+
int |
+hashCode() |
+
String |
+member() |
+
String |
+toString() |
+
ProtoType |
+type() |
+
public static ProtoMember get(String typeAndMember)+
public static ProtoMember get(ProtoType type, + String member)+
public static ProtoMember get(ProtoType type, + Field field)+
public ProtoType type()+
public String member()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/ProtoType.html b/2.x/wire-schema/com/squareup/wire/schema/ProtoType.html new file mode 100644 index 0000000000..9bbb76355f --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/ProtoType.html @@ -0,0 +1,625 @@ + + + + + + +public final class ProtoType +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static ProtoType |
+BOOL |
+
static ProtoType |
+BYTES |
+
static ProtoType |
+DOUBLE |
+
static ProtoType |
+FIXED32 |
+
static ProtoType |
+FIXED64 |
+
static ProtoType |
+FLOAT |
+
static ProtoType |
+INT32 |
+
static ProtoType |
+INT64 |
+
static ProtoType |
+SFIXED32 |
+
static ProtoType |
+SFIXED64 |
+
static ProtoType |
+SINT32 |
+
static ProtoType |
+SINT64 |
+
static ProtoType |
+STRING |
+
static ProtoType |
+UINT32 |
+
static ProtoType |
+UINT64 |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+enclosingTypeOrPackage()
+Returns the enclosing type, or null if this type is not nested in another type.
+ |
+
boolean |
+equals(Object o) |
+
static ProtoType |
+get(String name) |
+
static ProtoType |
+get(String enclosingTypeOrPackage,
+ String typeName) |
+
int |
+hashCode() |
+
boolean |
+isMap() |
+
boolean |
+isScalar() |
+
ProtoType |
+keyType()
+The type of the map's keys.
+ |
+
ProtoType |
+nestedType(String name) |
+
String |
+simpleName() |
+
String |
+toString() |
+
ProtoType |
+valueType()
+The type of the map's values.
+ |
+
public static final ProtoType BOOL+
public static final ProtoType BYTES+
public static final ProtoType DOUBLE+
public static final ProtoType FLOAT+
public static final ProtoType FIXED32+
public static final ProtoType FIXED64+
public static final ProtoType INT32+
public static final ProtoType INT64+
public static final ProtoType SFIXED32+
public static final ProtoType SFIXED64+
public static final ProtoType SINT32+
public static final ProtoType SINT64+
public static final ProtoType STRING+
public static final ProtoType UINT32+
public static final ProtoType UINT64+
public String simpleName()+
public String enclosingTypeOrPackage()+
public boolean isScalar()+
public boolean isMap()+
public ProtoType keyType()+
isMap
is true.public ProtoType valueType()+
isMap
is true.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Rpc.html b/2.x/wire-schema/com/squareup/wire/schema/Rpc.html new file mode 100644 index 0000000000..2b4b3394da --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Rpc.html @@ -0,0 +1,330 @@ + + + + + + +public final class Rpc +extends Object+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Location |
+location() |
+
String |
+name() |
+
Options |
+options() |
+
boolean |
+requestStreaming() |
+
ProtoType |
+requestType() |
+
boolean |
+responseStreaming() |
+
ProtoType |
+responseType() |
+
public Location location()+
public String name()+
public String documentation()+
public ProtoType requestType()+
public ProtoType responseType()+
public boolean requestStreaming()+
public boolean responseStreaming()+
public Options options()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Schema.html b/2.x/wire-schema/com/squareup/wire/schema/Schema.html new file mode 100644 index 0000000000..e07bc8b19e --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Schema.html @@ -0,0 +1,388 @@ + + + + + + +public final class Schema +extends Object+
Use SchemaLoader
to load a schema from source files.
Modifier and Type | +Method and Description | +
---|---|
Field |
+getField(ProtoMember protoMember) |
+
Service |
+getService(ProtoType protoType)
+Returns the service with the fully qualified name
+name , or null if this schema defines
+ no such service. |
+
Service |
+getService(String name)
+Returns the service with the fully qualified name
+name , or null if this schema defines
+ no such service. |
+
Type |
+getType(ProtoType protoType)
+Returns the type with the fully qualified name
+name , or null if this schema defines no
+ such type. |
+
Type |
+getType(String name)
+Returns the type with the fully qualified name
+name , or null if this schema defines no
+ such type. |
+
ProtoAdapter<Object> |
+protoAdapter(String typeName,
+ boolean includeUnknown)
+Returns a wire adapter for the message or enum type named
+typeName . |
+
ProtoFile |
+protoFile(String path)
+Returns the proto file at
+path , or null if this schema has no such file. |
+
com.google.common.collect.ImmutableList<ProtoFile> |
+protoFiles() |
+
Schema |
+prune(IdentifierSet identifierSet)
+Returns a copy of this schema that retains only the types and services selected by
+identifierSet , plus their transitive dependencies. |
+
public com.google.common.collect.ImmutableList<ProtoFile> protoFiles()+
public ProtoFile protoFile(String path)+
path
, or null if this schema has no such file.public Schema prune(IdentifierSet identifierSet)+
identifierSet
, plus their transitive dependencies.public Service getService(String name)+
name
, or null if this schema defines
+ no such service.public Service getService(ProtoType protoType)+
name
, or null if this schema defines
+ no such service.public Type getType(String name)+
name
, or null if this schema defines no
+ such type.public Type getType(ProtoType protoType)+
name
, or null if this schema defines no
+ such type.public Field getField(ProtoMember protoMember)+
public ProtoAdapter<Object> protoAdapter(String typeName, + boolean includeUnknown)+
typeName
. The returned type
+ adapter doesn't have model classes to encode and decode from, so instead it uses scalar types
+ (String, ByteString, Integer, etc.),
+ maps, and lists. It can both encode and decode
+ these objects. Map keys are field names.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/SchemaException.html b/2.x/wire-schema/com/squareup/wire/schema/SchemaException.html new file mode 100644 index 0000000000..6e3f716cfa --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/SchemaException.html @@ -0,0 +1,269 @@ + + + + + + +public final class SchemaException +extends RuntimeException+
Constructor and Description | +
---|
SchemaException(List<String> errors) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/SchemaLoader.html b/2.x/wire-schema/com/squareup/wire/schema/SchemaLoader.html new file mode 100644 index 0000000000..4f88fe79fc --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/SchemaLoader.html @@ -0,0 +1,364 @@ + + + + + + +public final class SchemaLoader +extends Object+
To find proto files to load, a non-empty set of sources are searched. Each source is + either a regular directory or a ZIP file. Within ZIP files, proto files are expected to be found + relative to the root of the archive.
Constructor and Description | +
---|
SchemaLoader() |
+
Modifier and Type | +Method and Description | +
---|---|
SchemaLoader |
+addProto(String proto)
+Add a proto file to load.
+ |
+
SchemaLoader |
+addSource(File file)
+Add directory or zip file source from which proto files will be loaded.
+ |
+
SchemaLoader |
+addSource(Path path)
+Add directory or zip file source from which proto files will be loaded.
+ |
+
Schema |
+load() |
+
List<String> |
+protos()
+Returns a mutable list of the protos that this loader will load.
+ |
+
List<Path> |
+sources()
+Returns a mutable list of the sources that this loader will load from.
+ |
+
public SchemaLoader addSource(File file)+
public SchemaLoader addSource(Path path)+
public List<Path> sources()+
public SchemaLoader addProto(String proto)+
public List<String> protos()+
public Schema load() + throws IOException+
IOException
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Service.html b/2.x/wire-schema/com/squareup/wire/schema/Service.html new file mode 100644 index 0000000000..315b434f14 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Service.html @@ -0,0 +1,320 @@ + + + + + + +public final class Service +extends Object+
Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Location |
+location() |
+
String |
+name() |
+
Options |
+options() |
+
Rpc |
+rpc(String name)
+Returns the RPC named
+name , or null if this service has no such method. |
+
com.google.common.collect.ImmutableList<Rpc> |
+rpcs() |
+
ProtoType |
+type() |
+
public Location location()+
public ProtoType type()+
public String documentation()+
public String name()+
public com.google.common.collect.ImmutableList<Rpc> rpcs()+
public Rpc rpc(String name)+
name
, or null if this service has no such method.public Options options()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/Type.html b/2.x/wire-schema/com/squareup/wire/schema/Type.html new file mode 100644 index 0000000000..239258602c --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/Type.html @@ -0,0 +1,346 @@ + + + + + + +public abstract class Type +extends Object+
Modifier and Type | +Method and Description | +
---|---|
abstract String |
+documentation() |
+
static Type |
+get(String packageName,
+ ProtoType protoType,
+ TypeElement type) |
+
abstract Location |
+location() |
+
abstract com.google.common.collect.ImmutableList<Type> |
+nestedTypes() |
+
abstract Options |
+options() |
+
abstract ProtoType |
+type() |
+
public abstract Location location()+
public abstract ProtoType type()+
public abstract String documentation()+
public abstract Options options()+
public abstract com.google.common.collect.ImmutableList<Type> nestedTypes()+
public static Type get(String packageName, + ProtoType protoType, + TypeElement type)+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/EnclosingType.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnclosingType.html new file mode 100644 index 0000000000..6c60a658bc --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnclosingType.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumConstant.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumConstant.html new file mode 100644 index 0000000000..185e2cc144 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumConstant.html @@ -0,0 +1,187 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
EnumConstant |
+EnumType.constant(int tag)
+Returns the constant tagged
+tag , or null if this enum has no such constant. |
+
EnumConstant |
+EnumType.constant(String name)
+Returns the constant named
+name , or null if this enum has no such constant. |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<EnumConstant> |
+EnumType.constants() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumType.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumType.html new file mode 100644 index 0000000000..7c25e8bee3 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/EnumType.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.Label.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.Label.html new file mode 100644 index 0000000000..9f264f9520 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.Label.html @@ -0,0 +1,222 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
Field.Label |
+Field.label() |
+
static Field.Label |
+Field.Label.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Field.Label[] |
+Field.Label.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
abstract Field.Label |
+GroupElement.label() |
+
abstract Field.Label |
+FieldElement.label() |
+
Modifier and Type | +Method and Description | +
---|---|
GroupElement.Builder |
+GroupElement.Builder.label(Field.Label label) |
+
FieldElement.Builder |
+FieldElement.Builder.label(Field.Label label) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.html new file mode 100644 index 0000000000..193528cfa3 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Field.html @@ -0,0 +1,228 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
Field |
+MessageType.extensionField(String qualifiedName)
+Returns the field with the qualified name
+qualifiedName , or null if this type has no
+ such field. |
+
Field |
+MessageType.field(int tag)
+Returns the field tagged
+tag , or null if this type has no such field. |
+
Field |
+MessageType.field(String name)
+Returns the field named
+name , or null if this type has no such field. |
+
Field |
+Schema.getField(ProtoMember protoMember) |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<Field> |
+MessageType.extensionFields() |
+
com.google.common.collect.ImmutableList<Field> |
+OneOf.fields() |
+
com.google.common.collect.ImmutableList<Field> |
+MessageType.fields() |
+
com.google.common.collect.ImmutableList<Field> |
+MessageType.fieldsAndOneOfFields() |
+
com.google.common.collect.ImmutableList<Field> |
+MessageType.getRequiredFields() |
+
Modifier and Type | +Method and Description | +
---|---|
static ProtoMember |
+ProtoMember.get(ProtoType type,
+ Field field) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.Builder.html new file mode 100644 index 0000000000..f1ee6e8b6c --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.Builder.html @@ -0,0 +1,170 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
IdentifierSet.Builder |
+IdentifierSet.Builder.exclude(String identifier) |
+
IdentifierSet.Builder |
+IdentifierSet.Builder.include(String identifier) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.html new file mode 100644 index 0000000000..a19d874b88 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/IdentifierSet.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
IdentifierSet |
+IdentifierSet.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
Schema |
+Schema.prune(IdentifierSet identifierSet)
+Returns a copy of this schema that retains only the types and services selected by
+identifierSet , plus their transitive dependencies. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Location.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Location.html new file mode 100644 index 0000000000..1179341f5d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Location.html @@ -0,0 +1,373 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
Location |
+Location.at(int line,
+ int column) |
+
static Location |
+Location.get(String path) |
+
static Location |
+Location.get(String base,
+ String path) |
+
abstract Location |
+Type.location() |
+
Location |
+Service.location() |
+
Location |
+Rpc.location() |
+
Location |
+ProtoFile.location() |
+
Location |
+MessageType.location() |
+
Location |
+Field.location() |
+
Location |
+EnumType.location() |
+
Location |
+EnumConstant.location() |
+
Location |
+EnclosingType.location() |
+
Location |
+Location.withoutBase()
+Returns a copy of this location with an empty base.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Location |
+TypeElement.location() |
+
abstract Location |
+ServiceElement.location() |
+
abstract Location |
+RpcElement.location() |
+
abstract Location |
+ReservedElement.location() |
+
abstract Location |
+ProtoFileElement.location() |
+
abstract Location |
+MessageElement.location() |
+
abstract Location |
+FieldElement.location() |
+
abstract Location |
+ExtensionsElement.location() |
+
abstract Location |
+ExtendElement.location() |
+
abstract Location |
+EnumElement.location() |
+
abstract Location |
+EnumConstantElement.location() |
+
Modifier and Type | +Method and Description | +
---|---|
static ServiceElement.Builder |
+ServiceElement.builder(Location location) |
+
static RpcElement.Builder |
+RpcElement.builder(Location location) |
+
static ProtoFileElement.Builder |
+ProtoFileElement.builder(Location location) |
+
static MessageElement.Builder |
+MessageElement.builder(Location location) |
+
static FieldElement.Builder |
+FieldElement.builder(Location location) |
+
static ExtendElement.Builder |
+ExtendElement.builder(Location location) |
+
static EnumElement.Builder |
+EnumElement.builder(Location location) |
+
static EnumConstantElement.Builder |
+EnumConstantElement.builder(Location location) |
+
static ExtensionsElement |
+ExtensionsElement.create(Location location,
+ int start,
+ int end,
+ String documentation) |
+
static ReservedElement |
+ReservedElement.create(Location location,
+ String documentation,
+ com.google.common.collect.ImmutableList<Object> values) |
+
ServiceElement.Builder |
+ServiceElement.Builder.location(Location location) |
+
RpcElement.Builder |
+RpcElement.Builder.location(Location location) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.location(Location location) |
+
MessageElement.Builder |
+MessageElement.Builder.location(Location location) |
+
FieldElement.Builder |
+FieldElement.Builder.location(Location location) |
+
ExtendElement.Builder |
+ExtendElement.Builder.location(Location location) |
+
EnumElement.Builder |
+EnumElement.Builder.location(Location location) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.location(Location location) |
+
static ProtoFileElement |
+ProtoParser.parse(Location location,
+ String data)
+Parse a named
+.proto schema. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/MessageType.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/MessageType.html new file mode 100644 index 0000000000..ec9db415ff --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/MessageType.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/OneOf.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/OneOf.html new file mode 100644 index 0000000000..f60fd5b597 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/OneOf.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<OneOf> |
+MessageType.oneOfs() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Options.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Options.html new file mode 100644 index 0000000000..9e301fbe4d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Options.html @@ -0,0 +1,198 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
abstract Options |
+Type.options() |
+
Options |
+Service.options() |
+
Options |
+Rpc.options() |
+
Options |
+ProtoFile.options() |
+
Options |
+MessageType.options() |
+
Options |
+Field.options() |
+
Options |
+EnumType.options() |
+
Options |
+EnumConstant.options() |
+
Options |
+EnclosingType.options() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.Syntax.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.Syntax.html new file mode 100644 index 0000000000..addc6be08d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.Syntax.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ProtoFile.Syntax |
+ProtoFile.Syntax.get(String string) |
+
static ProtoFile.Syntax |
+ProtoFile.Syntax.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static ProtoFile.Syntax[] |
+ProtoFile.Syntax.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
abstract ProtoFile.Syntax |
+ProtoFileElement.syntax() |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement.Builder |
+ProtoFileElement.Builder.syntax(ProtoFile.Syntax syntax) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.html new file mode 100644 index 0000000000..e29e1ce0fb --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoFile.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
ProtoFile |
+Schema.protoFile(String path)
+Returns the proto file at
+path , or null if this schema has no such file. |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<ProtoFile> |
+Schema.protoFiles() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoMember.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoMember.html new file mode 100644 index 0000000000..d32f48b3e8 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoMember.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ProtoMember |
+ProtoMember.get(ProtoType type,
+ Field field) |
+
static ProtoMember |
+ProtoMember.get(ProtoType type,
+ String member) |
+
static ProtoMember |
+ProtoMember.get(String typeAndMember) |
+
Modifier and Type | +Method and Description | +
---|---|
Map<ProtoMember,Object> |
+Options.map()
+Returns a map with the values for these options.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+IdentifierSet.excludes(ProtoMember protoMember)
+Returns true if
+protoMember should be excluded. |
+
Object |
+Options.get(ProtoMember protoMember) |
+
Field |
+Schema.getField(ProtoMember protoMember) |
+
boolean |
+IdentifierSet.includes(ProtoMember protoMember)
+Returns true if
+protoMember is a root. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoType.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoType.html new file mode 100644 index 0000000000..857718040a --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/ProtoType.html @@ -0,0 +1,384 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Field and Description | +
---|---|
static ProtoType |
+ProtoType.BOOL |
+
static ProtoType |
+ProtoType.BYTES |
+
static ProtoType |
+ProtoType.DOUBLE |
+
static ProtoType |
+Options.ENUM_OPTIONS |
+
static ProtoType |
+Options.ENUM_VALUE_OPTIONS |
+
static ProtoType |
+Options.FIELD_OPTIONS |
+
static ProtoType |
+Options.FILE_OPTIONS |
+
static ProtoType |
+ProtoType.FIXED32 |
+
static ProtoType |
+ProtoType.FIXED64 |
+
static ProtoType |
+ProtoType.FLOAT |
+
static ProtoType |
+ProtoType.INT32 |
+
static ProtoType |
+ProtoType.INT64 |
+
static ProtoType |
+Options.MESSAGE_OPTIONS |
+
static ProtoType |
+Options.METHOD_OPTIONS |
+
static ProtoType |
+Options.SERVICE_OPTIONS |
+
static ProtoType |
+ProtoType.SFIXED32 |
+
static ProtoType |
+ProtoType.SFIXED64 |
+
static ProtoType |
+ProtoType.SINT32 |
+
static ProtoType |
+ProtoType.SINT64 |
+
static ProtoType |
+ProtoType.STRING |
+
static ProtoType |
+ProtoType.UINT32 |
+
static ProtoType |
+ProtoType.UINT64 |
+
Modifier and Type | +Method and Description | +
---|---|
static ProtoType |
+ProtoType.get(String name) |
+
static ProtoType |
+ProtoType.get(String enclosingTypeOrPackage,
+ String typeName) |
+
ProtoType |
+ProtoType.keyType()
+The type of the map's keys.
+ |
+
ProtoType |
+ProtoType.nestedType(String name) |
+
ProtoType |
+Rpc.requestType() |
+
ProtoType |
+Rpc.responseType() |
+
abstract ProtoType |
+Type.type() |
+
ProtoType |
+Service.type() |
+
ProtoType |
+ProtoMember.type() |
+
ProtoType |
+MessageType.type() |
+
ProtoType |
+Field.type() |
+
ProtoType |
+EnumType.type() |
+
ProtoType |
+EnclosingType.type() |
+
ProtoType |
+ProtoType.valueType()
+The type of the map's values.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+IdentifierSet.excludes(ProtoType type)
+Returns true if
+type should be excluded, even if it is a transitive dependency of a
+ root. |
+
static ProtoMember |
+ProtoMember.get(ProtoType type,
+ Field field) |
+
static ProtoMember |
+ProtoMember.get(ProtoType type,
+ String member) |
+
static Type |
+Type.get(String packageName,
+ ProtoType protoType,
+ TypeElement type) |
+
Service |
+Schema.getService(ProtoType protoType)
+Returns the service with the fully qualified name
+name , or null if this schema defines
+ no such service. |
+
Type |
+Schema.getType(ProtoType protoType)
+Returns the type with the fully qualified name
+name , or null if this schema defines no
+ such type. |
+
boolean |
+IdentifierSet.includes(ProtoType type)
+Returns true if
+type is a root. |
+
Constructor and Description | +
---|
Options(ProtoType optionType,
+ List<OptionElement> elements) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Rpc.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Rpc.html new file mode 100644 index 0000000000..f39e51ad48 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Rpc.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
Rpc |
+Service.rpc(String name)
+Returns the RPC named
+name , or null if this service has no such method. |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<Rpc> |
+Service.rpcs() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Schema.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Schema.html new file mode 100644 index 0000000000..355e335c59 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Schema.html @@ -0,0 +1,172 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
Schema |
+SchemaLoader.load() |
+
Schema |
+Schema.prune(IdentifierSet identifierSet)
+Returns a copy of this schema that retains only the types and services selected by
+identifierSet , plus their transitive dependencies. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaException.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaException.html new file mode 100644 index 0000000000..f0aa7ee485 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaException.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaLoader.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaLoader.html new file mode 100644 index 0000000000..10521ca0bb --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/SchemaLoader.html @@ -0,0 +1,180 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
SchemaLoader |
+SchemaLoader.addProto(String proto)
+Add a proto file to load.
+ |
+
SchemaLoader |
+SchemaLoader.addSource(File file)
+Add directory or zip file source from which proto files will be loaded.
+ |
+
SchemaLoader |
+SchemaLoader.addSource(Path path)
+Add directory or zip file source from which proto files will be loaded.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Service.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Service.html new file mode 100644 index 0000000000..6ff12f7890 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Service.html @@ -0,0 +1,189 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Method and Description | +
---|---|
Service |
+Schema.getService(ProtoType protoType)
+Returns the service with the fully qualified name
+name , or null if this schema defines
+ no such service. |
+
Service |
+Schema.getService(String name)
+Returns the service with the fully qualified name
+name , or null if this schema defines
+ no such service. |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<Service> |
+ProtoFile.services() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/class-use/Type.html b/2.x/wire-schema/com/squareup/wire/schema/class-use/Type.html new file mode 100644 index 0000000000..33bf24355a --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/class-use/Type.html @@ -0,0 +1,234 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+EnclosingType
+An empty type which only holds nested types.
+ |
+
class |
+EnumType |
+
class |
+MessageType |
+
Modifier and Type | +Method and Description | +
---|---|
static Type |
+Type.get(String packageName,
+ ProtoType protoType,
+ TypeElement type) |
+
Type |
+Schema.getType(ProtoType protoType)
+Returns the type with the fully qualified name
+name , or null if this schema defines no
+ such type. |
+
Type |
+Schema.getType(String name)
+Returns the type with the fully qualified name
+name , or null if this schema defines no
+ such type. |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<Type> |
+Type.nestedTypes() |
+
com.google.common.collect.ImmutableList<Type> |
+MessageType.nestedTypes() |
+
com.google.common.collect.ImmutableList<Type> |
+EnumType.nestedTypes() |
+
com.google.common.collect.ImmutableList<Type> |
+EnclosingType.nestedTypes() |
+
com.google.common.collect.ImmutableList<Type> |
+ProtoFile.types() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/Util.html b/2.x/wire-schema/com/squareup/wire/schema/internal/Util.html new file mode 100644 index 0000000000..6f146e31ef --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/Util.html @@ -0,0 +1,346 @@ + + + + + + +public final class Util +extends Object+
Modifier and Type | +Field and Description | +
---|---|
static int |
+MAX_TAG_VALUE |
+
static int |
+MIN_TAG_VALUE |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+appendDocumentation(StringBuilder builder,
+ String documentation) |
+
static void |
+appendIndented(StringBuilder builder,
+ String value) |
+
static <T> com.google.common.collect.ImmutableList<T> |
+concatenate(List<T> a,
+ T b) |
+
static boolean |
+isValidTag(int value)
+True if the supplied value is in the valid tag range and not reserved.
+ |
+
public static final int MIN_TAG_VALUE+
public static final int MAX_TAG_VALUE+
public static void appendDocumentation(StringBuilder builder, + String documentation)+
public static void appendIndented(StringBuilder builder, + String value)+
public static boolean isValidTag(int value)+
public static <T> com.google.common.collect.ImmutableList<T> concatenate(List<T> a, + T b)+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/class-use/Util.html b/2.x/wire-schema/com/squareup/wire/schema/internal/class-use/Util.html new file mode 100644 index 0000000000..1a7049a130 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/class-use/Util.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/package-frame.html b/2.x/wire-schema/com/squareup/wire/schema/internal/package-frame.html new file mode 100644 index 0000000000..6ce8276a9f --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
Util | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/package-tree.html b/2.x/wire-schema/com/squareup/wire/schema/internal/package-tree.html new file mode 100644 index 0000000000..4b95318a67 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/package-use.html b/2.x/wire-schema/com/squareup/wire/schema/internal/package-use.html new file mode 100644 index 0000000000..658ffb5afb --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.Builder.html new file mode 100644 index 0000000000..989d505ee1 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.Builder.html @@ -0,0 +1,292 @@ + + + + + + +public static interface EnumConstantElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
EnumConstantElement |
+build() |
+
EnumConstantElement.Builder |
+documentation(String documentation) |
+
EnumConstantElement.Builder |
+location(Location location) |
+
EnumConstantElement.Builder |
+name(String name) |
+
EnumConstantElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
EnumConstantElement.Builder |
+tag(int tag) |
+
EnumConstantElement.Builder location(Location location)+
EnumConstantElement.Builder name(String name)+
EnumConstantElement.Builder tag(int tag)+
EnumConstantElement.Builder documentation(String documentation)+
EnumConstantElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
EnumConstantElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.html new file mode 100644 index 0000000000..c9cb129aa4 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumConstantElement.html @@ -0,0 +1,370 @@ + + + + + + +public abstract class EnumConstantElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+EnumConstantElement.Builder |
+
Constructor and Description | +
---|
EnumConstantElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static EnumConstantElement.Builder |
+builder(Location location) |
+
abstract String |
+documentation() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract int |
+tag() |
+
String |
+toSchema() |
+
public static EnumConstantElement.Builder builder(Location location)+
public abstract Location location()+
public abstract String name()+
public abstract int tag()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.Builder.html new file mode 100644 index 0000000000..bf29f30ab7 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.Builder.html @@ -0,0 +1,292 @@ + + + + + + +public static interface EnumElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
EnumElement |
+build() |
+
EnumElement.Builder |
+constants(com.google.common.collect.ImmutableList<EnumConstantElement> constants) |
+
EnumElement.Builder |
+documentation(String documentation) |
+
EnumElement.Builder |
+location(Location location) |
+
EnumElement.Builder |
+name(String name) |
+
EnumElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
EnumElement.Builder location(Location location)+
EnumElement.Builder name(String name)+
EnumElement.Builder documentation(String documentation)+
EnumElement.Builder constants(com.google.common.collect.ImmutableList<EnumConstantElement> constants)+
EnumElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
EnumElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.html new file mode 100644 index 0000000000..4d25855d07 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/EnumElement.html @@ -0,0 +1,412 @@ + + + + + + +public abstract class EnumElement +extends Object +implements TypeElement+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+EnumElement.Builder |
+
Constructor and Description | +
---|
EnumElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static EnumElement.Builder |
+builder(Location location) |
+
abstract com.google.common.collect.ImmutableList<EnumConstantElement> |
+constants() |
+
abstract String |
+documentation() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
com.google.common.collect.ImmutableList<TypeElement> |
+nestedTypes() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
String |
+toSchema() |
+
public static EnumElement.Builder builder(Location location)+
public abstract Location location()+
location
in interface TypeElement
public abstract String name()+
name
in interface TypeElement
public abstract String documentation()+
documentation
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
options
in interface TypeElement
public final com.google.common.collect.ImmutableList<TypeElement> nestedTypes()+
nestedTypes
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<EnumConstantElement> constants()+
public final String toSchema()+
toSchema
in interface TypeElement
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.Builder.html new file mode 100644 index 0000000000..9c44ccda03 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.Builder.html @@ -0,0 +1,279 @@ + + + + + + +public static interface ExtendElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
ExtendElement |
+build() |
+
ExtendElement.Builder |
+documentation(String documentation) |
+
ExtendElement.Builder |
+fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
ExtendElement.Builder |
+location(Location location) |
+
ExtendElement.Builder |
+name(String name) |
+
ExtendElement.Builder location(Location location)+
ExtendElement.Builder name(String name)+
ExtendElement.Builder documentation(String documentation)+
ExtendElement.Builder fields(com.google.common.collect.ImmutableList<FieldElement> fields)+
ExtendElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.html new file mode 100644 index 0000000000..acf7cedb62 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtendElement.html @@ -0,0 +1,357 @@ + + + + + + +public abstract class ExtendElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+ExtendElement.Builder |
+
Constructor and Description | +
---|
ExtendElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static ExtendElement.Builder |
+builder(Location location) |
+
abstract String |
+documentation() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+fields() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
String |
+toSchema() |
+
public static ExtendElement.Builder builder(Location location)+
public abstract Location location()+
public abstract String name()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<FieldElement> fields()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtensionsElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtensionsElement.html new file mode 100644 index 0000000000..24e655120d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ExtensionsElement.html @@ -0,0 +1,344 @@ + + + + + + +public abstract class ExtensionsElement +extends Object+
Constructor and Description | +
---|
ExtensionsElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static ExtensionsElement |
+create(Location location,
+ int start,
+ int end,
+ String documentation) |
+
abstract String |
+documentation() |
+
abstract int |
+end() |
+
abstract Location |
+location() |
+
abstract int |
+start() |
+
String |
+toSchema() |
+
public static ExtensionsElement create(Location location, + int start, + int end, + String documentation)+
public abstract Location location()+
public abstract String documentation()+
public abstract int start()+
public abstract int end()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.Builder.html new file mode 100644 index 0000000000..52281657a4 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.Builder.html @@ -0,0 +1,331 @@ + + + + + + +public static interface FieldElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
FieldElement |
+build() |
+
FieldElement.Builder |
+defaultValue(String value) |
+
FieldElement.Builder |
+documentation(String documentation) |
+
FieldElement.Builder |
+label(Field.Label label) |
+
FieldElement.Builder |
+location(Location location) |
+
FieldElement.Builder |
+name(String name) |
+
FieldElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
FieldElement.Builder |
+tag(int tag) |
+
FieldElement.Builder |
+type(String type) |
+
FieldElement.Builder location(Location location)+
FieldElement.Builder label(Field.Label label)+
FieldElement.Builder type(String type)+
FieldElement.Builder name(String name)+
FieldElement.Builder defaultValue(String value)+
FieldElement.Builder tag(int tag)+
FieldElement.Builder documentation(String documentation)+
FieldElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
FieldElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.html new file mode 100644 index 0000000000..bfdbd21001 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/FieldElement.html @@ -0,0 +1,409 @@ + + + + + + +public abstract class FieldElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+FieldElement.Builder |
+
Constructor and Description | +
---|
FieldElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static FieldElement.Builder |
+builder(Location location) |
+
abstract String |
+defaultValue() |
+
abstract String |
+documentation() |
+
abstract Field.Label |
+label() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract int |
+tag() |
+
String |
+toSchema() |
+
abstract String |
+type() |
+
public static FieldElement.Builder builder(Location location)+
public abstract Location location()+
public abstract Field.Label label()+
public abstract String type()+
public abstract String name()+
public abstract String defaultValue()+
public abstract int tag()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.Builder.html new file mode 100644 index 0000000000..fc5e28c5f2 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.Builder.html @@ -0,0 +1,292 @@ + + + + + + +public static interface GroupElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
GroupElement |
+build() |
+
GroupElement.Builder |
+documentation(String documentation) |
+
GroupElement.Builder |
+fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
GroupElement.Builder |
+label(Field.Label label) |
+
GroupElement.Builder |
+name(String name) |
+
GroupElement.Builder |
+tag(int value) |
+
GroupElement.Builder label(Field.Label label)+
GroupElement.Builder name(String name)+
GroupElement.Builder tag(int value)+
GroupElement.Builder documentation(String documentation)+
GroupElement.Builder fields(com.google.common.collect.ImmutableList<FieldElement> fields)+
GroupElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.html new file mode 100644 index 0000000000..889058f405 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/GroupElement.html @@ -0,0 +1,370 @@ + + + + + + +public abstract class GroupElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+GroupElement.Builder |
+
Constructor and Description | +
---|
GroupElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static GroupElement.Builder |
+builder() |
+
abstract String |
+documentation() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+fields() |
+
abstract Field.Label |
+label() |
+
abstract String |
+name() |
+
abstract int |
+tag() |
+
String |
+toSchema() |
+
public static GroupElement.Builder builder()+
public abstract Field.Label label()+
public abstract String name()+
public abstract int tag()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<FieldElement> fields()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.Builder.html new file mode 100644 index 0000000000..e8e6fe02b2 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.Builder.html @@ -0,0 +1,357 @@ + + + + + + +public static interface MessageElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
MessageElement |
+build() |
+
MessageElement.Builder |
+documentation(String documentation) |
+
MessageElement.Builder |
+extensions(com.google.common.collect.ImmutableList<ExtensionsElement> extensions) |
+
MessageElement.Builder |
+fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
MessageElement.Builder |
+groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
MessageElement.Builder |
+location(Location location) |
+
MessageElement.Builder |
+name(String name) |
+
MessageElement.Builder |
+nestedTypes(com.google.common.collect.ImmutableList<TypeElement> types) |
+
MessageElement.Builder |
+oneOfs(com.google.common.collect.ImmutableList<OneOfElement> oneOfs) |
+
MessageElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
MessageElement.Builder |
+reserveds(com.google.common.collect.ImmutableList<ReservedElement> reserveds) |
+
MessageElement.Builder location(Location location)+
MessageElement.Builder name(String name)+
MessageElement.Builder documentation(String documentation)+
MessageElement.Builder fields(com.google.common.collect.ImmutableList<FieldElement> fields)+
MessageElement.Builder oneOfs(com.google.common.collect.ImmutableList<OneOfElement> oneOfs)+
MessageElement.Builder nestedTypes(com.google.common.collect.ImmutableList<TypeElement> types)+
MessageElement.Builder extensions(com.google.common.collect.ImmutableList<ExtensionsElement> extensions)+
MessageElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
MessageElement.Builder reserveds(com.google.common.collect.ImmutableList<ReservedElement> reserveds)+
MessageElement.Builder groups(com.google.common.collect.ImmutableList<GroupElement> groups)+
MessageElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.html new file mode 100644 index 0000000000..87b063ffe4 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/MessageElement.html @@ -0,0 +1,464 @@ + + + + + + +public abstract class MessageElement +extends Object +implements TypeElement+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+MessageElement.Builder |
+
Constructor and Description | +
---|
MessageElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static MessageElement.Builder |
+builder(Location location) |
+
abstract String |
+documentation() |
+
abstract com.google.common.collect.ImmutableList<ExtensionsElement> |
+extensions() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+fields() |
+
abstract com.google.common.collect.ImmutableList<GroupElement> |
+groups() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
abstract com.google.common.collect.ImmutableList<TypeElement> |
+nestedTypes() |
+
abstract com.google.common.collect.ImmutableList<OneOfElement> |
+oneOfs() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract com.google.common.collect.ImmutableList<ReservedElement> |
+reserveds() |
+
String |
+toSchema() |
+
public static MessageElement.Builder builder(Location location)+
public abstract Location location()+
location
in interface TypeElement
public abstract String name()+
name
in interface TypeElement
public abstract String documentation()+
documentation
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<TypeElement> nestedTypes()+
nestedTypes
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
options
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<ReservedElement> reserveds()+
public abstract com.google.common.collect.ImmutableList<FieldElement> fields()+
public abstract com.google.common.collect.ImmutableList<OneOfElement> oneOfs()+
public abstract com.google.common.collect.ImmutableList<ExtensionsElement> extensions()+
public abstract com.google.common.collect.ImmutableList<GroupElement> groups()+
public final String toSchema()+
toSchema
in interface TypeElement
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.Builder.html new file mode 100644 index 0000000000..2f34e3acb1 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.Builder.html @@ -0,0 +1,279 @@ + + + + + + +public static interface OneOfElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
OneOfElement |
+build() |
+
OneOfElement.Builder |
+documentation(String documentation) |
+
OneOfElement.Builder |
+fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
OneOfElement.Builder |
+groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
OneOfElement.Builder |
+name(String name) |
+
OneOfElement.Builder name(String name)+
OneOfElement.Builder documentation(String documentation)+
OneOfElement.Builder fields(com.google.common.collect.ImmutableList<FieldElement> fields)+
OneOfElement.Builder groups(com.google.common.collect.ImmutableList<GroupElement> groups)+
OneOfElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.html new file mode 100644 index 0000000000..ca9e8ac89b --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OneOfElement.html @@ -0,0 +1,357 @@ + + + + + + +public abstract class OneOfElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+OneOfElement.Builder |
+
Constructor and Description | +
---|
OneOfElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static OneOfElement.Builder |
+builder() |
+
abstract String |
+documentation() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+fields() |
+
abstract com.google.common.collect.ImmutableList<GroupElement> |
+groups() |
+
abstract String |
+name() |
+
String |
+toSchema() |
+
public static OneOfElement.Builder builder()+
public abstract String name()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<FieldElement> fields()+
public abstract com.google.common.collect.ImmutableList<GroupElement> groups()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.Kind.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.Kind.html new file mode 100644 index 0000000000..b653fdc298 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.Kind.html @@ -0,0 +1,407 @@ + + + + + + +public static enum OptionElement.Kind +extends Enum<OptionElement.Kind>+
Enum Constant and Description | +
---|
BOOLEAN |
+
ENUM |
+
LIST |
+
MAP |
+
NUMBER |
+
OPTION |
+
STRING |
+
Modifier and Type | +Method and Description | +
---|---|
static OptionElement.Kind |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OptionElement.Kind[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final OptionElement.Kind STRING+
public static final OptionElement.Kind BOOLEAN+
public static final OptionElement.Kind NUMBER+
public static final OptionElement.Kind ENUM+
public static final OptionElement.Kind MAP+
public static final OptionElement.Kind LIST+
public static final OptionElement.Kind OPTION+
public static OptionElement.Kind[] values()+
+for (OptionElement.Kind c : OptionElement.Kind.values()) + System.out.println(c); +
public static OptionElement.Kind valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.html new file mode 100644 index 0000000000..4788f37220 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/OptionElement.html @@ -0,0 +1,393 @@ + + + + + + +public abstract class OptionElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static class |
+OptionElement.Kind |
+
Constructor and Description | +
---|
OptionElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static OptionElement |
+create(String name,
+ OptionElement.Kind kind,
+ Object value) |
+
static OptionElement |
+create(String name,
+ OptionElement.Kind kind,
+ Object value,
+ boolean isParenthesized) |
+
abstract boolean |
+isParenthesized() |
+
abstract OptionElement.Kind |
+kind() |
+
abstract String |
+name() |
+
String |
+toSchema() |
+
String |
+toSchemaDeclaration() |
+
abstract Object |
+value() |
+
public static OptionElement create(String name, + OptionElement.Kind kind, + Object value)+
public static OptionElement create(String name, + OptionElement.Kind kind, + Object value, + boolean isParenthesized)+
public abstract String name()+
public abstract OptionElement.Kind kind()+
public abstract Object value()+
public abstract boolean isParenthesized()+
public final String toSchema()+
public final String toSchemaDeclaration()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.Builder.html new file mode 100644 index 0000000000..e61565c5cb --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.Builder.html @@ -0,0 +1,344 @@ + + + + + + +public static interface ProtoFileElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement |
+build() |
+
ProtoFileElement.Builder |
+extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations) |
+
ProtoFileElement.Builder |
+imports(com.google.common.collect.ImmutableList<String> imports) |
+
ProtoFileElement.Builder |
+location(Location location) |
+
ProtoFileElement.Builder |
+options(Collection<OptionElement> options) |
+
ProtoFileElement.Builder |
+packageName(String packageName) |
+
ProtoFileElement.Builder |
+publicImports(com.google.common.collect.ImmutableList<String> publicImports) |
+
ProtoFileElement.Builder |
+services(com.google.common.collect.ImmutableList<ServiceElement> services) |
+
ProtoFileElement.Builder |
+syntax(ProtoFile.Syntax syntax) |
+
ProtoFileElement.Builder |
+types(com.google.common.collect.ImmutableList<TypeElement> types) |
+
ProtoFileElement.Builder location(Location location)+
ProtoFileElement.Builder packageName(String packageName)+
ProtoFileElement.Builder syntax(ProtoFile.Syntax syntax)+
ProtoFileElement.Builder imports(com.google.common.collect.ImmutableList<String> imports)+
ProtoFileElement.Builder publicImports(com.google.common.collect.ImmutableList<String> publicImports)+
ProtoFileElement.Builder types(com.google.common.collect.ImmutableList<TypeElement> types)+
ProtoFileElement.Builder services(com.google.common.collect.ImmutableList<ServiceElement> services)+
ProtoFileElement.Builder extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations)+
ProtoFileElement.Builder options(Collection<OptionElement> options)+
ProtoFileElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.html new file mode 100644 index 0000000000..3f42160afb --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoFileElement.html @@ -0,0 +1,423 @@ + + + + + + +public abstract class ProtoFileElement +extends Object+
.proto
file.Modifier and Type | +Class and Description | +
---|---|
static interface |
+ProtoFileElement.Builder |
+
Constructor and Description | +
---|
ProtoFileElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static ProtoFileElement.Builder |
+builder(Location location) |
+
abstract com.google.common.collect.ImmutableList<ExtendElement> |
+extendDeclarations() |
+
abstract com.google.common.collect.ImmutableList<String> |
+imports() |
+
abstract Location |
+location() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract String |
+packageName() |
+
abstract com.google.common.collect.ImmutableList<String> |
+publicImports() |
+
abstract com.google.common.collect.ImmutableList<ServiceElement> |
+services() |
+
abstract ProtoFile.Syntax |
+syntax() |
+
String |
+toSchema() |
+
abstract com.google.common.collect.ImmutableList<TypeElement> |
+types() |
+
public static ProtoFileElement.Builder builder(Location location)+
public abstract Location location()+
public abstract String packageName()+
public abstract ProtoFile.Syntax syntax()+
public abstract com.google.common.collect.ImmutableList<String> imports()+
public abstract com.google.common.collect.ImmutableList<String> publicImports()+
public abstract com.google.common.collect.ImmutableList<TypeElement> types()+
public abstract com.google.common.collect.ImmutableList<ServiceElement> services()+
public abstract com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations()+
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoParser.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoParser.html new file mode 100644 index 0000000000..bc50216121 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ProtoParser.html @@ -0,0 +1,245 @@ + + + + + + +public final class ProtoParser +extends Object+
.proto
schema declarations.Modifier and Type | +Method and Description | +
---|---|
static ProtoFileElement |
+parse(Location location,
+ String data)
+Parse a named
+.proto schema. |
+
public static ProtoFileElement parse(Location location, + String data)+
.proto
schema.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ReservedElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ReservedElement.html new file mode 100644 index 0000000000..810b7fb628 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ReservedElement.html @@ -0,0 +1,332 @@ + + + + + + +public abstract class ReservedElement +extends Object+
Constructor and Description | +
---|
ReservedElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static ReservedElement |
+create(Location location,
+ String documentation,
+ com.google.common.collect.ImmutableList<Object> values) |
+
abstract String |
+documentation() |
+
abstract Location |
+location() |
+
String |
+toSchema() |
+
abstract com.google.common.collect.ImmutableList<Object> |
+values()
+
+ |
+
public static ReservedElement create(Location location, + String documentation, + com.google.common.collect.ImmutableList<Object> values)+
public abstract Location location()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<Object> values()+ +
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.Builder.html new file mode 100644 index 0000000000..8fbd77fae5 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.Builder.html @@ -0,0 +1,331 @@ + + + + + + +public static interface RpcElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
RpcElement |
+build() |
+
RpcElement.Builder |
+documentation(String documentation) |
+
RpcElement.Builder |
+location(Location location) |
+
RpcElement.Builder |
+name(String name) |
+
RpcElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
RpcElement.Builder |
+requestStreaming(boolean requestStreaming) |
+
RpcElement.Builder |
+requestType(String requestType) |
+
RpcElement.Builder |
+responseStreaming(boolean responseStreaming) |
+
RpcElement.Builder |
+responseType(String responseType) |
+
RpcElement.Builder location(Location location)+
RpcElement.Builder name(String name)+
RpcElement.Builder documentation(String documentation)+
RpcElement.Builder requestType(String requestType)+
RpcElement.Builder responseType(String responseType)+
RpcElement.Builder requestStreaming(boolean requestStreaming)+
RpcElement.Builder responseStreaming(boolean responseStreaming)+
RpcElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
RpcElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.html new file mode 100644 index 0000000000..53609ec79d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/RpcElement.html @@ -0,0 +1,409 @@ + + + + + + +public abstract class RpcElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+RpcElement.Builder |
+
Constructor and Description | +
---|
RpcElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static RpcElement.Builder |
+builder(Location location) |
+
abstract String |
+documentation() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract boolean |
+requestStreaming() |
+
abstract String |
+requestType() |
+
abstract boolean |
+responseStreaming() |
+
abstract String |
+responseType() |
+
String |
+toSchema() |
+
public static RpcElement.Builder builder(Location location)+
public abstract Location location()+
public abstract String name()+
public abstract String documentation()+
public abstract String requestType()+
public abstract String responseType()+
public abstract boolean requestStreaming()+
public abstract boolean responseStreaming()+
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.Builder.html new file mode 100644 index 0000000000..da697cc197 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.Builder.html @@ -0,0 +1,292 @@ + + + + + + +public static interface ServiceElement.Builder
+Modifier and Type | +Method and Description | +
---|---|
ServiceElement |
+build() |
+
ServiceElement.Builder |
+documentation(String documentation) |
+
ServiceElement.Builder |
+location(Location location) |
+
ServiceElement.Builder |
+name(String name) |
+
ServiceElement.Builder |
+options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
ServiceElement.Builder |
+rpcs(com.google.common.collect.ImmutableList<RpcElement> rpcs) |
+
ServiceElement.Builder location(Location location)+
ServiceElement.Builder name(String name)+
ServiceElement.Builder documentation(String documentation)+
ServiceElement.Builder rpcs(com.google.common.collect.ImmutableList<RpcElement> rpcs)+
ServiceElement.Builder options(com.google.common.collect.ImmutableList<OptionElement> options)+
ServiceElement build()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.html new file mode 100644 index 0000000000..a0f050b72d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/ServiceElement.html @@ -0,0 +1,370 @@ + + + + + + +public abstract class ServiceElement +extends Object+
Modifier and Type | +Class and Description | +
---|---|
static interface |
+ServiceElement.Builder |
+
Constructor and Description | +
---|
ServiceElement() |
+
Modifier and Type | +Method and Description | +
---|---|
static ServiceElement.Builder |
+builder(Location location) |
+
abstract String |
+documentation() |
+
abstract Location |
+location() |
+
abstract String |
+name() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
abstract com.google.common.collect.ImmutableList<RpcElement> |
+rpcs() |
+
String |
+toSchema() |
+
public static ServiceElement.Builder builder(Location location)+
public abstract Location location()+
public abstract String name()+
public abstract String documentation()+
public abstract com.google.common.collect.ImmutableList<RpcElement> rpcs()+
public abstract com.google.common.collect.ImmutableList<OptionElement> options()+
public final String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/TypeElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/TypeElement.html new file mode 100644 index 0000000000..98ad9f2e74 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/TypeElement.html @@ -0,0 +1,293 @@ + + + + + + +public interface TypeElement
+Modifier and Type | +Method and Description | +
---|---|
String |
+documentation() |
+
Location |
+location() |
+
String |
+name() |
+
com.google.common.collect.ImmutableList<TypeElement> |
+nestedTypes() |
+
com.google.common.collect.ImmutableList<OptionElement> |
+options() |
+
String |
+toSchema() |
+
Location location()+
String name()+
String documentation()+
com.google.common.collect.ImmutableList<OptionElement> options()+
com.google.common.collect.ImmutableList<TypeElement> nestedTypes()+
String toSchema()+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.Builder.html new file mode 100644 index 0000000000..065d224407 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.Builder.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static EnumConstantElement.Builder |
+EnumConstantElement.builder(Location location) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.documentation(String documentation) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.location(Location location) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.name(String name) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.tag(int tag) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.html new file mode 100644 index 0000000000..9fa033300d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumConstantElement.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
EnumConstantElement |
+EnumConstantElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<EnumConstantElement> |
+EnumElement.constants() |
+
Modifier and Type | +Method and Description | +
---|---|
EnumElement.Builder |
+EnumElement.Builder.constants(com.google.common.collect.ImmutableList<EnumConstantElement> constants) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.Builder.html new file mode 100644 index 0000000000..862253eee2 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.Builder.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static EnumElement.Builder |
+EnumElement.builder(Location location) |
+
EnumElement.Builder |
+EnumElement.Builder.constants(com.google.common.collect.ImmutableList<EnumConstantElement> constants) |
+
EnumElement.Builder |
+EnumElement.Builder.documentation(String documentation) |
+
EnumElement.Builder |
+EnumElement.Builder.location(Location location) |
+
EnumElement.Builder |
+EnumElement.Builder.name(String name) |
+
EnumElement.Builder |
+EnumElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.html new file mode 100644 index 0000000000..d9dc33a88d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/EnumElement.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
EnumElement |
+EnumElement.Builder.build() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.Builder.html new file mode 100644 index 0000000000..8ff6c9f2c2 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.Builder.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ExtendElement.Builder |
+ExtendElement.builder(Location location) |
+
ExtendElement.Builder |
+ExtendElement.Builder.documentation(String documentation) |
+
ExtendElement.Builder |
+ExtendElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
ExtendElement.Builder |
+ExtendElement.Builder.location(Location location) |
+
ExtendElement.Builder |
+ExtendElement.Builder.name(String name) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.html new file mode 100644 index 0000000000..a9e40bc818 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtendElement.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
ExtendElement |
+ExtendElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<ExtendElement> |
+ProtoFileElement.extendDeclarations() |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement.Builder |
+ProtoFileElement.Builder.extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtensionsElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtensionsElement.html new file mode 100644 index 0000000000..bf605b224b --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ExtensionsElement.html @@ -0,0 +1,195 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ExtensionsElement |
+ExtensionsElement.create(Location location,
+ int start,
+ int end,
+ String documentation) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<ExtensionsElement> |
+MessageElement.extensions() |
+
Modifier and Type | +Method and Description | +
---|---|
MessageElement.Builder |
+MessageElement.Builder.extensions(com.google.common.collect.ImmutableList<ExtensionsElement> extensions) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.Builder.html new file mode 100644 index 0000000000..332e338c5b --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.Builder.html @@ -0,0 +1,198 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static FieldElement.Builder |
+FieldElement.builder(Location location) |
+
FieldElement.Builder |
+FieldElement.Builder.defaultValue(String value) |
+
FieldElement.Builder |
+FieldElement.Builder.documentation(String documentation) |
+
FieldElement.Builder |
+FieldElement.Builder.label(Field.Label label) |
+
FieldElement.Builder |
+FieldElement.Builder.location(Location location) |
+
FieldElement.Builder |
+FieldElement.Builder.name(String name) |
+
FieldElement.Builder |
+FieldElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
FieldElement.Builder |
+FieldElement.Builder.tag(int tag) |
+
FieldElement.Builder |
+FieldElement.Builder.type(String type) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.html new file mode 100644 index 0000000000..0352b69df6 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/FieldElement.html @@ -0,0 +1,216 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
FieldElement |
+FieldElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<FieldElement> |
+OneOfElement.fields() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+MessageElement.fields() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+GroupElement.fields() |
+
abstract com.google.common.collect.ImmutableList<FieldElement> |
+ExtendElement.fields() |
+
Modifier and Type | +Method and Description | +
---|---|
OneOfElement.Builder |
+OneOfElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
MessageElement.Builder |
+MessageElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
GroupElement.Builder |
+GroupElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
ExtendElement.Builder |
+ExtendElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.Builder.html new file mode 100644 index 0000000000..806cb60b0a --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.Builder.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static GroupElement.Builder |
+GroupElement.builder() |
+
GroupElement.Builder |
+GroupElement.Builder.documentation(String documentation) |
+
GroupElement.Builder |
+GroupElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
GroupElement.Builder |
+GroupElement.Builder.label(Field.Label label) |
+
GroupElement.Builder |
+GroupElement.Builder.name(String name) |
+
GroupElement.Builder |
+GroupElement.Builder.tag(int value) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.html new file mode 100644 index 0000000000..681386026d --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/GroupElement.html @@ -0,0 +1,200 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
GroupElement |
+GroupElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<GroupElement> |
+OneOfElement.groups() |
+
abstract com.google.common.collect.ImmutableList<GroupElement> |
+MessageElement.groups() |
+
Modifier and Type | +Method and Description | +
---|---|
OneOfElement.Builder |
+OneOfElement.Builder.groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
MessageElement.Builder |
+MessageElement.Builder.groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.Builder.html new file mode 100644 index 0000000000..3861e10bc3 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.Builder.html @@ -0,0 +1,206 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static MessageElement.Builder |
+MessageElement.builder(Location location) |
+
MessageElement.Builder |
+MessageElement.Builder.documentation(String documentation) |
+
MessageElement.Builder |
+MessageElement.Builder.extensions(com.google.common.collect.ImmutableList<ExtensionsElement> extensions) |
+
MessageElement.Builder |
+MessageElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
MessageElement.Builder |
+MessageElement.Builder.groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
MessageElement.Builder |
+MessageElement.Builder.location(Location location) |
+
MessageElement.Builder |
+MessageElement.Builder.name(String name) |
+
MessageElement.Builder |
+MessageElement.Builder.nestedTypes(com.google.common.collect.ImmutableList<TypeElement> types) |
+
MessageElement.Builder |
+MessageElement.Builder.oneOfs(com.google.common.collect.ImmutableList<OneOfElement> oneOfs) |
+
MessageElement.Builder |
+MessageElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
MessageElement.Builder |
+MessageElement.Builder.reserveds(com.google.common.collect.ImmutableList<ReservedElement> reserveds) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.html new file mode 100644 index 0000000000..a8c69857b8 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/MessageElement.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
MessageElement |
+MessageElement.Builder.build() |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.Builder.html new file mode 100644 index 0000000000..71445fad38 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.Builder.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static OneOfElement.Builder |
+OneOfElement.builder() |
+
OneOfElement.Builder |
+OneOfElement.Builder.documentation(String documentation) |
+
OneOfElement.Builder |
+OneOfElement.Builder.fields(com.google.common.collect.ImmutableList<FieldElement> fields) |
+
OneOfElement.Builder |
+OneOfElement.Builder.groups(com.google.common.collect.ImmutableList<GroupElement> groups) |
+
OneOfElement.Builder |
+OneOfElement.Builder.name(String name) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.html new file mode 100644 index 0000000000..45f0f08bdd --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OneOfElement.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
OneOfElement |
+OneOfElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<OneOfElement> |
+MessageElement.oneOfs() |
+
Modifier and Type | +Method and Description | +
---|---|
MessageElement.Builder |
+MessageElement.Builder.oneOfs(com.google.common.collect.ImmutableList<OneOfElement> oneOfs) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.Kind.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.Kind.html new file mode 100644 index 0000000000..11d6a52cef --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.Kind.html @@ -0,0 +1,201 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
abstract OptionElement.Kind |
+OptionElement.kind() |
+
static OptionElement.Kind |
+OptionElement.Kind.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OptionElement.Kind[] |
+OptionElement.Kind.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static OptionElement |
+OptionElement.create(String name,
+ OptionElement.Kind kind,
+ Object value) |
+
static OptionElement |
+OptionElement.create(String name,
+ OptionElement.Kind kind,
+ Object value,
+ boolean isParenthesized) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.html new file mode 100644 index 0000000000..e176dff189 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/OptionElement.html @@ -0,0 +1,274 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Constructor and Description | +
---|
Options(ProtoType optionType,
+ List<OptionElement> elements) |
+
Modifier and Type | +Method and Description | +
---|---|
static OptionElement |
+OptionElement.create(String name,
+ OptionElement.Kind kind,
+ Object value) |
+
static OptionElement |
+OptionElement.create(String name,
+ OptionElement.Kind kind,
+ Object value,
+ boolean isParenthesized) |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<OptionElement> |
+TypeElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+ServiceElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+RpcElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+ProtoFileElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+MessageElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+FieldElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+EnumElement.options() |
+
abstract com.google.common.collect.ImmutableList<OptionElement> |
+EnumConstantElement.options() |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement.Builder |
+ProtoFileElement.Builder.options(Collection<OptionElement> options) |
+
ServiceElement.Builder |
+ServiceElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
RpcElement.Builder |
+RpcElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
MessageElement.Builder |
+MessageElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
FieldElement.Builder |
+FieldElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
EnumElement.Builder |
+EnumElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
EnumConstantElement.Builder |
+EnumConstantElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.Builder.html new file mode 100644 index 0000000000..cf618af6b9 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.Builder.html @@ -0,0 +1,202 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ProtoFileElement.Builder |
+ProtoFileElement.builder(Location location) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.imports(com.google.common.collect.ImmutableList<String> imports) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.location(Location location) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.options(Collection<OptionElement> options) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.packageName(String packageName) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.publicImports(com.google.common.collect.ImmutableList<String> publicImports) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.services(com.google.common.collect.ImmutableList<ServiceElement> services) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.syntax(ProtoFile.Syntax syntax) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.types(com.google.common.collect.ImmutableList<TypeElement> types) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.html new file mode 100644 index 0000000000..79da4d7b6a --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoFileElement.html @@ -0,0 +1,173 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement |
+ProtoFileElement.Builder.build() |
+
static ProtoFileElement |
+ProtoParser.parse(Location location,
+ String data)
+Parse a named
+.proto schema. |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoParser.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoParser.html new file mode 100644 index 0000000000..d1141d790b --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ProtoParser.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ReservedElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ReservedElement.html new file mode 100644 index 0000000000..f864c38402 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ReservedElement.html @@ -0,0 +1,194 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ReservedElement |
+ReservedElement.create(Location location,
+ String documentation,
+ com.google.common.collect.ImmutableList<Object> values) |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<ReservedElement> |
+MessageElement.reserveds() |
+
Modifier and Type | +Method and Description | +
---|---|
MessageElement.Builder |
+MessageElement.Builder.reserveds(com.google.common.collect.ImmutableList<ReservedElement> reserveds) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.Builder.html new file mode 100644 index 0000000000..3c9340a755 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.Builder.html @@ -0,0 +1,198 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static RpcElement.Builder |
+RpcElement.builder(Location location) |
+
RpcElement.Builder |
+RpcElement.Builder.documentation(String documentation) |
+
RpcElement.Builder |
+RpcElement.Builder.location(Location location) |
+
RpcElement.Builder |
+RpcElement.Builder.name(String name) |
+
RpcElement.Builder |
+RpcElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
RpcElement.Builder |
+RpcElement.Builder.requestStreaming(boolean requestStreaming) |
+
RpcElement.Builder |
+RpcElement.Builder.requestType(String requestType) |
+
RpcElement.Builder |
+RpcElement.Builder.responseStreaming(boolean responseStreaming) |
+
RpcElement.Builder |
+RpcElement.Builder.responseType(String responseType) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.html new file mode 100644 index 0000000000..0fb1477afe --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/RpcElement.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
RpcElement |
+RpcElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<RpcElement> |
+ServiceElement.rpcs() |
+
Modifier and Type | +Method and Description | +
---|---|
ServiceElement.Builder |
+ServiceElement.Builder.rpcs(com.google.common.collect.ImmutableList<RpcElement> rpcs) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.Builder.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.Builder.html new file mode 100644 index 0000000000..8e700090a2 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.Builder.html @@ -0,0 +1,186 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static ServiceElement.Builder |
+ServiceElement.builder(Location location) |
+
ServiceElement.Builder |
+ServiceElement.Builder.documentation(String documentation) |
+
ServiceElement.Builder |
+ServiceElement.Builder.location(Location location) |
+
ServiceElement.Builder |
+ServiceElement.Builder.name(String name) |
+
ServiceElement.Builder |
+ServiceElement.Builder.options(com.google.common.collect.ImmutableList<OptionElement> options) |
+
ServiceElement.Builder |
+ServiceElement.Builder.rpcs(com.google.common.collect.ImmutableList<RpcElement> rpcs) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.html new file mode 100644 index 0000000000..6750b322c4 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/ServiceElement.html @@ -0,0 +1,192 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
ServiceElement |
+ServiceElement.Builder.build() |
+
Modifier and Type | +Method and Description | +
---|---|
abstract com.google.common.collect.ImmutableList<ServiceElement> |
+ProtoFileElement.services() |
+
Modifier and Type | +Method and Description | +
---|---|
ProtoFileElement.Builder |
+ProtoFileElement.Builder.services(com.google.common.collect.ImmutableList<ServiceElement> services) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/TypeElement.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/TypeElement.html new file mode 100644 index 0000000000..0cb9b7d789 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/class-use/TypeElement.html @@ -0,0 +1,236 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Modifier and Type | +Method and Description | +
---|---|
static Type |
+Type.get(String packageName,
+ ProtoType protoType,
+ TypeElement type) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+EnumElement |
+
class |
+MessageElement |
+
Modifier and Type | +Method and Description | +
---|---|
com.google.common.collect.ImmutableList<TypeElement> |
+TypeElement.nestedTypes() |
+
abstract com.google.common.collect.ImmutableList<TypeElement> |
+MessageElement.nestedTypes() |
+
com.google.common.collect.ImmutableList<TypeElement> |
+EnumElement.nestedTypes() |
+
abstract com.google.common.collect.ImmutableList<TypeElement> |
+ProtoFileElement.types() |
+
Modifier and Type | +Method and Description | +
---|---|
MessageElement.Builder |
+MessageElement.Builder.nestedTypes(com.google.common.collect.ImmutableList<TypeElement> types) |
+
ProtoFileElement.Builder |
+ProtoFileElement.Builder.types(com.google.common.collect.ImmutableList<TypeElement> types) |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-frame.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-frame.html new file mode 100644 index 0000000000..34bb6ab606 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-frame.html @@ -0,0 +1,52 @@ + + + + + + +Interface | +Description | +
---|---|
EnumConstantElement.Builder | ++ |
EnumElement.Builder | ++ |
ExtendElement.Builder | ++ |
FieldElement.Builder | ++ |
GroupElement.Builder | ++ |
MessageElement.Builder | ++ |
OneOfElement.Builder | ++ |
ProtoFileElement.Builder | ++ |
RpcElement.Builder | ++ |
ServiceElement.Builder | ++ |
TypeElement | +
+ A message type or enum type declaration.
+ |
+
Class | +Description | +
---|---|
EnumConstantElement | ++ |
EnumElement | ++ |
ExtendElement | ++ |
ExtensionsElement | ++ |
FieldElement | ++ |
GroupElement | ++ |
MessageElement | ++ |
OneOfElement | ++ |
OptionElement | ++ |
ProtoFileElement | +
+ A single
+.proto file. |
+
ProtoParser | +
+ Basic parser for
+.proto schema declarations. |
+
ReservedElement | ++ |
RpcElement | ++ |
ServiceElement | ++ |
Enum | +Description | +
---|---|
OptionElement.Kind | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-tree.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-tree.html new file mode 100644 index 0000000000..5d62a0a677 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-tree.html @@ -0,0 +1,178 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-use.html b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-use.html new file mode 100644 index 0000000000..ceb5427ffe --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/internal/parser/package-use.html @@ -0,0 +1,259 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Class and Description | +
---|
OptionElement | +
TypeElement
+ A message type or enum type declaration.
+ |
+
Class and Description | +
---|
EnumConstantElement | +
EnumConstantElement.Builder | +
EnumElement | +
EnumElement.Builder | +
ExtendElement | +
ExtendElement.Builder | +
ExtensionsElement | +
FieldElement | +
FieldElement.Builder | +
GroupElement | +
GroupElement.Builder | +
MessageElement | +
MessageElement.Builder | +
OneOfElement | +
OneOfElement.Builder | +
OptionElement | +
OptionElement.Kind | +
ProtoFileElement
+ A single
+.proto file. |
+
ProtoFileElement.Builder | +
ReservedElement | +
RpcElement | +
RpcElement.Builder | +
ServiceElement | +
ServiceElement.Builder | +
TypeElement
+ A message type or enum type declaration.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/package-frame.html b/2.x/wire-schema/com/squareup/wire/schema/package-frame.html new file mode 100644 index 0000000000..aaa6974651 --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +Class | +Description | +
---|---|
EnclosingType | +
+ An empty type which only holds nested types.
+ |
+
EnumConstant | ++ |
EnumType | ++ |
Field | ++ |
IdentifierSet | +
+ A heterogeneous set of rules to include and exclude types and members.
+ |
+
IdentifierSet.Builder | ++ |
Location | +
+ Locates a .proto file, or a position within a .proto file, on the file system.
+ |
+
MessageType | ++ |
OneOf | ++ |
Options | +
+ A set of options declared on a message declaration, field declaration, enum declaration, enum
+ constant declaration, service declaration, RPC method declaration, or proto file declaration.
+ |
+
ProtoFile | ++ |
ProtoMember | +
+ Identifies a field, enum or RPC on a declaring type.
+ |
+
ProtoType | +
+ Names a protocol buffer message, enumerated type, service, map, or a scalar.
+ |
+
Rpc | ++ |
Schema | +
+ A collection of .proto files that describe a set of messages.
+ |
+
SchemaLoader | +
+ Load proto files and their transitive dependencies, parse them, and link them together.
+ |
+
Service | ++ |
Type | ++ |
Enum | +Description | +
---|---|
Field.Label | ++ |
ProtoFile.Syntax | +
+ Syntax version.
+ |
+
Exception | +Description | +
---|---|
SchemaException | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/package-tree.html b/2.x/wire-schema/com/squareup/wire/schema/package-tree.html new file mode 100644 index 0000000000..8bb377ac7e --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/package-tree.html @@ -0,0 +1,185 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/com/squareup/wire/schema/package-use.html b/2.x/wire-schema/com/squareup/wire/schema/package-use.html new file mode 100644 index 0000000000..41ff65f5da --- /dev/null +++ b/2.x/wire-schema/com/squareup/wire/schema/package-use.html @@ -0,0 +1,253 @@ + + + + + + +Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Class and Description | +
---|
EnumConstant | +
Field | +
Field.Label | +
IdentifierSet
+ A heterogeneous set of rules to include and exclude types and members.
+ |
+
IdentifierSet.Builder | +
Location
+ Locates a .proto file, or a position within a .proto file, on the file system.
+ |
+
OneOf | +
Options
+ A set of options declared on a message declaration, field declaration, enum declaration, enum
+ constant declaration, service declaration, RPC method declaration, or proto file declaration.
+ |
+
ProtoFile | +
ProtoFile.Syntax
+ Syntax version.
+ |
+
ProtoMember
+ Identifies a field, enum or RPC on a declaring type.
+ |
+
ProtoType
+ Names a protocol buffer message, enumerated type, service, map, or a scalar.
+ |
+
Rpc | +
Schema
+ A collection of .proto files that describe a set of messages.
+ |
+
SchemaLoader
+ Load proto files and their transitive dependencies, parse them, and link them together.
+ |
+
Service | +
Type | +
Class and Description | +
---|
Field.Label | +
Location
+ Locates a .proto file, or a position within a .proto file, on the file system.
+ |
+
ProtoFile.Syntax
+ Syntax version.
+ |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/constant-values.html b/2.x/wire-schema/constant-values.html new file mode 100644 index 0000000000..e2a71b6ef5 --- /dev/null +++ b/2.x/wire-schema/constant-values.html @@ -0,0 +1,162 @@ + + + + + + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final int |
+MAX_TAG_VALUE |
+536870911 |
+
+
+public static final int |
+MIN_TAG_VALUE |
+1 |
+
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/deprecated-list.html b/2.x/wire-schema/deprecated-list.html new file mode 100644 index 0000000000..e153272731 --- /dev/null +++ b/2.x/wire-schema/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/help-doc.html b/2.x/wire-schema/help-doc.html new file mode 100644 index 0000000000..f6dda823c2 --- /dev/null +++ b/2.x/wire-schema/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/index-all.html b/2.x/wire-schema/index-all.html new file mode 100644 index 0000000000..848fc3aaa5 --- /dev/null +++ b/2.x/wire-schema/index-all.html @@ -0,0 +1,1240 @@ + + + + + + +name
, or null if this enum has no such constant.tag
, or null if this enum has no such constant.type
should be excluded, even if it is a transitive dependency of a
+ root.protoMember
should be excluded.qualifiedName
, or null if this type has no
+ such field.name
, or null if this type has no such field.tag
, or null if this type has no such field.name
, or null if this schema defines
+ no such service.name
, or null if this schema defines
+ no such service.name
, or null if this schema defines no
+ such type.name
, or null if this schema defines no
+ such type.type
is a root.protoMember
is a root.simple_message
for squareup/protos/person/simple_message.proto
.options
matches both of the regular expressions
+ provided: its name matches the option's name and its value matches the option's value..proto
schema.Location.base()
.typeName
.path
, or null if this schema has no such file..proto
file..proto
schema declarations.identifierSet
, plus their transitive dependencies.name
, or null if this service has no such method.Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/index.html b/2.x/wire-schema/index.html new file mode 100644 index 0000000000..7a11ce2089 --- /dev/null +++ b/2.x/wire-schema/index.html @@ -0,0 +1,75 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/2.x/wire-schema/overview-summary.html b/2.x/wire-schema/overview-summary.html new file mode 100644 index 0000000000..fdac4662fc --- /dev/null +++ b/2.x/wire-schema/overview-summary.html @@ -0,0 +1,148 @@ + + + + + + +
Package | +Description | +
---|---|
com.squareup.wire.schema | ++ |
com.squareup.wire.schema.internal | ++ |
com.squareup.wire.schema.internal.parser | ++ |
Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/overview-tree.html b/2.x/wire-schema/overview-tree.html new file mode 100644 index 0000000000..192304623a --- /dev/null +++ b/2.x/wire-schema/overview-tree.html @@ -0,0 +1,217 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/package-list b/2.x/wire-schema/package-list new file mode 100644 index 0000000000..74e9ec5bde --- /dev/null +++ b/2.x/wire-schema/package-list @@ -0,0 +1,3 @@ +com.squareup.wire.schema +com.squareup.wire.schema.internal +com.squareup.wire.schema.internal.parser diff --git a/2.x/wire-schema/script.js b/2.x/wire-schema/script.js new file mode 100644 index 0000000000..b346356931 --- /dev/null +++ b/2.x/wire-schema/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/2.x/wire-schema/serialized-form.html b/2.x/wire-schema/serialized-form.html new file mode 100644 index 0000000000..2e8f3736f1 --- /dev/null +++ b/2.x/wire-schema/serialized-form.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2013–2016 Square, Inc.. All rights reserved.
+ + diff --git a/2.x/wire-schema/stylesheet.css b/2.x/wire-schema/stylesheet.css new file mode 100644 index 0000000000..8841f37c43 --- /dev/null +++ b/2.x/wire-schema/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/2.x/wire-schema/version.txt b/2.x/wire-schema/version.txt new file mode 100644 index 0000000000..e3a4f19336 --- /dev/null +++ b/2.x/wire-schema/version.txt @@ -0,0 +1 @@ +2.2.0 \ No newline at end of file diff --git a/3.x/wire-compiler/images/anchor-copy-button.svg b/3.x/wire-compiler/images/anchor-copy-button.svg new file mode 100644 index 0000000000..19c1fa3f4d --- /dev/null +++ b/3.x/wire-compiler/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + diff --git a/3.x/wire-compiler/images/arrow_down.svg b/3.x/wire-compiler/images/arrow_down.svg new file mode 100644 index 0000000000..639aaf12cf --- /dev/null +++ b/3.x/wire-compiler/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + diff --git a/3.x/wire-compiler/images/burger.svg b/3.x/wire-compiler/images/burger.svg new file mode 100644 index 0000000000..fcca732b77 --- /dev/null +++ b/3.x/wire-compiler/images/burger.svg @@ -0,0 +1,9 @@ + + + diff --git a/3.x/wire-compiler/images/copy-icon.svg b/3.x/wire-compiler/images/copy-icon.svg new file mode 100644 index 0000000000..2cb02ec6e7 --- /dev/null +++ b/3.x/wire-compiler/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + diff --git a/3.x/wire-compiler/images/copy-successful-icon.svg b/3.x/wire-compiler/images/copy-successful-icon.svg new file mode 100644 index 0000000000..c4b95383de --- /dev/null +++ b/3.x/wire-compiler/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + diff --git a/3.x/wire-compiler/images/footer-go-to-link.svg b/3.x/wire-compiler/images/footer-go-to-link.svg new file mode 100644 index 0000000000..a87add7a33 --- /dev/null +++ b/3.x/wire-compiler/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + diff --git a/3.x/wire-compiler/images/go-to-top-icon.svg b/3.x/wire-compiler/images/go-to-top-icon.svg new file mode 100644 index 0000000000..abc3d1cef7 --- /dev/null +++ b/3.x/wire-compiler/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + diff --git a/3.x/wire-compiler/images/homepage.svg b/3.x/wire-compiler/images/homepage.svg new file mode 100644 index 0000000000..e3c83b1ce3 --- /dev/null +++ b/3.x/wire-compiler/images/homepage.svg @@ -0,0 +1,3 @@ + diff --git a/3.x/wire-compiler/images/logo-icon.svg b/3.x/wire-compiler/images/logo-icon.svg new file mode 100644 index 0000000000..e42f9570cf --- /dev/null +++ b/3.x/wire-compiler/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/abstract-class-kotlin.svg b/3.x/wire-compiler/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 0000000000..19d6148ca6 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/abstract-class.svg b/3.x/wire-compiler/images/nav-icons/abstract-class.svg new file mode 100644 index 0000000000..601820302f --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/annotation-kotlin.svg b/3.x/wire-compiler/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 0000000000..b90f508c47 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/annotation.svg b/3.x/wire-compiler/images/nav-icons/annotation.svg new file mode 100644 index 0000000000..b80c54b4b0 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/class-kotlin.svg b/3.x/wire-compiler/images/nav-icons/class-kotlin.svg new file mode 100644 index 0000000000..797a2423cd --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/class.svg b/3.x/wire-compiler/images/nav-icons/class.svg new file mode 100644 index 0000000000..3f1ad167e7 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/enum-kotlin.svg b/3.x/wire-compiler/images/nav-icons/enum-kotlin.svg new file mode 100644 index 0000000000..775a7cc90c --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/enum.svg b/3.x/wire-compiler/images/nav-icons/enum.svg new file mode 100644 index 0000000000..fa7f24766d --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/exception-class.svg b/3.x/wire-compiler/images/nav-icons/exception-class.svg new file mode 100644 index 0000000000..c0b2bdeba7 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/field-value.svg b/3.x/wire-compiler/images/nav-icons/field-value.svg new file mode 100644 index 0000000000..2771ee56cb --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/field-variable.svg b/3.x/wire-compiler/images/nav-icons/field-variable.svg new file mode 100644 index 0000000000..e2d2bbd015 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/function.svg b/3.x/wire-compiler/images/nav-icons/function.svg new file mode 100644 index 0000000000..f0da64a0b7 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/interface-kotlin.svg b/3.x/wire-compiler/images/nav-icons/interface-kotlin.svg new file mode 100644 index 0000000000..5e163260e1 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/interface.svg b/3.x/wire-compiler/images/nav-icons/interface.svg new file mode 100644 index 0000000000..32063ba263 --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + diff --git a/3.x/wire-compiler/images/nav-icons/object.svg b/3.x/wire-compiler/images/nav-icons/object.svg new file mode 100644 index 0000000000..31f0ee3e6b --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/nav-icons/typealias-kotlin.svg b/3.x/wire-compiler/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 0000000000..f4bb238b5b --- /dev/null +++ b/3.x/wire-compiler/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + diff --git a/3.x/wire-compiler/images/theme-toggle.svg b/3.x/wire-compiler/images/theme-toggle.svg new file mode 100644 index 0000000000..df86202bb9 --- /dev/null +++ b/3.x/wire-compiler/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + diff --git a/3.x/wire-compiler/index.html b/3.x/wire-compiler/index.html new file mode 100644 index 0000000000..4e09efdeb8 --- /dev/null +++ b/3.x/wire-compiler/index.html @@ -0,0 +1,117 @@ + + + + +