@@ -31,31 +31,31 @@ public abstract class CloudStorageConfiguration {
3131 public static final CloudStorageConfiguration DEFAULT = builder ().build ();
3232
3333 /**
34- * Returns path of current working directory. This defaults to the root directory.
34+ * @return path of current working directory. This defaults to the root directory.
3535 */
3636 public abstract String workingDirectory ();
3737
3838 /**
39- * Returns {@code true} if we <i>shouldn't</i> throw an exception when encountering object names
39+ * @return {@code true} if we <i>shouldn't</i> throw an exception when encountering object names
4040 * containing superfluous slashes, e.g. {@code a//b}.
4141 */
4242 public abstract boolean permitEmptyPathComponents ();
4343
4444 /**
45- * Returns {@code true} if '/' prefix on absolute object names should be removed before I/O.
45+ * @return {@code true} if '/' prefix on absolute object names should be removed before I/O.
4646 *
4747 * <p>If you disable this feature, please take into consideration that all paths created from a
4848 * URI will have the leading slash.
4949 */
5050 public abstract boolean stripPrefixSlash ();
5151
5252 /**
53- * Returns {@code true} if paths with a trailing slash should be treated as fake directories.
53+ * @return {@code true} if paths with a trailing slash should be treated as fake directories.
5454 */
5555 public abstract boolean usePseudoDirectories ();
5656
5757 /**
58- * Returns block size (in bytes) used when talking to the Google Cloud Storage HTTP server.
58+ * @return block size (in bytes) used when talking to the Google Cloud Storage HTTP server.
5959 */
6060 public abstract int blockSize ();
6161
@@ -67,6 +67,8 @@ public abstract class CloudStorageConfiguration {
6767 * <li>The prefix slash on absolute paths will be removed when converting to an object name.
6868 * <li>Pseudo-directories are enabled, so any path with a trailing slash is a fake directory.
6969 * </ul>
70+ *
71+ * @return builder
7072 */
7173 public static Builder builder () {
7274 return new Builder ();
@@ -89,6 +91,7 @@ public static final class Builder {
8991 * {@link CloudStorageFileSystem} object.
9092 *
9193 * @throws IllegalArgumentException if {@code path} is not absolute.
94+ * @return builder
9295 */
9396 public Builder workingDirectory (String path ) {
9497 checkArgument (UnixPath .getPath (false , path ).isAbsolute (), "not absolute: %s" , path );
@@ -99,6 +102,8 @@ public Builder workingDirectory(String path) {
99102 /**
100103 * Configures whether or not we should throw an exception when encountering object names
101104 * containing superfluous slashes, e.g. {@code a//b}.
105+ *
106+ * @return builder
102107 */
103108 public Builder permitEmptyPathComponents (boolean value ) {
104109 permitEmptyPathComponents = value ;
@@ -110,6 +115,9 @@ public Builder permitEmptyPathComponents(boolean value) {
110115 *
111116 * <p>If you disable this feature, please take into consideration that all paths created from a
112117 * URI will have the leading slash.
118+ *
119+ * @parm value if true, remove the '/' prefix on absolute object names
120+ * @return builder
113121 */
114122 public Builder stripPrefixSlash (boolean value ) {
115123 stripPrefixSlash = value ;
@@ -118,6 +126,9 @@ public Builder stripPrefixSlash(boolean value) {
118126
119127 /**
120128 * Configures if paths with a trailing slash should be treated as fake directories.
129+ *
130+ * @parm value whether paths with a trailing slash should be treated as fake directories.
131+ * @return builder
121132 */
122133 public Builder usePseudoDirectories (boolean value ) {
123134 usePseudoDirectories = value ;
@@ -128,6 +139,9 @@ public Builder usePseudoDirectories(boolean value) {
128139 * Sets the block size in bytes that should be used for each HTTP request to the API.
129140 *
130141 * <p>The default is {@value CloudStorageFileSystem#BLOCK_SIZE_DEFAULT}.
142+ *
143+ * @parm value block size in bytes that should be used for each HTTP request to the API.
144+ * @return builder
131145 */
132146 public Builder blockSize (int value ) {
133147 blockSize = value ;
@@ -136,6 +150,8 @@ public Builder blockSize(int value) {
136150
137151 /**
138152 * Creates new instance without destroying builder.
153+ *
154+ * @return CloudStorageConfiguration with the parameters you asked for.
139155 */
140156 public CloudStorageConfiguration build () {
141157 return new AutoValue_CloudStorageConfiguration (
0 commit comments