6565 */
6666@ javax .annotation .Generated ("by GAPIC" )
6767public class SubscriberApi implements AutoCloseable {
68+ // ========
69+ // Members
70+ // ========
71+
72+ private final ManagedChannel channel ;
73+ private final List <AutoCloseable > closeables = new ArrayList <>();
74+
75+ private final ApiCallable <Subscription , Subscription > createSubscriptionCallable ;
76+ private final ApiCallable <GetSubscriptionRequest , Subscription > getSubscriptionCallable ;
77+ private final ApiCallable <ListSubscriptionsRequest , ListSubscriptionsResponse >
78+ listSubscriptionsCallable ;
79+ private final ApiCallable <ListSubscriptionsRequest , Iterable <Subscription >>
80+ listSubscriptionsIterableCallable ;
81+ private final ApiCallable <DeleteSubscriptionRequest , Empty > deleteSubscriptionCallable ;
82+ private final ApiCallable <ModifyAckDeadlineRequest , Empty > modifyAckDeadlineCallable ;
83+ private final ApiCallable <AcknowledgeRequest , Empty > acknowledgeCallable ;
84+ private final ApiCallable <PullRequest , PullResponse > pullCallable ;
85+ private final ApiCallable <ModifyPushConfigRequest , Empty > modifyPushConfigCallable ;
6886
6987 public static class ResourceNames {
70- private ResourceNames () {}
7188
7289 // =======================
7390 // ResourceNames Constants
@@ -93,6 +110,8 @@ private ResourceNames() {}
93110 private static final PathTemplate SUBSCRIPTION_PATH_TEMPLATE =
94111 PathTemplate .create ("projects/{project}/subscriptions/{subscription}" );
95112
113+ private ResourceNames () {}
114+
96115 // ==============================
97116 // Resource Name Helper Functions
98117 // ==============================
@@ -154,25 +173,6 @@ public static final String parseSubscriptionFromSubscriptionPath(String subscrip
154173 }
155174 }
156175
157- // ========
158- // Members
159- // ========
160-
161- private final ManagedChannel channel ;
162- private final List <AutoCloseable > closeables = new ArrayList <>();
163-
164- private final ApiCallable <Subscription , Subscription > createSubscriptionCallable ;
165- private final ApiCallable <GetSubscriptionRequest , Subscription > getSubscriptionCallable ;
166- private final ApiCallable <ListSubscriptionsRequest , ListSubscriptionsResponse >
167- listSubscriptionsCallable ;
168- private final ApiCallable <ListSubscriptionsRequest , Iterable <Subscription >>
169- listSubscriptionsIterableCallable ;
170- private final ApiCallable <DeleteSubscriptionRequest , Empty > deleteSubscriptionCallable ;
171- private final ApiCallable <ModifyAckDeadlineRequest , Empty > modifyAckDeadlineCallable ;
172- private final ApiCallable <AcknowledgeRequest , Empty > acknowledgeCallable ;
173- private final ApiCallable <PullRequest , PullResponse > pullCallable ;
174- private final ApiCallable <ModifyPushConfigRequest , Empty > modifyPushConfigCallable ;
175-
176176 // ===============
177177 // Factory Methods
178178 // ===============
@@ -188,8 +188,9 @@ public static SubscriberApi create() throws IOException {
188188 }
189189
190190 /**
191- * Constructs an instance of SubscriberApi, using the given settings. The channels are created based
192- * on the settings passed in, or defaults for any settings that are not set.
191+ * Constructs an instance of SubscriberApi, using the given settings.
192+ * The channels are created based on the settings passed in, or defaults for any
193+ * settings that are not set.
193194 *
194195 * <!-- manual edit -->
195196 * <!-- end manual edit -->
@@ -199,8 +200,9 @@ public static SubscriberApi create(SubscriberSettings settings) throws IOExcepti
199200 }
200201
201202 /**
202- * Constructs an instance of SubscriberApi, using the given settings. This is protected so that it
203- * easy to make a subclass, but otherwise, the static factory methods should be preferred.
203+ * Constructs an instance of SubscriberApi, using the given settings.
204+ * This is protected so that it easy to make a subclass, but otherwise, the static
205+ * factory methods should be preferred.
204206 *
205207 * <!-- manual edit -->
206208 * <!-- end manual edit -->
0 commit comments