Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,48 @@
* </td>
* </tr>
* <tr>
* <td><p> RepeatDataCustomPath</td>
* <td><p> This method echoes the ComplianceData request. This method exercises sending some parameters as path variables with custom json_name.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li><p> repeatDataCustomPath(CustomBindingRequest request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li><p> repeatDataCustomPathCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td><p> RepeatDataBodyCustomMessage</td>
* <td><p> Testing custom json_name option in custom message bodies</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li><p> repeatDataBodyCustomMessage(CustomBindingRequest request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li><p> repeatDataBodyCustomMessageCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td><p> RepeatDataCustomQuery</td>
* <td><p> Testing custom query parameter mapping with dashes</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
* <li><p> repeatDataCustomQuery(CustomBindingRequest request)
* </ul>
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
* <ul>
* <li><p> repeatDataCustomQueryCallable()
* </ul>
* </td>
* </tr>
* <tr>
* <td><p> ListLocations</td>
* <td><p> Lists information about the supported locations for this service.</td>
* <td>
Expand Down Expand Up @@ -1141,6 +1183,201 @@ public final UnaryCallable<EnumResponse, EnumResponse> verifyEnumCallable() {
return stub.verifyEnumCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* This method echoes the ComplianceData request. This method exercises sending some parameters as
* path variables with custom json_name.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* RepeatResponse response = complianceClient.repeatDataCustomPath(request);
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final RepeatResponse repeatDataCustomPath(CustomBindingRequest request) {
return repeatDataCustomPathCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* This method echoes the ComplianceData request. This method exercises sending some parameters as
* path variables with custom json_name.
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* ApiFuture<RepeatResponse> future =
* complianceClient.repeatDataCustomPathCallable().futureCall(request);
* // Do something.
* RepeatResponse response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<CustomBindingRequest, RepeatResponse> repeatDataCustomPathCallable() {
return stub.repeatDataCustomPathCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Testing custom json_name option in custom message bodies
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* RepeatResponse response = complianceClient.repeatDataBodyCustomMessage(request);
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final RepeatResponse repeatDataBodyCustomMessage(CustomBindingRequest request) {
return repeatDataBodyCustomMessageCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Testing custom json_name option in custom message bodies
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* ApiFuture<RepeatResponse> future =
* complianceClient.repeatDataBodyCustomMessageCallable().futureCall(request);
* // Do something.
* RepeatResponse response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<CustomBindingRequest, RepeatResponse>
repeatDataBodyCustomMessageCallable() {
return stub.repeatDataBodyCustomMessageCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Testing custom query parameter mapping with dashes
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* RepeatResponse response = complianceClient.repeatDataCustomQuery(request);
* }
* }</pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final RepeatResponse repeatDataCustomQuery(CustomBindingRequest request) {
return repeatDataCustomQueryCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Testing custom query parameter mapping with dashes
*
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ComplianceClient complianceClient = ComplianceClient.create()) {
* CustomBindingRequest request =
* CustomBindingRequest.newBuilder()
* .setName("name3373707")
* .setInfo(ComplianceData.newBuilder().build())
* .setServerVerify(true)
* .setCustomKebabName("customKebabName-2062111197")
* .setCustomBodyMessage(ComplianceData.newBuilder().build())
* .build();
* ApiFuture<RepeatResponse> future =
* complianceClient.repeatDataCustomQueryCallable().futureCall(request);
* // Do something.
* RepeatResponse response = future.get();
* }
* }</pre>
*/
public final UnaryCallable<CustomBindingRequest, RepeatResponse> repeatDataCustomQueryCallable() {
return stub.repeatDataCustomQueryCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Lists information about the supported locations for this service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,22 @@ public UnaryCallSettings<EnumResponse, EnumResponse> verifyEnumSettings() {
return ((ComplianceStubSettings) getStubSettings()).verifyEnumSettings();
}

/** Returns the object with the settings used for calls to repeatDataCustomPath. */
public UnaryCallSettings<CustomBindingRequest, RepeatResponse> repeatDataCustomPathSettings() {
return ((ComplianceStubSettings) getStubSettings()).repeatDataCustomPathSettings();
}

/** Returns the object with the settings used for calls to repeatDataBodyCustomMessage. */
public UnaryCallSettings<CustomBindingRequest, RepeatResponse>
repeatDataBodyCustomMessageSettings() {
return ((ComplianceStubSettings) getStubSettings()).repeatDataBodyCustomMessageSettings();
}

/** Returns the object with the settings used for calls to repeatDataCustomQuery. */
public UnaryCallSettings<CustomBindingRequest, RepeatResponse> repeatDataCustomQuerySettings() {
return ((ComplianceStubSettings) getStubSettings()).repeatDataCustomQuerySettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -337,6 +353,24 @@ public UnaryCallSettings.Builder<EnumResponse, EnumResponse> verifyEnumSettings(
return getStubSettingsBuilder().verifyEnumSettings();
}

/** Returns the builder for the settings used for calls to repeatDataCustomPath. */
public UnaryCallSettings.Builder<CustomBindingRequest, RepeatResponse>
repeatDataCustomPathSettings() {
return getStubSettingsBuilder().repeatDataCustomPathSettings();
}

/** Returns the builder for the settings used for calls to repeatDataBodyCustomMessage. */
public UnaryCallSettings.Builder<CustomBindingRequest, RepeatResponse>
repeatDataBodyCustomMessageSettings() {
return getStubSettingsBuilder().repeatDataBodyCustomMessageSettings();
}

/** Returns the builder for the settings used for calls to repeatDataCustomQuery. */
public UnaryCallSettings.Builder<CustomBindingRequest, RepeatResponse>
repeatDataCustomQuerySettings() {
return getStubSettingsBuilder().repeatDataCustomQuerySettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"RepeatDataBody": {
"methods": ["repeatDataBody", "repeatDataBodyCallable"]
},
"RepeatDataBodyCustomMessage": {
"methods": ["repeatDataBodyCustomMessage", "repeatDataBodyCustomMessageCallable"]
},
"RepeatDataBodyInfo": {
"methods": ["repeatDataBodyInfo", "repeatDataBodyInfoCallable"]
},
Expand All @@ -34,6 +37,12 @@
"RepeatDataBodyPut": {
"methods": ["repeatDataBodyPut", "repeatDataBodyPutCallable"]
},
"RepeatDataCustomPath": {
"methods": ["repeatDataCustomPath", "repeatDataCustomPathCallable"]
},
"RepeatDataCustomQuery": {
"methods": ["repeatDataCustomQuery", "repeatDataCustomQueryCallable"]
},
"RepeatDataPathResource": {
"methods": ["repeatDataPathResource", "repeatDataPathResourceCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.showcase.v1beta1.CustomBindingRequest;
import com.google.showcase.v1beta1.EnumRequest;
import com.google.showcase.v1beta1.EnumResponse;
import com.google.showcase.v1beta1.RepeatRequest;
Expand Down Expand Up @@ -87,6 +88,19 @@ public UnaryCallable<EnumResponse, EnumResponse> verifyEnumCallable() {
throw new UnsupportedOperationException("Not implemented: verifyEnumCallable()");
}

public UnaryCallable<CustomBindingRequest, RepeatResponse> repeatDataCustomPathCallable() {
throw new UnsupportedOperationException("Not implemented: repeatDataCustomPathCallable()");
}

public UnaryCallable<CustomBindingRequest, RepeatResponse> repeatDataBodyCustomMessageCallable() {
throw new UnsupportedOperationException(
"Not implemented: repeatDataBodyCustomMessageCallable()");
}

public UnaryCallable<CustomBindingRequest, RepeatResponse> repeatDataCustomQueryCallable() {
throw new UnsupportedOperationException("Not implemented: repeatDataCustomQueryCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
Expand Down
Loading
Loading