Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
/java-talentPublic archive

fix: update gapic-generator-java with mock service generation fixes#794

Merged
meltsufin merged 9 commits intomainfromowl-bot-copy
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
9 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
PrevPrevious commit
NextNext commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
@gcf-owl-bot
gcf-owl-bot[bot] committedJun 23, 2022
commit18fbb0f646b89cd19a925a8f9438db40448f787f
Original file line numberDiff line numberDiff line change
Expand Up@@ -58,13 +58,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand DownExpand Up@@ -743,7 +743,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListCompaniesPagedResponse
extends AbstractPagedListResponse<
ListCompaniesRequest, ListCompaniesResponse, Company, ListCompaniesPage,
ListCompaniesRequest,
ListCompaniesResponse,
Company,
ListCompaniesPage,
ListCompaniesFixedSizeCollection> {

public static ApiFuture<ListCompaniesPagedResponse> createAsync(
Expand DownExpand Up@@ -793,7 +796,10 @@ public ApiFuture<ListCompaniesPage> createPageAsync(

public static class ListCompaniesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListCompaniesRequest, ListCompaniesResponse, Company, ListCompaniesPage,
ListCompaniesRequest,
ListCompaniesResponse,
Company,
ListCompaniesPage,
ListCompaniesFixedSizeCollection> {

private ListCompaniesFixedSizeCollection(List<ListCompaniesPage> pages, int collectionSize) {
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,7 +28,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.talent.v4.stub.CompanyServiceStubSettings;
Expand All@@ -44,9 +43,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -54,13 +54,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,7 +25,6 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.talent.v4.stub.CompletionStubSettings;
Expand All@@ -40,9 +39,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,13 +48,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,7 +25,6 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.talent.v4.stub.EventServiceStubSettings;
Expand All@@ -40,9 +39,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,13 +63,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand DownExpand Up@@ -1067,20 +1067,20 @@ public final UnaryCallable<BatchDeleteJobsRequest, Operation> batchDeleteJobsCal
* <p>Supported operator: =, AND
* <p>The fields eligible for filtering are:
* <ul>
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* specified.
* </ul>
* <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
* error is thrown.
* <p>Sample Query:
* <ul>
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand DownExpand Up@@ -1119,20 +1119,20 @@ public final ListJobsPagedResponse listJobs(TenantName parent, String filter) {
* <p>Supported operator: =, AND
* <p>The fields eligible for filtering are:
* <ul>
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* specified.
* </ul>
* <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
* error is thrown.
* <p>Sample Query:
* <ul>
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,7 +29,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.talent.v4.stub.JobServiceStubSettings;
Expand All@@ -46,9 +45,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -58,13 +58,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand DownExpand Up@@ -735,7 +735,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListTenantsPagedResponse
extends AbstractPagedListResponse<
ListTenantsRequest, ListTenantsResponse, Tenant, ListTenantsPage,
ListTenantsRequest,
ListTenantsResponse,
Tenant,
ListTenantsPage,
ListTenantsFixedSizeCollection> {

public static ApiFuture<ListTenantsPagedResponse> createAsync(
Expand DownExpand Up@@ -782,7 +785,10 @@ public ApiFuture<ListTenantsPage> createPageAsync(

public static class ListTenantsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListTenantsRequest, ListTenantsResponse, Tenant, ListTenantsPage,
ListTenantsRequest,
ListTenantsResponse,
Tenant,
ListTenantsPage,
ListTenantsFixedSizeCollection> {

private ListTenantsFixedSizeCollection(List<ListTenantsPage> pages, int collectionSize) {
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,7 +28,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.talent.v4.stub.TenantServiceStubSettings;
Expand All@@ -44,9 +43,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,9 +67,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,9 +52,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,9 +52,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (jobs.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,7 +37,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,7 +29,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,7 +29,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,7 +48,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,7 +37,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,7 +30,6 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp