You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/spi/v1beta1/ErrorGroupServiceApi.java
+42-55Lines changed: 42 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -42,28 +42,27 @@
42
42
* </pre>
43
43
*
44
44
* <p>Note: close() needs to be called on the errorGroupServiceApi object to clean up resources such
45
-
* as threads. In the example above, try-with-resources is used, which automatically calls
46
-
* close().
45
+
* as threads. In the example above, try-with-resources is used, which automatically calls close().
47
46
*
48
-
* <p>The surface of this class includes several types of Java methods for each of the API's methods:
47
+
* <p>The surface of this class includes several types of Java methods for each of the API's
48
+
* methods:
49
49
*
50
50
* <ol>
51
-
* <li> A "flattened" method. With this type of method, the fields of the request type have been
52
-
* converted into function parameters. It may be the case that not all fields are available
53
-
* as parameters, and not every API method will have a flattened method entry point.
54
-
* <li> A "request object" method. This type of method only takes one parameter, a request
55
-
* object, which must be constructed before the call. Not every API method will have a request
56
-
* object method.
57
-
* <li> A "callable" method. This type of method takes no parameters and returns an immutable
58
-
* ApiCallable object, which can be used to initiate calls to the service.
51
+
* <li> A "flattened" method. With this type of method, the fields of the request type have been
52
+
* converted into function parameters. It may be the case that not all fields are available as
53
+
* parameters, and not every API method will have a flattened method entry point.
54
+
* <li> A "request object" method. This type of method only takes one parameter, a request object,
55
+
* which must be constructed before the call. Not every API method will have a request object
56
+
* method.
57
+
* <li> A "callable" method. This type of method takes no parameters and returns an immutable
58
+
* ApiCallable object, which can be used to initiate calls to the service.
59
59
* </ol>
60
60
*
61
61
* <p>See the individual methods for example code.
62
62
*
63
-
* <p>Many parameters require resource names to be formatted in a particular way. To assist
64
-
* with these names, this class includes a format method for each type of name, and additionally
65
-
* a parse method to extract the individual identifiers contained within names that are
66
-
* returned.
63
+
* <p>Many parameters require resource names to be formatted in a particular way. To assist with
64
+
* these names, this class includes a format method for each type of name, and additionally a parse
65
+
* method to extract the individual identifiers contained within names that are returned.
67
66
*
68
67
* <p>This class can be customized by passing in a custom instance of ErrorGroupServiceSettings to
69
68
* create(). For example:
@@ -90,53 +89,40 @@ public class ErrorGroupServiceApi implements AutoCloseable {
Copy file name to clipboardExpand all lines: google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/spi/v1beta1/ErrorGroupServiceSettings.java
0 commit comments