diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClient.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClient.java index 83a48469375d..e23ddd0fd05f 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClient.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClient.java @@ -30,6 +30,31 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.devtools.cloudbuild.v2.stub.RepositoryManagerStub; import com.google.cloud.devtools.cloudbuild.v2.stub.RepositoryManagerStubSettings; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.common.util.concurrent.MoreExecutors; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; @@ -39,31 +64,6 @@ import com.google.longrunning.Operation; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.LocationName; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerSettings.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerSettings.java index 257fedb900b8..781d6106c9df 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerSettings.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerSettings.java @@ -34,6 +34,28 @@ import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.devtools.cloudbuild.v2.stub.RepositoryManagerStubSettings; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -41,28 +63,6 @@ import com.google.iam.v1.TestIamPermissionsResponse; import com.google.longrunning.Operation; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import java.io.IOException; import java.util.List; import javax.annotation.Generated; diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/GrpcRepositoryManagerStub.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/GrpcRepositoryManagerStub.java index 72557196b4da..51a9562fb8fa 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/GrpcRepositoryManagerStub.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/GrpcRepositoryManagerStub.java @@ -27,6 +27,28 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.common.collect.ImmutableMap; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; @@ -36,28 +58,6 @@ import com.google.longrunning.Operation; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/HttpJsonRepositoryManagerStub.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/HttpJsonRepositoryManagerStub.java index 97228da14c91..d46bbab5a253 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/HttpJsonRepositoryManagerStub.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/HttpJsonRepositoryManagerStub.java @@ -35,6 +35,28 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -43,28 +65,6 @@ import com.google.longrunning.Operation; import com.google.protobuf.Empty; import com.google.protobuf.TypeRegistry; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; @@ -84,11 +84,11 @@ public class HttpJsonRepositoryManagerStub extends RepositoryManagerStub { private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder() - .add(Repository.getDescriptor()) - .add(OperationMetadata.getDescriptor()) .add(Empty.getDescriptor()) - .add(BatchCreateRepositoriesResponse.getDescriptor()) .add(Connection.getDescriptor()) + .add(BatchCreateRepositoriesResponse.getDescriptor()) + .add(OperationMetadata.getDescriptor()) + .add(Repository.getDescriptor()) .build(); private static final ApiMethodDescriptor diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStub.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStub.java index f4286c7809f2..d6fb928b8a36 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStub.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStub.java @@ -23,6 +23,28 @@ import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -31,28 +53,6 @@ import com.google.longrunning.Operation; import com.google.longrunning.stub.OperationsStub; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStubSettings.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStubSettings.java index 8ff1ec7bc422..b862268e73ba 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStubSettings.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/RepositoryManagerStubSettings.java @@ -49,6 +49,28 @@ import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; @@ -60,28 +82,6 @@ import com.google.iam.v1.TestIamPermissionsResponse; import com.google.longrunning.Operation; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import java.io.IOException; import java.util.List; import javax.annotation.Generated; diff --git a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/MockRepositoryManagerImpl.java b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/MockRepositoryManagerImpl.java index 07d50cb94be1..adad397f6512 100644 --- a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/MockRepositoryManagerImpl.java +++ b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/MockRepositoryManagerImpl.java @@ -17,29 +17,29 @@ package com.google.cloud.devtools.cloudbuild.v2; import com.google.api.core.BetaApi; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryManagerGrpc.RepositoryManagerImplBase; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.longrunning.Operation; import com.google.protobuf.AbstractMessage; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryManagerGrpc.RepositoryManagerImplBase; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import io.grpc.stub.StreamObserver; import java.util.ArrayList; import java.util.LinkedList; diff --git a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientHttpJsonTest.java b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientHttpJsonTest.java index 4628a496fb03..678b2ccce6ef 100644 --- a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientHttpJsonTest.java +++ b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientHttpJsonTest.java @@ -30,6 +30,20 @@ import com.google.api.gax.rpc.StatusCode; import com.google.api.gax.rpc.testing.FakeStatusCode; import com.google.cloud.devtools.cloudbuild.v2.stub.HttpJsonRepositoryManagerStub; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.InstallationState; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; import com.google.common.collect.Lists; import com.google.iam.v1.AuditConfig; import com.google.iam.v1.Binding; @@ -45,20 +59,6 @@ import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.InstallationState; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.LocationName; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; diff --git a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientTest.java b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientTest.java index 4de6789652ff..cd906cc204a4 100644 --- a/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientTest.java +++ b/java-cloudbuild/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v2/RepositoryManagerClientTest.java @@ -28,6 +28,31 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.InvalidArgumentException; import com.google.api.gax.rpc.StatusCode; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.InstallationState; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.common.collect.Lists; import com.google.iam.v1.AuditConfig; import com.google.iam.v1.Binding; @@ -44,31 +69,6 @@ import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.GetConnectionRequest; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.InstallationState; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.LocationName; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; import io.grpc.StatusRuntimeException; import java.io.IOException; import java.util.ArrayList; diff --git a/java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerGrpc.java b/java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerGrpc.java similarity index 73% rename from java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerGrpc.java rename to java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerGrpc.java index fd69605ee053..c11d2a579e84 100644 --- a/java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerGrpc.java +++ b/java-cloudbuild/grpc-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerGrpc.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; @@ -36,19 +36,19 @@ private RepositoryManagerGrpc() {} // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> getCreateConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateConnection", - requestType = google.devtools.cloudbuild.v2.CreateConnectionRequest.class, + requestType = com.google.cloudbuild.v2.CreateConnectionRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> getCreateConnectionMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation> getCreateConnectionMethod; if ((getCreateConnectionMethod = RepositoryManagerGrpc.getCreateConnectionMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -56,7 +56,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getCreateConnectionMethod = getCreateConnectionMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -64,7 +64,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.CreateConnectionRequest + com.google.cloudbuild.v2.CreateConnectionRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -79,22 +79,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetConnectionRequest, - google.devtools.cloudbuild.v2.Connection> + com.google.cloudbuild.v2.GetConnectionRequest, com.google.cloudbuild.v2.Connection> getGetConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetConnection", - requestType = google.devtools.cloudbuild.v2.GetConnectionRequest.class, - responseType = google.devtools.cloudbuild.v2.Connection.class, + requestType = com.google.cloudbuild.v2.GetConnectionRequest.class, + responseType = com.google.cloudbuild.v2.Connection.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetConnectionRequest, - google.devtools.cloudbuild.v2.Connection> + com.google.cloudbuild.v2.GetConnectionRequest, com.google.cloudbuild.v2.Connection> getGetConnectionMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetConnectionRequest, - google.devtools.cloudbuild.v2.Connection> + com.google.cloudbuild.v2.GetConnectionRequest, com.google.cloudbuild.v2.Connection> getGetConnectionMethod; if ((getGetConnectionMethod = RepositoryManagerGrpc.getGetConnectionMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -102,19 +99,18 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getGetConnectionMethod = getGetConnectionMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.GetConnectionRequest - .getDefaultInstance())) + com.google.cloudbuild.v2.GetConnectionRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.Connection.getDefaultInstance())) + com.google.cloudbuild.v2.Connection.getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("GetConnection")) .build(); @@ -125,22 +121,22 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListConnectionsRequest, - google.devtools.cloudbuild.v2.ListConnectionsResponse> + com.google.cloudbuild.v2.ListConnectionsRequest, + com.google.cloudbuild.v2.ListConnectionsResponse> getListConnectionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListConnections", - requestType = google.devtools.cloudbuild.v2.ListConnectionsRequest.class, - responseType = google.devtools.cloudbuild.v2.ListConnectionsResponse.class, + requestType = com.google.cloudbuild.v2.ListConnectionsRequest.class, + responseType = com.google.cloudbuild.v2.ListConnectionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListConnectionsRequest, - google.devtools.cloudbuild.v2.ListConnectionsResponse> + com.google.cloudbuild.v2.ListConnectionsRequest, + com.google.cloudbuild.v2.ListConnectionsResponse> getListConnectionsMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListConnectionsRequest, - google.devtools.cloudbuild.v2.ListConnectionsResponse> + com.google.cloudbuild.v2.ListConnectionsRequest, + com.google.cloudbuild.v2.ListConnectionsResponse> getListConnectionsMethod; if ((getListConnectionsMethod = RepositoryManagerGrpc.getListConnectionsMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -148,19 +144,18 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getListConnectionsMethod = getListConnectionsMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnections")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.ListConnectionsRequest - .getDefaultInstance())) + com.google.cloudbuild.v2.ListConnectionsRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.ListConnectionsResponse + com.google.cloudbuild.v2.ListConnectionsResponse .getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("ListConnections")) @@ -172,19 +167,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> getUpdateConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateConnection", - requestType = google.devtools.cloudbuild.v2.UpdateConnectionRequest.class, + requestType = com.google.cloudbuild.v2.UpdateConnectionRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> getUpdateConnectionMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation> getUpdateConnectionMethod; if ((getUpdateConnectionMethod = RepositoryManagerGrpc.getUpdateConnectionMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -192,7 +187,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getUpdateConnectionMethod = getUpdateConnectionMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -200,7 +195,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.UpdateConnectionRequest + com.google.cloudbuild.v2.UpdateConnectionRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -215,19 +210,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> getDeleteConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteConnection", - requestType = google.devtools.cloudbuild.v2.DeleteConnectionRequest.class, + requestType = com.google.cloudbuild.v2.DeleteConnectionRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> getDeleteConnectionMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation> getDeleteConnectionMethod; if ((getDeleteConnectionMethod = RepositoryManagerGrpc.getDeleteConnectionMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -235,7 +230,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getDeleteConnectionMethod = getDeleteConnectionMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -243,7 +238,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.DeleteConnectionRequest + com.google.cloudbuild.v2.DeleteConnectionRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -258,19 +253,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> getCreateRepositoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = google.devtools.cloudbuild.v2.CreateRepositoryRequest.class, + requestType = com.google.cloudbuild.v2.CreateRepositoryRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> getCreateRepositoryMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation> getCreateRepositoryMethod; if ((getCreateRepositoryMethod = RepositoryManagerGrpc.getCreateRepositoryMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -278,7 +273,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -286,7 +281,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.CreateRepositoryRequest + com.google.cloudbuild.v2.CreateRepositoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -301,21 +296,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest, - com.google.longrunning.Operation> + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest, com.google.longrunning.Operation> getBatchCreateRepositoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCreateRepositories", - requestType = google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.class, + requestType = com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest, - com.google.longrunning.Operation> + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest, com.google.longrunning.Operation> getBatchCreateRepositoriesMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest, com.google.longrunning.Operation> getBatchCreateRepositoriesMethod; if ((getBatchCreateRepositoriesMethod = RepositoryManagerGrpc.getBatchCreateRepositoriesMethod) @@ -327,7 +320,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getBatchCreateRepositoriesMethod = getBatchCreateRepositoriesMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -336,7 +329,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -351,22 +344,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetRepositoryRequest, - google.devtools.cloudbuild.v2.Repository> + com.google.cloudbuild.v2.GetRepositoryRequest, com.google.cloudbuild.v2.Repository> getGetRepositoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = google.devtools.cloudbuild.v2.GetRepositoryRequest.class, - responseType = google.devtools.cloudbuild.v2.Repository.class, + requestType = com.google.cloudbuild.v2.GetRepositoryRequest.class, + responseType = com.google.cloudbuild.v2.Repository.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetRepositoryRequest, - google.devtools.cloudbuild.v2.Repository> + com.google.cloudbuild.v2.GetRepositoryRequest, com.google.cloudbuild.v2.Repository> getGetRepositoryMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.GetRepositoryRequest, - google.devtools.cloudbuild.v2.Repository> + com.google.cloudbuild.v2.GetRepositoryRequest, com.google.cloudbuild.v2.Repository> getGetRepositoryMethod; if ((getGetRepositoryMethod = RepositoryManagerGrpc.getGetRepositoryMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -374,19 +364,18 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getGetRepositoryMethod = getGetRepositoryMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.GetRepositoryRequest - .getDefaultInstance())) + com.google.cloudbuild.v2.GetRepositoryRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.Repository.getDefaultInstance())) + com.google.cloudbuild.v2.Repository.getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("GetRepository")) .build(); @@ -397,22 +386,22 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListRepositoriesRequest, - google.devtools.cloudbuild.v2.ListRepositoriesResponse> + com.google.cloudbuild.v2.ListRepositoriesRequest, + com.google.cloudbuild.v2.ListRepositoriesResponse> getListRepositoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = google.devtools.cloudbuild.v2.ListRepositoriesRequest.class, - responseType = google.devtools.cloudbuild.v2.ListRepositoriesResponse.class, + requestType = com.google.cloudbuild.v2.ListRepositoriesRequest.class, + responseType = com.google.cloudbuild.v2.ListRepositoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListRepositoriesRequest, - google.devtools.cloudbuild.v2.ListRepositoriesResponse> + com.google.cloudbuild.v2.ListRepositoriesRequest, + com.google.cloudbuild.v2.ListRepositoriesResponse> getListRepositoriesMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.ListRepositoriesRequest, - google.devtools.cloudbuild.v2.ListRepositoriesResponse> + com.google.cloudbuild.v2.ListRepositoriesRequest, + com.google.cloudbuild.v2.ListRepositoriesResponse> getListRepositoriesMethod; if ((getListRepositoriesMethod = RepositoryManagerGrpc.getListRepositoriesMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -420,19 +409,19 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getListRepositoriesMethod = getListRepositoriesMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.ListRepositoriesRequest + com.google.cloudbuild.v2.ListRepositoriesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.ListRepositoriesResponse + com.google.cloudbuild.v2.ListRepositoriesResponse .getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("ListRepositories")) @@ -444,19 +433,19 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> getDeleteRepositoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = google.devtools.cloudbuild.v2.DeleteRepositoryRequest.class, + requestType = com.google.cloudbuild.v2.DeleteRepositoryRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> getDeleteRepositoryMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> + com.google.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation> getDeleteRepositoryMethod; if ((getDeleteRepositoryMethod = RepositoryManagerGrpc.getDeleteRepositoryMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -464,7 +453,7 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = io.grpc.MethodDescriptor - . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) @@ -472,7 +461,7 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest + com.google.cloudbuild.v2.DeleteRepositoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -487,22 +476,22 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse> + com.google.cloudbuild.v2.FetchReadWriteTokenRequest, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse> getFetchReadWriteTokenMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "FetchReadWriteToken", - requestType = google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.class, - responseType = google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.class, + requestType = com.google.cloudbuild.v2.FetchReadWriteTokenRequest.class, + responseType = com.google.cloudbuild.v2.FetchReadWriteTokenResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse> + com.google.cloudbuild.v2.FetchReadWriteTokenRequest, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse> getFetchReadWriteTokenMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse> + com.google.cloudbuild.v2.FetchReadWriteTokenRequest, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse> getFetchReadWriteTokenMethod; if ((getFetchReadWriteTokenMethod = RepositoryManagerGrpc.getFetchReadWriteTokenMethod) == null) { @@ -512,8 +501,8 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getFetchReadWriteTokenMethod = getFetchReadWriteTokenMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( @@ -521,11 +510,11 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest + com.google.cloudbuild.v2.FetchReadWriteTokenRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse + com.google.cloudbuild.v2.FetchReadWriteTokenResponse .getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("FetchReadWriteToken")) @@ -537,22 +526,22 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadTokenRequest, - google.devtools.cloudbuild.v2.FetchReadTokenResponse> + com.google.cloudbuild.v2.FetchReadTokenRequest, + com.google.cloudbuild.v2.FetchReadTokenResponse> getFetchReadTokenMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "FetchReadToken", - requestType = google.devtools.cloudbuild.v2.FetchReadTokenRequest.class, - responseType = google.devtools.cloudbuild.v2.FetchReadTokenResponse.class, + requestType = com.google.cloudbuild.v2.FetchReadTokenRequest.class, + responseType = com.google.cloudbuild.v2.FetchReadTokenResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadTokenRequest, - google.devtools.cloudbuild.v2.FetchReadTokenResponse> + com.google.cloudbuild.v2.FetchReadTokenRequest, + com.google.cloudbuild.v2.FetchReadTokenResponse> getFetchReadTokenMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchReadTokenRequest, - google.devtools.cloudbuild.v2.FetchReadTokenResponse> + com.google.cloudbuild.v2.FetchReadTokenRequest, + com.google.cloudbuild.v2.FetchReadTokenResponse> getFetchReadTokenMethod; if ((getFetchReadTokenMethod = RepositoryManagerGrpc.getFetchReadTokenMethod) == null) { synchronized (RepositoryManagerGrpc.class) { @@ -560,20 +549,18 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getFetchReadTokenMethod = getFetchReadTokenMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchReadToken")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchReadTokenRequest - .getDefaultInstance())) + com.google.cloudbuild.v2.FetchReadTokenRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchReadTokenResponse - .getDefaultInstance())) + com.google.cloudbuild.v2.FetchReadTokenResponse.getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier("FetchReadToken")) .build(); @@ -584,22 +571,22 @@ private RepositoryManagerGrpc() {} } private static volatile io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse> + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse> getFetchLinkableRepositoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "FetchLinkableRepositories", - requestType = google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, - responseType = google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, + requestType = com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, + responseType = com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse> + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse> getFetchLinkableRepositoriesMethod() { io.grpc.MethodDescriptor< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse> + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse> getFetchLinkableRepositoriesMethod; if ((getFetchLinkableRepositoriesMethod = RepositoryManagerGrpc.getFetchLinkableRepositoriesMethod) @@ -611,8 +598,8 @@ private RepositoryManagerGrpc() {} RepositoryManagerGrpc.getFetchLinkableRepositoriesMethod = getFetchLinkableRepositoriesMethod = io.grpc.MethodDescriptor - . + . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( @@ -620,11 +607,11 @@ private RepositoryManagerGrpc() {} .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse .getDefaultInstance())) .setSchemaDescriptor( new RepositoryManagerMethodDescriptorSupplier( @@ -694,7 +681,7 @@ public abstract static class RepositoryManagerImplBase implements io.grpc.Bindab * */ public void createConnection( - google.devtools.cloudbuild.v2.CreateConnectionRequest request, + com.google.cloudbuild.v2.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateConnectionMethod(), responseObserver); @@ -708,8 +695,8 @@ public void createConnection( * */ public void getConnection( - google.devtools.cloudbuild.v2.GetConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { + com.google.cloudbuild.v2.GetConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetConnectionMethod(), responseObserver); } @@ -722,8 +709,8 @@ public void getConnection( * */ public void listConnections( - google.devtools.cloudbuild.v2.ListConnectionsRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.ListConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListConnectionsMethod(), responseObserver); @@ -737,7 +724,7 @@ public void listConnections( * */ public void updateConnection( - google.devtools.cloudbuild.v2.UpdateConnectionRequest request, + com.google.cloudbuild.v2.UpdateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateConnectionMethod(), responseObserver); @@ -751,7 +738,7 @@ public void updateConnection( * */ public void deleteConnection( - google.devtools.cloudbuild.v2.DeleteConnectionRequest request, + com.google.cloudbuild.v2.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteConnectionMethod(), responseObserver); @@ -765,7 +752,7 @@ public void deleteConnection( * */ public void createRepository( - google.devtools.cloudbuild.v2.CreateRepositoryRequest request, + com.google.cloudbuild.v2.CreateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateRepositoryMethod(), responseObserver); @@ -779,7 +766,7 @@ public void createRepository( * */ public void batchCreateRepositories( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest request, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getBatchCreateRepositoriesMethod(), responseObserver); @@ -793,8 +780,8 @@ public void batchCreateRepositories( * */ public void getRepository( - google.devtools.cloudbuild.v2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + com.google.cloudbuild.v2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetRepositoryMethod(), responseObserver); } @@ -807,8 +794,8 @@ public void getRepository( * */ public void listRepositories( - google.devtools.cloudbuild.v2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListRepositoriesMethod(), responseObserver); @@ -822,7 +809,7 @@ public void listRepositories( * */ public void deleteRepository( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest request, + com.google.cloudbuild.v2.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteRepositoryMethod(), responseObserver); @@ -836,8 +823,8 @@ public void deleteRepository( * */ public void fetchReadWriteToken( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchReadWriteTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getFetchReadWriteTokenMethod(), responseObserver); @@ -851,8 +838,8 @@ public void fetchReadWriteToken( * */ public void fetchReadToken( - google.devtools.cloudbuild.v2.FetchReadTokenRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchReadTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getFetchReadTokenMethod(), responseObserver); @@ -867,8 +854,8 @@ public void fetchReadToken( * */ public void fetchLinkableRepositories( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getFetchLinkableRepositoriesMethod(), responseObserver); @@ -881,84 +868,84 @@ public final io.grpc.ServerServiceDefinition bindService() { getCreateConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.CreateConnectionRequest, + com.google.cloudbuild.v2.CreateConnectionRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_CONNECTION))) .addMethod( getGetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.GetConnectionRequest, - google.devtools.cloudbuild.v2.Connection>(this, METHODID_GET_CONNECTION))) + com.google.cloudbuild.v2.GetConnectionRequest, + com.google.cloudbuild.v2.Connection>(this, METHODID_GET_CONNECTION))) .addMethod( getListConnectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.ListConnectionsRequest, - google.devtools.cloudbuild.v2.ListConnectionsResponse>( + com.google.cloudbuild.v2.ListConnectionsRequest, + com.google.cloudbuild.v2.ListConnectionsResponse>( this, METHODID_LIST_CONNECTIONS))) .addMethod( getUpdateConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.UpdateConnectionRequest, + com.google.cloudbuild.v2.UpdateConnectionRequest, com.google.longrunning.Operation>(this, METHODID_UPDATE_CONNECTION))) .addMethod( getDeleteConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.DeleteConnectionRequest, + com.google.cloudbuild.v2.DeleteConnectionRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_CONNECTION))) .addMethod( getCreateRepositoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, + com.google.cloudbuild.v2.CreateRepositoryRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) .addMethod( getBatchCreateRepositoriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest, com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_REPOSITORIES))) .addMethod( getGetRepositoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.GetRepositoryRequest, - google.devtools.cloudbuild.v2.Repository>(this, METHODID_GET_REPOSITORY))) + com.google.cloudbuild.v2.GetRepositoryRequest, + com.google.cloudbuild.v2.Repository>(this, METHODID_GET_REPOSITORY))) .addMethod( getListRepositoriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.ListRepositoriesRequest, - google.devtools.cloudbuild.v2.ListRepositoriesResponse>( + com.google.cloudbuild.v2.ListRepositoriesRequest, + com.google.cloudbuild.v2.ListRepositoriesResponse>( this, METHODID_LIST_REPOSITORIES))) .addMethod( getDeleteRepositoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.DeleteRepositoryRequest, + com.google.cloudbuild.v2.DeleteRepositoryRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) .addMethod( getFetchReadWriteTokenMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse>( + com.google.cloudbuild.v2.FetchReadWriteTokenRequest, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse>( this, METHODID_FETCH_READ_WRITE_TOKEN))) .addMethod( getFetchReadTokenMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.FetchReadTokenRequest, - google.devtools.cloudbuild.v2.FetchReadTokenResponse>( + com.google.cloudbuild.v2.FetchReadTokenRequest, + com.google.cloudbuild.v2.FetchReadTokenResponse>( this, METHODID_FETCH_READ_TOKEN))) .addMethod( getFetchLinkableRepositoriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse>( + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse>( this, METHODID_FETCH_LINKABLE_REPOSITORIES))) .build(); } @@ -991,7 +978,7 @@ protected RepositoryManagerStub build( * */ public void createConnection( - google.devtools.cloudbuild.v2.CreateConnectionRequest request, + com.google.cloudbuild.v2.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), @@ -1007,8 +994,8 @@ public void createConnection( * */ public void getConnection( - google.devtools.cloudbuild.v2.GetConnectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { + com.google.cloudbuild.v2.GetConnectionRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request, @@ -1023,8 +1010,8 @@ public void getConnection( * */ public void listConnections( - google.devtools.cloudbuild.v2.ListConnectionsRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.ListConnectionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), @@ -1040,7 +1027,7 @@ public void listConnections( * */ public void updateConnection( - google.devtools.cloudbuild.v2.UpdateConnectionRequest request, + com.google.cloudbuild.v2.UpdateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), @@ -1056,7 +1043,7 @@ public void updateConnection( * */ public void deleteConnection( - google.devtools.cloudbuild.v2.DeleteConnectionRequest request, + com.google.cloudbuild.v2.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), @@ -1072,7 +1059,7 @@ public void deleteConnection( * */ public void createRepository( - google.devtools.cloudbuild.v2.CreateRepositoryRequest request, + com.google.cloudbuild.v2.CreateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), @@ -1088,7 +1075,7 @@ public void createRepository( * */ public void batchCreateRepositories( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest request, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getBatchCreateRepositoriesMethod(), getCallOptions()), @@ -1104,8 +1091,8 @@ public void batchCreateRepositories( * */ public void getRepository( - google.devtools.cloudbuild.v2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + com.google.cloudbuild.v2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, @@ -1120,8 +1107,8 @@ public void getRepository( * */ public void listRepositories( - google.devtools.cloudbuild.v2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), @@ -1137,7 +1124,7 @@ public void listRepositories( * */ public void deleteRepository( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest request, + com.google.cloudbuild.v2.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), @@ -1153,8 +1140,8 @@ public void deleteRepository( * */ public void fetchReadWriteToken( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchReadWriteTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFetchReadWriteTokenMethod(), getCallOptions()), @@ -1170,8 +1157,8 @@ public void fetchReadWriteToken( * */ public void fetchReadToken( - google.devtools.cloudbuild.v2.FetchReadTokenRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchReadTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFetchReadTokenMethod(), getCallOptions()), @@ -1188,8 +1175,8 @@ public void fetchReadToken( * */ public void fetchLinkableRepositories( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest request, - io.grpc.stub.StreamObserver + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFetchLinkableRepositoriesMethod(), getCallOptions()), @@ -1226,7 +1213,7 @@ protected RepositoryManagerBlockingStub build( * */ public com.google.longrunning.Operation createConnection( - google.devtools.cloudbuild.v2.CreateConnectionRequest request) { + com.google.cloudbuild.v2.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectionMethod(), getCallOptions(), request); } @@ -1238,8 +1225,8 @@ public com.google.longrunning.Operation createConnection( * Gets details of a single connection. * */ - public google.devtools.cloudbuild.v2.Connection getConnection( - google.devtools.cloudbuild.v2.GetConnectionRequest request) { + public com.google.cloudbuild.v2.Connection getConnection( + com.google.cloudbuild.v2.GetConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectionMethod(), getCallOptions(), request); } @@ -1251,8 +1238,8 @@ public google.devtools.cloudbuild.v2.Connection getConnection( * Lists Connections in a given project and location. * */ - public google.devtools.cloudbuild.v2.ListConnectionsResponse listConnections( - google.devtools.cloudbuild.v2.ListConnectionsRequest request) { + public com.google.cloudbuild.v2.ListConnectionsResponse listConnections( + com.google.cloudbuild.v2.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectionsMethod(), getCallOptions(), request); } @@ -1265,7 +1252,7 @@ public google.devtools.cloudbuild.v2.ListConnectionsResponse listConnections( * */ public com.google.longrunning.Operation updateConnection( - google.devtools.cloudbuild.v2.UpdateConnectionRequest request) { + com.google.cloudbuild.v2.UpdateConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionMethod(), getCallOptions(), request); } @@ -1278,7 +1265,7 @@ public com.google.longrunning.Operation updateConnection( * */ public com.google.longrunning.Operation deleteConnection( - google.devtools.cloudbuild.v2.DeleteConnectionRequest request) { + com.google.cloudbuild.v2.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectionMethod(), getCallOptions(), request); } @@ -1291,7 +1278,7 @@ public com.google.longrunning.Operation deleteConnection( * */ public com.google.longrunning.Operation createRepository( - google.devtools.cloudbuild.v2.CreateRepositoryRequest request) { + com.google.cloudbuild.v2.CreateRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); } @@ -1304,7 +1291,7 @@ public com.google.longrunning.Operation createRepository( * */ public com.google.longrunning.Operation batchCreateRepositories( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest request) { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateRepositoriesMethod(), getCallOptions(), request); } @@ -1316,8 +1303,8 @@ public com.google.longrunning.Operation batchCreateRepositories( * Gets details of a single repository. * */ - public google.devtools.cloudbuild.v2.Repository getRepository( - google.devtools.cloudbuild.v2.GetRepositoryRequest request) { + public com.google.cloudbuild.v2.Repository getRepository( + com.google.cloudbuild.v2.GetRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetRepositoryMethod(), getCallOptions(), request); } @@ -1329,8 +1316,8 @@ public google.devtools.cloudbuild.v2.Repository getRepository( * Lists Repositories in a given connection. * */ - public google.devtools.cloudbuild.v2.ListRepositoriesResponse listRepositories( - google.devtools.cloudbuild.v2.ListRepositoriesRequest request) { + public com.google.cloudbuild.v2.ListRepositoriesResponse listRepositories( + com.google.cloudbuild.v2.ListRepositoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListRepositoriesMethod(), getCallOptions(), request); } @@ -1343,7 +1330,7 @@ public google.devtools.cloudbuild.v2.ListRepositoriesResponse listRepositories( * */ public com.google.longrunning.Operation deleteRepository( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest request) { + com.google.cloudbuild.v2.DeleteRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); } @@ -1355,8 +1342,8 @@ public com.google.longrunning.Operation deleteRepository( * Fetches read/write token of a given repository. * */ - public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse fetchReadWriteToken( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest request) { + public com.google.cloudbuild.v2.FetchReadWriteTokenResponse fetchReadWriteToken( + com.google.cloudbuild.v2.FetchReadWriteTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFetchReadWriteTokenMethod(), getCallOptions(), request); } @@ -1368,8 +1355,8 @@ public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse fetchReadWriteT * Fetches read token of a given repository. * */ - public google.devtools.cloudbuild.v2.FetchReadTokenResponse fetchReadToken( - google.devtools.cloudbuild.v2.FetchReadTokenRequest request) { + public com.google.cloudbuild.v2.FetchReadTokenResponse fetchReadToken( + com.google.cloudbuild.v2.FetchReadTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFetchReadTokenMethod(), getCallOptions(), request); } @@ -1382,9 +1369,8 @@ public google.devtools.cloudbuild.v2.FetchReadTokenResponse fetchReadToken( * accessible and could be added to the connection. * */ - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse - fetchLinkableRepositories( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest request) { + public com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse fetchLinkableRepositories( + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFetchLinkableRepositoriesMethod(), getCallOptions(), request); } @@ -1417,7 +1403,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - createConnection(google.devtools.cloudbuild.v2.CreateConnectionRequest request) { + createConnection(com.google.cloudbuild.v2.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request); } @@ -1429,9 +1415,8 @@ protected RepositoryManagerFutureStub build( * Gets details of a single connection. * */ - public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.Connection> - getConnection(google.devtools.cloudbuild.v2.GetConnectionRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getConnection(com.google.cloudbuild.v2.GetConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request); } @@ -1444,8 +1429,8 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.ListConnectionsResponse> - listConnections(google.devtools.cloudbuild.v2.ListConnectionsRequest request) { + com.google.cloudbuild.v2.ListConnectionsResponse> + listConnections(com.google.cloudbuild.v2.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request); } @@ -1458,7 +1443,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - updateConnection(google.devtools.cloudbuild.v2.UpdateConnectionRequest request) { + updateConnection(com.google.cloudbuild.v2.UpdateConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request); } @@ -1471,7 +1456,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - deleteConnection(google.devtools.cloudbuild.v2.DeleteConnectionRequest request) { + deleteConnection(com.google.cloudbuild.v2.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request); } @@ -1484,7 +1469,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - createRepository(google.devtools.cloudbuild.v2.CreateRepositoryRequest request) { + createRepository(com.google.cloudbuild.v2.CreateRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); } @@ -1497,8 +1482,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - batchCreateRepositories( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest request) { + batchCreateRepositories(com.google.cloudbuild.v2.BatchCreateRepositoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateRepositoriesMethod(), getCallOptions()), request); } @@ -1510,9 +1494,8 @@ protected RepositoryManagerFutureStub build( * Gets details of a single repository. * */ - public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.Repository> - getRepository(google.devtools.cloudbuild.v2.GetRepositoryRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getRepository(com.google.cloudbuild.v2.GetRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); } @@ -1525,8 +1508,8 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.ListRepositoriesResponse> - listRepositories(google.devtools.cloudbuild.v2.ListRepositoriesRequest request) { + com.google.cloudbuild.v2.ListRepositoriesResponse> + listRepositories(com.google.cloudbuild.v2.ListRepositoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); } @@ -1539,7 +1522,7 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture - deleteRepository(google.devtools.cloudbuild.v2.DeleteRepositoryRequest request) { + deleteRepository(com.google.cloudbuild.v2.DeleteRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); } @@ -1552,8 +1535,8 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse> - fetchReadWriteToken(google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest request) { + com.google.cloudbuild.v2.FetchReadWriteTokenResponse> + fetchReadWriteToken(com.google.cloudbuild.v2.FetchReadWriteTokenRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFetchReadWriteTokenMethod(), getCallOptions()), request); } @@ -1566,8 +1549,8 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.FetchReadTokenResponse> - fetchReadToken(google.devtools.cloudbuild.v2.FetchReadTokenRequest request) { + com.google.cloudbuild.v2.FetchReadTokenResponse> + fetchReadToken(com.google.cloudbuild.v2.FetchReadTokenRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFetchReadTokenMethod(), getCallOptions()), request); } @@ -1581,9 +1564,9 @@ protected RepositoryManagerFutureStub build( * */ public com.google.common.util.concurrent.ListenableFuture< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse> + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse> fetchLinkableRepositories( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest request) { + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFetchLinkableRepositoriesMethod(), getCallOptions()), request); } @@ -1622,76 +1605,73 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv switch (methodId) { case METHODID_CREATE_CONNECTION: serviceImpl.createConnection( - (google.devtools.cloudbuild.v2.CreateConnectionRequest) request, + (com.google.cloudbuild.v2.CreateConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CONNECTION: serviceImpl.getConnection( - (google.devtools.cloudbuild.v2.GetConnectionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + (com.google.cloudbuild.v2.GetConnectionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CONNECTIONS: serviceImpl.listConnections( - (google.devtools.cloudbuild.v2.ListConnectionsRequest) request, - (io.grpc.stub.StreamObserver) + (com.google.cloudbuild.v2.ListConnectionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CONNECTION: serviceImpl.updateConnection( - (google.devtools.cloudbuild.v2.UpdateConnectionRequest) request, + (com.google.cloudbuild.v2.UpdateConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTION: serviceImpl.deleteConnection( - (google.devtools.cloudbuild.v2.DeleteConnectionRequest) request, + (com.google.cloudbuild.v2.DeleteConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_REPOSITORY: serviceImpl.createRepository( - (google.devtools.cloudbuild.v2.CreateRepositoryRequest) request, + (com.google.cloudbuild.v2.CreateRepositoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BATCH_CREATE_REPOSITORIES: serviceImpl.batchCreateRepositories( - (google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) request, + (com.google.cloudbuild.v2.BatchCreateRepositoriesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_REPOSITORY: serviceImpl.getRepository( - (google.devtools.cloudbuild.v2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + (com.google.cloudbuild.v2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_REPOSITORIES: serviceImpl.listRepositories( - (google.devtools.cloudbuild.v2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) + (com.google.cloudbuild.v2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_REPOSITORY: serviceImpl.deleteRepository( - (google.devtools.cloudbuild.v2.DeleteRepositoryRequest) request, + (com.google.cloudbuild.v2.DeleteRepositoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FETCH_READ_WRITE_TOKEN: serviceImpl.fetchReadWriteToken( - (google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) request, - (io.grpc.stub.StreamObserver< - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse>) + (com.google.cloudbuild.v2.FetchReadWriteTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FETCH_READ_TOKEN: serviceImpl.fetchReadToken( - (google.devtools.cloudbuild.v2.FetchReadTokenRequest) request, - (io.grpc.stub.StreamObserver) + (com.google.cloudbuild.v2.FetchReadTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FETCH_LINKABLE_REPOSITORIES: serviceImpl.fetchLinkableRepositories( - (google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) request, + (com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest) request, (io.grpc.stub.StreamObserver< - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse>) + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse>) responseObserver); break; default: @@ -1717,7 +1697,7 @@ private abstract static class RepositoryManagerBaseDescriptorSupplier @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto.getDescriptor(); + return com.google.cloudbuild.v2.RepositoryManagerProto.getDescriptor(); } @java.lang.Override diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequest.java similarity index 82% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequest.java index 34081ab691f0..09ac60a2689d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,18 +55,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.class, - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.class, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -133,7 +133,7 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private java.util.List requests_; + private java.util.List requests_; /** * * @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getParentBytes() { * */ @java.lang.Override - public java.util.List getRequestsList() { + public java.util.List getRequestsList() { return requests_; } /** @@ -161,7 +161,7 @@ public java.util.List get * */ @java.lang.Override - public java.util.List + public java.util.List getRequestsOrBuilderList() { return requests_; } @@ -192,7 +192,7 @@ public int getRequestsCount() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequest getRequests(int index) { + public com.google.cloudbuild.v2.CreateRepositoryRequest getRequests(int index) { return requests_.get(index); } /** @@ -207,8 +207,7 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest getRequests(int ind * */ @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder(int index) { return requests_.get(index); } @@ -257,11 +256,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.BatchCreateRepositoriesRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest other = - (google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) obj; + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest other = + (com.google.cloudbuild.v2.BatchCreateRepositoriesRequest) obj; if (!getParent().equals(other.getParent())) return false; if (!getRequestsList().equals(other.getRequestsList())) return false; @@ -287,71 +286,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -369,7 +368,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest prototype) { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -395,23 +394,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequestOrBuilder { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.class, - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.class, + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -435,19 +434,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest - getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.BatchCreateRepositoriesRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest build() { - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest result = buildPartial(); + public com.google.cloudbuild.v2.BatchCreateRepositoriesRequest build() { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -455,9 +453,9 @@ public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest buildPartial() { - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest result = - new google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest(this); + public com.google.cloudbuild.v2.BatchCreateRepositoriesRequest buildPartial() { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest result = + new com.google.cloudbuild.v2.BatchCreateRepositoriesRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); @@ -467,7 +465,7 @@ public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest buildPartial } private void buildPartialRepeatedFields( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest result) { + com.google.cloudbuild.v2.BatchCreateRepositoriesRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -479,8 +477,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.BatchCreateRepositoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -522,17 +519,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) other); + if (other instanceof com.google.cloudbuild.v2.BatchCreateRepositoriesRequest) { + return mergeFrom((com.google.cloudbuild.v2.BatchCreateRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest other) { - if (other - == google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.BatchCreateRepositoriesRequest other) { + if (other == com.google.cloudbuild.v2.BatchCreateRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; @@ -600,9 +596,9 @@ public Builder mergeFrom( } // case 10 case 18: { - google.devtools.cloudbuild.v2.CreateRepositoryRequest m = + com.google.cloudbuild.v2.CreateRepositoryRequest m = input.readMessage( - google.devtools.cloudbuild.v2.CreateRepositoryRequest.parser(), + com.google.cloudbuild.v2.CreateRepositoryRequest.parser(), extensionRegistry); if (requestsBuilder_ == null) { ensureRequestsIsMutable(); @@ -762,22 +758,21 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List requests_ = + private java.util.List requests_ = java.util.Collections.emptyList(); private void ensureRequestsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { requests_ = - new java.util.ArrayList( - requests_); + new java.util.ArrayList(requests_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder, - google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder> + com.google.cloudbuild.v2.CreateRepositoryRequest, + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder, + com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder> requestsBuilder_; /** @@ -791,7 +786,7 @@ private void ensureRequestsIsMutable() { * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public java.util.List getRequestsList() { + public java.util.List getRequestsList() { if (requestsBuilder_ == null) { return java.util.Collections.unmodifiableList(requests_); } else { @@ -827,7 +822,7 @@ public int getRequestsCount() { * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.CreateRepositoryRequest getRequests(int index) { + public com.google.cloudbuild.v2.CreateRepositoryRequest getRequests(int index) { if (requestsBuilder_ == null) { return requests_.get(index); } else { @@ -845,8 +840,7 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest getRequests(int ind * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setRequests( - int index, google.devtools.cloudbuild.v2.CreateRepositoryRequest value) { + public Builder setRequests(int index, com.google.cloudbuild.v2.CreateRepositoryRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -871,7 +865,7 @@ public Builder setRequests( * */ public Builder setRequests( - int index, google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { + int index, com.google.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -892,7 +886,7 @@ public Builder setRequests( * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder addRequests(google.devtools.cloudbuild.v2.CreateRepositoryRequest value) { + public Builder addRequests(com.google.cloudbuild.v2.CreateRepositoryRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -916,8 +910,7 @@ public Builder addRequests(google.devtools.cloudbuild.v2.CreateRepositoryRequest * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder addRequests( - int index, google.devtools.cloudbuild.v2.CreateRepositoryRequest value) { + public Builder addRequests(int index, com.google.cloudbuild.v2.CreateRepositoryRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -942,7 +935,7 @@ public Builder addRequests( * */ public Builder addRequests( - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(builderForValue.build()); @@ -964,7 +957,7 @@ public Builder addRequests( * */ public Builder addRequests( - int index, google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { + int index, com.google.cloudbuild.v2.CreateRepositoryRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -986,8 +979,7 @@ public Builder addRequests( * */ public Builder addAllRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requests_); @@ -1050,8 +1042,7 @@ public Builder removeRequests(int index) { * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder getRequestsBuilder( - int index) { + public com.google.cloudbuild.v2.CreateRepositoryRequest.Builder getRequestsBuilder(int index) { return getRequestsFieldBuilder().getBuilder(index); } /** @@ -1065,7 +1056,7 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder getRequests * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder( + public com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder( int index) { if (requestsBuilder_ == null) { return requests_.get(index); @@ -1084,7 +1075,7 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequest * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public java.util.List + public java.util.List getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); @@ -1103,9 +1094,9 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequest * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder addRequestsBuilder() { + public com.google.cloudbuild.v2.CreateRepositoryRequest.Builder addRequestsBuilder() { return getRequestsFieldBuilder() - .addBuilder(google.devtools.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()); + .addBuilder(com.google.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()); } /** * @@ -1118,11 +1109,9 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder addRequests * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder addRequestsBuilder( - int index) { + public com.google.cloudbuild.v2.CreateRepositoryRequest.Builder addRequestsBuilder(int index) { return getRequestsFieldBuilder() - .addBuilder( - index, google.devtools.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()); + .addBuilder(index, com.google.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()); } /** * @@ -1135,22 +1124,22 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder addRequests * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public java.util.List + public java.util.List getRequestsBuilderList() { return getRequestsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder, - google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder> + com.google.cloudbuild.v2.CreateRepositoryRequest, + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder, + com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.CreateRepositoryRequest, - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder, - google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder>( + com.google.cloudbuild.v2.CreateRepositoryRequest, + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder, + com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder>( requests_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); requests_ = null; } @@ -1172,14 +1161,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest) - private static final google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest - DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.BatchCreateRepositoriesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.BatchCreateRepositoriesRequest(); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.BatchCreateRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1215,7 +1203,7 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.BatchCreateRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java similarity index 89% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java index 0988d1af54f3..513b339f2d33 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface BatchCreateRepositoriesRequestOrBuilder extends @@ -69,7 +69,7 @@ public interface BatchCreateRepositoriesRequestOrBuilder * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - java.util.List getRequestsList(); + java.util.List getRequestsList(); /** * * @@ -81,7 +81,7 @@ public interface BatchCreateRepositoriesRequestOrBuilder * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - google.devtools.cloudbuild.v2.CreateRepositoryRequest getRequests(int index); + com.google.cloudbuild.v2.CreateRepositoryRequest getRequests(int index); /** * * @@ -105,7 +105,7 @@ public interface BatchCreateRepositoriesRequestOrBuilder * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** * @@ -118,5 +118,5 @@ public interface BatchCreateRepositoriesRequestOrBuilder * repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder(int index); + com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder getRequestsOrBuilder(int index); } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponse.java similarity index 78% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponse.java index 4477c8f06af6..8d810dd0a265 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,24 +54,24 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.class, - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.class, + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List repositories_; + private java.util.List repositories_; /** * * @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** @@ -95,7 +95,7 @@ public java.util.List getRepositoriesL * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } @@ -122,7 +122,7 @@ public int getRepositoriesCount() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { return repositories_.get(index); } /** @@ -135,7 +135,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { return repositories_.get(index); } @@ -178,11 +178,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.BatchCreateRepositoriesResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse other = - (google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse) obj; + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse other = + (com.google.cloudbuild.v2.BatchCreateRepositoriesResponse) obj; if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -205,71 +205,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom(byte[] data) + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -287,7 +287,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse prototype) { + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -313,23 +313,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse) - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponseOrBuilder { + com.google.cloudbuild.v2.BatchCreateRepositoriesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.class, - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.class, + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -352,19 +352,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_BatchCreateRepositoriesResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse - getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.BatchCreateRepositoriesResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse build() { - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse result = buildPartial(); + public com.google.cloudbuild.v2.BatchCreateRepositoriesResponse build() { + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -372,9 +371,9 @@ public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse buildPartial() { - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse result = - new google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse(this); + public com.google.cloudbuild.v2.BatchCreateRepositoriesResponse buildPartial() { + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse result = + new com.google.cloudbuild.v2.BatchCreateRepositoriesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); @@ -384,7 +383,7 @@ public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse buildPartia } private void buildPartialRepeatedFields( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse result) { + com.google.cloudbuild.v2.BatchCreateRepositoriesResponse result) { if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -396,8 +395,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.BatchCreateRepositoriesResponse result) { int from_bitField0_ = bitField0_; } @@ -436,17 +434,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse) other); + if (other instanceof com.google.cloudbuild.v2.BatchCreateRepositoriesResponse) { + return mergeFrom((com.google.cloudbuild.v2.BatchCreateRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse other) { - if (other - == google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.BatchCreateRepositoriesResponse other) { + if (other == com.google.cloudbuild.v2.BatchCreateRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { @@ -503,9 +500,9 @@ public Builder mergeFrom( break; case 10: { - google.devtools.cloudbuild.v2.Repository m = + com.google.cloudbuild.v2.Repository m = input.readMessage( - google.devtools.cloudbuild.v2.Repository.parser(), extensionRegistry); + com.google.cloudbuild.v2.Repository.parser(), extensionRegistry); if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(m); @@ -533,21 +530,20 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List repositories_ = + private java.util.List repositories_ = java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> repositoriesBuilder_; /** @@ -559,7 +555,7 @@ private void ensureRepositoriesIsMutable() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -591,7 +587,7 @@ public int getRepositoriesCount() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -607,7 +603,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder setRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -630,7 +626,7 @@ public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Reposito * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder setRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -649,7 +645,7 @@ public Builder setRepositories( * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -671,7 +667,7 @@ public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +689,7 @@ public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Reposito * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories( - google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(builderForValue.build()); @@ -714,7 +709,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -734,7 +729,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); @@ -791,7 +786,7 @@ public Builder removeRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** @@ -803,7 +798,7 @@ public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -819,7 +814,7 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); @@ -836,9 +831,9 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { return getRepositoriesFieldBuilder() - .addBuilder(google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -849,9 +844,9 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder() - .addBuilder(index, google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(index, com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -862,22 +857,22 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder>( + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder>( repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } @@ -899,14 +894,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse) - private static final google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse - DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.BatchCreateRepositoriesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.BatchCreateRepositoriesResponse(); } - public static google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse getDefaultInstance() { + public static com.google.cloudbuild.v2.BatchCreateRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -942,7 +936,7 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse getDefaultInstanceForType() { + public com.google.cloudbuild.v2.BatchCreateRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java index 66a73d7c3261..01422a6d3415 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/BatchCreateRepositoriesResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface BatchCreateRepositoriesResponseOrBuilder extends @@ -32,7 +32,7 @@ public interface BatchCreateRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List getRepositoriesList(); /** * * @@ -42,7 +42,7 @@ public interface BatchCreateRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.Repository getRepositories(int index); + com.google.cloudbuild.v2.Repository getRepositories(int index); /** * * @@ -62,7 +62,7 @@ public interface BatchCreateRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** * @@ -73,5 +73,5 @@ public interface BatchCreateRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CloudBuildProto.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CloudBuildProto.java similarity index 84% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CloudBuildProto.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CloudBuildProto.java index 32b8c50c934d..0f47f0b6f908 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CloudBuildProto.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CloudBuildProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/cloudbuild.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public final class CloudBuildProto { private CloudBuildProto() {} @@ -63,24 +63,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB\003\340A\003\022#\n\026requested_cancellation\030\004 \001(" + "\010B\003\340A\003\022\030\n\013api_version\030\005 \001(\tB\003\340A\003\022\023\n\006targ" + "et\030\006 \001(\tB\003\340A\003\022\034\n\017pipeline_run_id\030\007 \001(\tB\003" - + "\340A\003B\261\005\n\035google.devtools.cloudbuild.v2B\017C" - + "loudBuildProtoP\001ZGgoogle.golang.org/genp" - + "roto/googleapis/devtools/cloudbuild/v2;c" - + "loudbuild\242\002\003GCB\252\002\032Google.Cloud.CloudBuil" - + "d.V2\312\002\025Google\\Cloud\\Build\\V2\352\002\030Google::C" - + "loud::Build::V2\352AN\n\036compute.googleapis.c" - + "om/Network\022,projects/{project}/global/ne" - + "tworks/{network}\352AY\n!iam.googleapis.com/" - + "ServiceAccount\0224projects/{project}/servi" - + "ceAccounts/{service_account}\352AJ\n#secretm" - + "anager.googleapis.com/Secret\022#projects/{" - + "project}/secrets/{secret}\352Ad\n*secretmana" - + "ger.googleapis.com/SecretVersion\0226projec" - + "ts/{project}/secrets/{secret}/versions/{" - + "version}\352A|\n0cloudbuild.googleapis.com/g" - + "ithubEnterpriseConfig\022Hprojects/{project" - + "}/locations/{location}/githubEnterpriseC" - + "onfigs/{config}b\006proto3" + + "\340A\003B\254\005\n\030com.google.cloudbuild.v2B\017CloudB" + + "uildProtoP\001ZGgoogle.golang.org/genproto/" + + "googleapis/devtools/cloudbuild/v2;cloudb" + + "uild\242\002\003GCB\252\002\032Google.Cloud.CloudBuild.V2\312" + + "\002\025Google\\Cloud\\Build\\V2\352\002\030Google::Cloud:" + + ":Build::V2\352AN\n\036compute.googleapis.com/Ne" + + "twork\022,projects/{project}/global/network" + + "s/{network}\352AY\n!iam.googleapis.com/Servi" + + "ceAccount\0224projects/{project}/serviceAcc" + + "ounts/{service_account}\352AJ\n#secretmanage" + + "r.googleapis.com/Secret\022#projects/{proje" + + "ct}/secrets/{secret}\352Ad\n*secretmanager.g" + + "oogleapis.com/SecretVersion\0226projects/{p" + + "roject}/secrets/{secret}/versions/{versi" + + "on}\352A|\n0cloudbuild.googleapis.com/github" + + "EnterpriseConfig\022Hprojects/{project}/loc" + + "ations/{location}/githubEnterpriseConfig" + + "s/{config}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Connection.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Connection.java similarity index 88% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Connection.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Connection.java index ad9dbf104500..d5468408854c 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Connection.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Connection.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,7 +55,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_descriptor; } @@ -73,11 +73,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.Connection.class, - google.devtools.cloudbuild.v2.Connection.Builder.class); + com.google.cloudbuild.v2.Connection.class, + com.google.cloudbuild.v2.Connection.Builder.class); } private int connectionConfigCase_ = 0; @@ -306,11 +306,11 @@ public boolean hasGithubConfig() { * @return The githubConfig. */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig getGithubConfig() { + public com.google.cloudbuild.v2.GitHubConfig getGithubConfig() { if (connectionConfigCase_ == 5) { - return (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } /** * @@ -322,11 +322,11 @@ public google.devtools.cloudbuild.v2.GitHubConfig getGithubConfig() { * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder() { + public com.google.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder() { if (connectionConfigCase_ == 5) { - return (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } public static final int GITHUB_ENTERPRISE_CONFIG_FIELD_NUMBER = 6; @@ -359,11 +359,11 @@ public boolean hasGithubEnterpriseConfig() { * @return The githubEnterpriseConfig. */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig() { + public com.google.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig() { if (connectionConfigCase_ == 6) { - return (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } /** * @@ -376,16 +376,16 @@ public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseC * */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder + public com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder() { if (connectionConfigCase_ == 6) { - return (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } public static final int INSTALLATION_STATE_FIELD_NUMBER = 12; - private google.devtools.cloudbuild.v2.InstallationState installationState_; + private com.google.cloudbuild.v2.InstallationState installationState_; /** * * @@ -417,9 +417,9 @@ public boolean hasInstallationState() { * @return The installationState. */ @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState getInstallationState() { + public com.google.cloudbuild.v2.InstallationState getInstallationState() { return installationState_ == null - ? google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance() + ? com.google.cloudbuild.v2.InstallationState.getDefaultInstance() : installationState_; } /** @@ -434,9 +434,9 @@ public google.devtools.cloudbuild.v2.InstallationState getInstallationState() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationStateOrBuilder getInstallationStateOrBuilder() { + public com.google.cloudbuild.v2.InstallationStateOrBuilder getInstallationStateOrBuilder() { return installationState_ == null - ? google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance() + ? com.google.cloudbuild.v2.InstallationState.getDefaultInstance() : installationState_; } @@ -484,7 +484,7 @@ public boolean getReconciling() { private static final class AnnotationsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( - google.devtools.cloudbuild.v2.RepositoryManagerProto + com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_AnnotationsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", @@ -661,11 +661,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(4, getUpdateTime()); } if (connectionConfigCase_ == 5) { - output.writeMessage(5, (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_); + output.writeMessage(5, (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_); } if (connectionConfigCase_ == 6) { - output.writeMessage( - 6, (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_); + output.writeMessage(6, (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_); } if (installationState_ != null) { output.writeMessage(12, getInstallationState()); @@ -702,12 +701,12 @@ public int getSerializedSize() { if (connectionConfigCase_ == 5) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_); + 5, (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_); } if (connectionConfigCase_ == 6) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_); + 6, (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_); } if (installationState_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getInstallationState()); @@ -741,10 +740,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.Connection)) { + if (!(obj instanceof com.google.cloudbuild.v2.Connection)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.Connection other = (google.devtools.cloudbuild.v2.Connection) obj; + com.google.cloudbuild.v2.Connection other = (com.google.cloudbuild.v2.Connection) obj; if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; @@ -826,71 +825,70 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.Connection parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.Connection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( - com.google.protobuf.ByteString data) + public static com.google.cloudbuild.v2.Connection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Connection parseFrom(byte[] data) + public static com.google.cloudbuild.v2.Connection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Connection parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.Connection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Connection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.Connection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Connection parseDelimitedFrom( + public static com.google.cloudbuild.v2.Connection parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Connection parseFrom( + public static com.google.cloudbuild.v2.Connection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -907,7 +905,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.Connection prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.Connection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -934,9 +932,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.Connection) - google.devtools.cloudbuild.v2.ConnectionOrBuilder { + com.google.cloudbuild.v2.ConnectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_descriptor; } @@ -963,14 +961,14 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.Connection.class, - google.devtools.cloudbuild.v2.Connection.Builder.class); + com.google.cloudbuild.v2.Connection.class, + com.google.cloudbuild.v2.Connection.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.Connection.newBuilder() + // Construct using com.google.cloudbuild.v2.Connection.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -1014,18 +1012,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Connection_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.Connection getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.Connection.getDefaultInstance(); + public com.google.cloudbuild.v2.Connection getDefaultInstanceForType() { + return com.google.cloudbuild.v2.Connection.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.Connection build() { - google.devtools.cloudbuild.v2.Connection result = buildPartial(); + public com.google.cloudbuild.v2.Connection build() { + com.google.cloudbuild.v2.Connection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1033,9 +1031,8 @@ public google.devtools.cloudbuild.v2.Connection build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.Connection buildPartial() { - google.devtools.cloudbuild.v2.Connection result = - new google.devtools.cloudbuild.v2.Connection(this); + public com.google.cloudbuild.v2.Connection buildPartial() { + com.google.cloudbuild.v2.Connection result = new com.google.cloudbuild.v2.Connection(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -1044,7 +1041,7 @@ public google.devtools.cloudbuild.v2.Connection buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.Connection result) { + private void buildPartial0(com.google.cloudbuild.v2.Connection result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -1076,7 +1073,7 @@ private void buildPartial0(google.devtools.cloudbuild.v2.Connection result) { } } - private void buildPartialOneofs(google.devtools.cloudbuild.v2.Connection result) { + private void buildPartialOneofs(com.google.cloudbuild.v2.Connection result) { result.connectionConfigCase_ = connectionConfigCase_; result.connectionConfig_ = this.connectionConfig_; if (connectionConfigCase_ == 5 && githubConfigBuilder_ != null) { @@ -1122,16 +1119,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.Connection) { - return mergeFrom((google.devtools.cloudbuild.v2.Connection) other); + if (other instanceof com.google.cloudbuild.v2.Connection) { + return mergeFrom((com.google.cloudbuild.v2.Connection) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.Connection other) { - if (other == google.devtools.cloudbuild.v2.Connection.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloudbuild.v2.Connection other) { + if (other == com.google.cloudbuild.v2.Connection.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1816,9 +1813,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubConfig, - google.devtools.cloudbuild.v2.GitHubConfig.Builder, - google.devtools.cloudbuild.v2.GitHubConfigOrBuilder> + com.google.cloudbuild.v2.GitHubConfig, + com.google.cloudbuild.v2.GitHubConfig.Builder, + com.google.cloudbuild.v2.GitHubConfigOrBuilder> githubConfigBuilder_; /** * @@ -1847,17 +1844,17 @@ public boolean hasGithubConfig() { * @return The githubConfig. */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig getGithubConfig() { + public com.google.cloudbuild.v2.GitHubConfig getGithubConfig() { if (githubConfigBuilder_ == null) { if (connectionConfigCase_ == 5) { - return (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } else { if (connectionConfigCase_ == 5) { return githubConfigBuilder_.getMessage(); } - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } } /** @@ -1869,7 +1866,7 @@ public google.devtools.cloudbuild.v2.GitHubConfig getGithubConfig() { * * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ - public Builder setGithubConfig(google.devtools.cloudbuild.v2.GitHubConfig value) { + public Builder setGithubConfig(com.google.cloudbuild.v2.GitHubConfig value) { if (githubConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1891,8 +1888,7 @@ public Builder setGithubConfig(google.devtools.cloudbuild.v2.GitHubConfig value) * * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ - public Builder setGithubConfig( - google.devtools.cloudbuild.v2.GitHubConfig.Builder builderForValue) { + public Builder setGithubConfig(com.google.cloudbuild.v2.GitHubConfig.Builder builderForValue) { if (githubConfigBuilder_ == null) { connectionConfig_ = builderForValue.build(); onChanged(); @@ -1911,14 +1907,13 @@ public Builder setGithubConfig( * * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ - public Builder mergeGithubConfig(google.devtools.cloudbuild.v2.GitHubConfig value) { + public Builder mergeGithubConfig(com.google.cloudbuild.v2.GitHubConfig value) { if (githubConfigBuilder_ == null) { if (connectionConfigCase_ == 5 - && connectionConfig_ - != google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance()) { + && connectionConfig_ != com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance()) { connectionConfig_ = - google.devtools.cloudbuild.v2.GitHubConfig.newBuilder( - (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_) + com.google.cloudbuild.v2.GitHubConfig.newBuilder( + (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_) .mergeFrom(value) .buildPartial(); } else { @@ -1969,7 +1964,7 @@ public Builder clearGithubConfig() { * * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ - public google.devtools.cloudbuild.v2.GitHubConfig.Builder getGithubConfigBuilder() { + public com.google.cloudbuild.v2.GitHubConfig.Builder getGithubConfigBuilder() { return getGithubConfigFieldBuilder().getBuilder(); } /** @@ -1982,14 +1977,14 @@ public google.devtools.cloudbuild.v2.GitHubConfig.Builder getGithubConfigBuilder * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder() { + public com.google.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder() { if ((connectionConfigCase_ == 5) && (githubConfigBuilder_ != null)) { return githubConfigBuilder_.getMessageOrBuilder(); } else { if (connectionConfigCase_ == 5) { - return (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } } /** @@ -2002,20 +1997,20 @@ public google.devtools.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuil * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubConfig, - google.devtools.cloudbuild.v2.GitHubConfig.Builder, - google.devtools.cloudbuild.v2.GitHubConfigOrBuilder> + com.google.cloudbuild.v2.GitHubConfig, + com.google.cloudbuild.v2.GitHubConfig.Builder, + com.google.cloudbuild.v2.GitHubConfigOrBuilder> getGithubConfigFieldBuilder() { if (githubConfigBuilder_ == null) { if (!(connectionConfigCase_ == 5)) { - connectionConfig_ = google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + connectionConfig_ = com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } githubConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubConfig, - google.devtools.cloudbuild.v2.GitHubConfig.Builder, - google.devtools.cloudbuild.v2.GitHubConfigOrBuilder>( - (google.devtools.cloudbuild.v2.GitHubConfig) connectionConfig_, + com.google.cloudbuild.v2.GitHubConfig, + com.google.cloudbuild.v2.GitHubConfig.Builder, + com.google.cloudbuild.v2.GitHubConfigOrBuilder>( + (com.google.cloudbuild.v2.GitHubConfig) connectionConfig_, getParentForChildren(), isClean()); connectionConfig_ = null; @@ -2026,9 +2021,9 @@ public google.devtools.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder> + com.google.cloudbuild.v2.GitHubEnterpriseConfig, + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder, + com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder> githubEnterpriseConfigBuilder_; /** * @@ -2059,17 +2054,17 @@ public boolean hasGithubEnterpriseConfig() { * @return The githubEnterpriseConfig. */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig() { + public com.google.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig() { if (githubEnterpriseConfigBuilder_ == null) { if (connectionConfigCase_ == 6) { - return (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } else { if (connectionConfigCase_ == 6) { return githubEnterpriseConfigBuilder_.getMessage(); } - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } } /** @@ -2083,7 +2078,7 @@ public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseC * */ public Builder setGithubEnterpriseConfig( - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig value) { + com.google.cloudbuild.v2.GitHubEnterpriseConfig value) { if (githubEnterpriseConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2107,7 +2102,7 @@ public Builder setGithubEnterpriseConfig( * */ public Builder setGithubEnterpriseConfig( - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder builderForValue) { + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder builderForValue) { if (githubEnterpriseConfigBuilder_ == null) { connectionConfig_ = builderForValue.build(); onChanged(); @@ -2128,14 +2123,14 @@ public Builder setGithubEnterpriseConfig( * */ public Builder mergeGithubEnterpriseConfig( - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig value) { + com.google.cloudbuild.v2.GitHubEnterpriseConfig value) { if (githubEnterpriseConfigBuilder_ == null) { if (connectionConfigCase_ == 6 && connectionConfig_ - != google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance()) { + != com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance()) { connectionConfig_ = - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.newBuilder( - (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_) + com.google.cloudbuild.v2.GitHubEnterpriseConfig.newBuilder( + (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_) .mergeFrom(value) .buildPartial(); } else { @@ -2188,7 +2183,7 @@ public Builder clearGithubEnterpriseConfig() { * .google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6; * */ - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder + public com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder getGithubEnterpriseConfigBuilder() { return getGithubEnterpriseConfigFieldBuilder().getBuilder(); } @@ -2203,15 +2198,15 @@ public Builder clearGithubEnterpriseConfig() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder + public com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder() { if ((connectionConfigCase_ == 6) && (githubEnterpriseConfigBuilder_ != null)) { return githubEnterpriseConfigBuilder_.getMessageOrBuilder(); } else { if (connectionConfigCase_ == 6) { - return (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; + return (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_; } - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } } /** @@ -2225,21 +2220,20 @@ public Builder clearGithubEnterpriseConfig() { * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder> + com.google.cloudbuild.v2.GitHubEnterpriseConfig, + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder, + com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder> getGithubEnterpriseConfigFieldBuilder() { if (githubEnterpriseConfigBuilder_ == null) { if (!(connectionConfigCase_ == 6)) { - connectionConfig_ = - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + connectionConfig_ = com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } githubEnterpriseConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder>( - (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_, + com.google.cloudbuild.v2.GitHubEnterpriseConfig, + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder, + com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder>( + (com.google.cloudbuild.v2.GitHubEnterpriseConfig) connectionConfig_, getParentForChildren(), isClean()); connectionConfig_ = null; @@ -2249,11 +2243,11 @@ public Builder clearGithubEnterpriseConfig() { return githubEnterpriseConfigBuilder_; } - private google.devtools.cloudbuild.v2.InstallationState installationState_; + private com.google.cloudbuild.v2.InstallationState installationState_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.InstallationState, - google.devtools.cloudbuild.v2.InstallationState.Builder, - google.devtools.cloudbuild.v2.InstallationStateOrBuilder> + com.google.cloudbuild.v2.InstallationState, + com.google.cloudbuild.v2.InstallationState.Builder, + com.google.cloudbuild.v2.InstallationStateOrBuilder> installationStateBuilder_; /** * @@ -2284,10 +2278,10 @@ public boolean hasInstallationState() { * * @return The installationState. */ - public google.devtools.cloudbuild.v2.InstallationState getInstallationState() { + public com.google.cloudbuild.v2.InstallationState getInstallationState() { if (installationStateBuilder_ == null) { return installationState_ == null - ? google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance() + ? com.google.cloudbuild.v2.InstallationState.getDefaultInstance() : installationState_; } else { return installationStateBuilder_.getMessage(); @@ -2304,7 +2298,7 @@ public google.devtools.cloudbuild.v2.InstallationState getInstallationState() { * .google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setInstallationState(google.devtools.cloudbuild.v2.InstallationState value) { + public Builder setInstallationState(com.google.cloudbuild.v2.InstallationState value) { if (installationStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2329,7 +2323,7 @@ public Builder setInstallationState(google.devtools.cloudbuild.v2.InstallationSt * */ public Builder setInstallationState( - google.devtools.cloudbuild.v2.InstallationState.Builder builderForValue) { + com.google.cloudbuild.v2.InstallationState.Builder builderForValue) { if (installationStateBuilder_ == null) { installationState_ = builderForValue.build(); } else { @@ -2350,12 +2344,12 @@ public Builder setInstallationState( * .google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeInstallationState(google.devtools.cloudbuild.v2.InstallationState value) { + public Builder mergeInstallationState(com.google.cloudbuild.v2.InstallationState value) { if (installationStateBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && installationState_ != null && installationState_ - != google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance()) { + != com.google.cloudbuild.v2.InstallationState.getDefaultInstance()) { getInstallationStateBuilder().mergeFrom(value); } else { installationState_ = value; @@ -2399,7 +2393,7 @@ public Builder clearInstallationState() { * .google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public google.devtools.cloudbuild.v2.InstallationState.Builder getInstallationStateBuilder() { + public com.google.cloudbuild.v2.InstallationState.Builder getInstallationStateBuilder() { bitField0_ |= 0x00000020; onChanged(); return getInstallationStateFieldBuilder().getBuilder(); @@ -2415,13 +2409,12 @@ public google.devtools.cloudbuild.v2.InstallationState.Builder getInstallationSt * .google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public google.devtools.cloudbuild.v2.InstallationStateOrBuilder - getInstallationStateOrBuilder() { + public com.google.cloudbuild.v2.InstallationStateOrBuilder getInstallationStateOrBuilder() { if (installationStateBuilder_ != null) { return installationStateBuilder_.getMessageOrBuilder(); } else { return installationState_ == null - ? google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance() + ? com.google.cloudbuild.v2.InstallationState.getDefaultInstance() : installationState_; } } @@ -2437,16 +2430,16 @@ public google.devtools.cloudbuild.v2.InstallationState.Builder getInstallationSt * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.InstallationState, - google.devtools.cloudbuild.v2.InstallationState.Builder, - google.devtools.cloudbuild.v2.InstallationStateOrBuilder> + com.google.cloudbuild.v2.InstallationState, + com.google.cloudbuild.v2.InstallationState.Builder, + com.google.cloudbuild.v2.InstallationStateOrBuilder> getInstallationStateFieldBuilder() { if (installationStateBuilder_ == null) { installationStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.InstallationState, - google.devtools.cloudbuild.v2.InstallationState.Builder, - google.devtools.cloudbuild.v2.InstallationStateOrBuilder>( + com.google.cloudbuild.v2.InstallationState, + com.google.cloudbuild.v2.InstallationState.Builder, + com.google.cloudbuild.v2.InstallationStateOrBuilder>( getInstallationState(), getParentForChildren(), isClean()); installationState_ = null; } @@ -2865,13 +2858,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.Connection) - private static final google.devtools.cloudbuild.v2.Connection DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.Connection DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.Connection(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.Connection(); } - public static google.devtools.cloudbuild.v2.Connection getDefaultInstance() { + public static com.google.cloudbuild.v2.Connection getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -2907,7 +2900,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.Connection getDefaultInstanceForType() { + public com.google.cloudbuild.v2.Connection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionName.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionName.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionName.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionName.java index ed9be7b77060..eb7c7f244b14 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionName.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionName.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; import com.google.api.pathtemplate.PathTemplate; import com.google.api.resourcenames.ResourceName; diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionOrBuilder.java similarity index 93% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionOrBuilder.java index db1301c7aeab..12685179d648 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ConnectionOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ConnectionOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ConnectionOrBuilder extends @@ -149,7 +149,7 @@ public interface ConnectionOrBuilder * * @return The githubConfig. */ - google.devtools.cloudbuild.v2.GitHubConfig getGithubConfig(); + com.google.cloudbuild.v2.GitHubConfig getGithubConfig(); /** * * @@ -159,7 +159,7 @@ public interface ConnectionOrBuilder * * .google.devtools.cloudbuild.v2.GitHubConfig github_config = 5; */ - google.devtools.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder(); + com.google.cloudbuild.v2.GitHubConfigOrBuilder getGithubConfigOrBuilder(); /** * @@ -186,7 +186,7 @@ public interface ConnectionOrBuilder * * @return The githubEnterpriseConfig. */ - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig(); + com.google.cloudbuild.v2.GitHubEnterpriseConfig getGithubEnterpriseConfig(); /** * * @@ -197,8 +197,7 @@ public interface ConnectionOrBuilder * .google.devtools.cloudbuild.v2.GitHubEnterpriseConfig github_enterprise_config = 6; * */ - google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder - getGithubEnterpriseConfigOrBuilder(); + com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder getGithubEnterpriseConfigOrBuilder(); /** * @@ -227,7 +226,7 @@ public interface ConnectionOrBuilder * * @return The installationState. */ - google.devtools.cloudbuild.v2.InstallationState getInstallationState(); + com.google.cloudbuild.v2.InstallationState getInstallationState(); /** * * @@ -239,7 +238,7 @@ public interface ConnectionOrBuilder * .google.devtools.cloudbuild.v2.InstallationState installation_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - google.devtools.cloudbuild.v2.InstallationStateOrBuilder getInstallationStateOrBuilder(); + com.google.cloudbuild.v2.InstallationStateOrBuilder getInstallationStateOrBuilder(); /** * @@ -357,5 +356,5 @@ java.lang.String getAnnotationsOrDefault( */ com.google.protobuf.ByteString getEtagBytes(); - public google.devtools.cloudbuild.v2.Connection.ConnectionConfigCase getConnectionConfigCase(); + public com.google.cloudbuild.v2.Connection.ConnectionConfigCase getConnectionConfigCase(); } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequest.java similarity index 85% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequest.java index 8ea074707727..c30a01976f33 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.CreateConnectionRequest.class, - google.devtools.cloudbuild.v2.CreateConnectionRequest.Builder.class); + com.google.cloudbuild.v2.CreateConnectionRequest.class, + com.google.cloudbuild.v2.CreateConnectionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -126,7 +126,7 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CONNECTION_FIELD_NUMBER = 2; - private google.devtools.cloudbuild.v2.Connection connection_; + private com.google.cloudbuild.v2.Connection connection_; /** * * @@ -158,9 +158,9 @@ public boolean hasConnection() { * @return The connection. */ @java.lang.Override - public google.devtools.cloudbuild.v2.Connection getConnection() { + public com.google.cloudbuild.v2.Connection getConnection() { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } /** @@ -175,9 +175,9 @@ public google.devtools.cloudbuild.v2.Connection getConnection() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } @@ -289,11 +289,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.CreateConnectionRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.CreateConnectionRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.CreateConnectionRequest other = - (google.devtools.cloudbuild.v2.CreateConnectionRequest) obj; + com.google.cloudbuild.v2.CreateConnectionRequest other = + (com.google.cloudbuild.v2.CreateConnectionRequest) obj; if (!getParent().equals(other.getParent())) return false; if (hasConnection() != other.hasConnection()) return false; @@ -325,71 +325,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.CreateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -406,8 +406,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.CreateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.CreateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -433,23 +432,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.CreateConnectionRequest) - google.devtools.cloudbuild.v2.CreateConnectionRequestOrBuilder { + com.google.cloudbuild.v2.CreateConnectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.CreateConnectionRequest.class, - google.devtools.cloudbuild.v2.CreateConnectionRequest.Builder.class); + com.google.cloudbuild.v2.CreateConnectionRequest.class, + com.google.cloudbuild.v2.CreateConnectionRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.CreateConnectionRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.CreateConnectionRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -472,18 +471,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateConnectionRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateConnectionRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.CreateConnectionRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.CreateConnectionRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.CreateConnectionRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateConnectionRequest build() { - google.devtools.cloudbuild.v2.CreateConnectionRequest result = buildPartial(); + public com.google.cloudbuild.v2.CreateConnectionRequest build() { + com.google.cloudbuild.v2.CreateConnectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -491,9 +490,9 @@ public google.devtools.cloudbuild.v2.CreateConnectionRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateConnectionRequest buildPartial() { - google.devtools.cloudbuild.v2.CreateConnectionRequest result = - new google.devtools.cloudbuild.v2.CreateConnectionRequest(this); + public com.google.cloudbuild.v2.CreateConnectionRequest buildPartial() { + com.google.cloudbuild.v2.CreateConnectionRequest result = + new com.google.cloudbuild.v2.CreateConnectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -501,7 +500,7 @@ public google.devtools.cloudbuild.v2.CreateConnectionRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.CreateConnectionRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.CreateConnectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -549,16 +548,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.CreateConnectionRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.CreateConnectionRequest) other); + if (other instanceof com.google.cloudbuild.v2.CreateConnectionRequest) { + return mergeFrom((com.google.cloudbuild.v2.CreateConnectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.CreateConnectionRequest other) { - if (other == google.devtools.cloudbuild.v2.CreateConnectionRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.CreateConnectionRequest other) { + if (other == com.google.cloudbuild.v2.CreateConnectionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; @@ -757,11 +756,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private google.devtools.cloudbuild.v2.Connection connection_; + private com.google.cloudbuild.v2.Connection connection_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> connectionBuilder_; /** * @@ -792,10 +791,10 @@ public boolean hasConnection() { * * @return The connection. */ - public google.devtools.cloudbuild.v2.Connection getConnection() { + public com.google.cloudbuild.v2.Connection getConnection() { if (connectionBuilder_ == null) { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } else { return connectionBuilder_.getMessage(); @@ -812,7 +811,7 @@ public google.devtools.cloudbuild.v2.Connection getConnection() { * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setConnection(google.devtools.cloudbuild.v2.Connection value) { + public Builder setConnection(com.google.cloudbuild.v2.Connection value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -836,7 +835,7 @@ public Builder setConnection(google.devtools.cloudbuild.v2.Connection value) { * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setConnection(google.devtools.cloudbuild.v2.Connection.Builder builderForValue) { + public Builder setConnection(com.google.cloudbuild.v2.Connection.Builder builderForValue) { if (connectionBuilder_ == null) { connection_ = builderForValue.build(); } else { @@ -857,11 +856,11 @@ public Builder setConnection(google.devtools.cloudbuild.v2.Connection.Builder bu * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder mergeConnection(google.devtools.cloudbuild.v2.Connection value) { + public Builder mergeConnection(com.google.cloudbuild.v2.Connection value) { if (connectionBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && connection_ != null - && connection_ != google.devtools.cloudbuild.v2.Connection.getDefaultInstance()) { + && connection_ != com.google.cloudbuild.v2.Connection.getDefaultInstance()) { getConnectionBuilder().mergeFrom(value); } else { connection_ = value; @@ -905,7 +904,7 @@ public Builder clearConnection() { * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.Connection.Builder getConnectionBuilder() { + public com.google.cloudbuild.v2.Connection.Builder getConnectionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getConnectionFieldBuilder().getBuilder(); @@ -921,12 +920,12 @@ public google.devtools.cloudbuild.v2.Connection.Builder getConnectionBuilder() { * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { if (connectionBuilder_ != null) { return connectionBuilder_.getMessageOrBuilder(); } else { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } } @@ -942,16 +941,16 @@ public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder( * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder>( + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder>( getConnection(), getParentForChildren(), isClean()); connection_ = null; } @@ -1094,13 +1093,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.CreateConnectionRequest) - private static final google.devtools.cloudbuild.v2.CreateConnectionRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.CreateConnectionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.CreateConnectionRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.CreateConnectionRequest(); } - public static google.devtools.cloudbuild.v2.CreateConnectionRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.CreateConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1136,7 +1135,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateConnectionRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.CreateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequestOrBuilder.java similarity index 95% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequestOrBuilder.java index 4d9c1d75033c..538017c805e4 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateConnectionRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateConnectionRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface CreateConnectionRequestOrBuilder extends @@ -81,7 +81,7 @@ public interface CreateConnectionRequestOrBuilder * * @return The connection. */ - google.devtools.cloudbuild.v2.Connection getConnection(); + com.google.cloudbuild.v2.Connection getConnection(); /** * * @@ -93,7 +93,7 @@ public interface CreateConnectionRequestOrBuilder * .google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder(); + com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequest.java similarity index 85% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequest.java index ba3c62988e29..1e7a70662b22 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.CreateRepositoryRequest.class, - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.CreateRepositoryRequest.class, + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -128,7 +128,7 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REPOSITORY_FIELD_NUMBER = 2; - private google.devtools.cloudbuild.v2.Repository repository_; + private com.google.cloudbuild.v2.Repository repository_; /** * * @@ -160,9 +160,9 @@ public boolean hasRepository() { * @return The repository. */ @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getRepository() { + public com.google.cloudbuild.v2.Repository getRepository() { return repository_ == null - ? google.devtools.cloudbuild.v2.Repository.getDefaultInstance() + ? com.google.cloudbuild.v2.Repository.getDefaultInstance() : repository_; } /** @@ -177,9 +177,9 @@ public google.devtools.cloudbuild.v2.Repository getRepository() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder() { return repository_ == null - ? google.devtools.cloudbuild.v2.Repository.getDefaultInstance() + ? com.google.cloudbuild.v2.Repository.getDefaultInstance() : repository_; } @@ -291,11 +291,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.CreateRepositoryRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.CreateRepositoryRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.CreateRepositoryRequest other = - (google.devtools.cloudbuild.v2.CreateRepositoryRequest) obj; + com.google.cloudbuild.v2.CreateRepositoryRequest other = + (com.google.cloudbuild.v2.CreateRepositoryRequest) obj; if (!getParent().equals(other.getParent())) return false; if (hasRepository() != other.hasRepository()) return false; @@ -327,71 +327,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -408,8 +408,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -435,23 +434,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.CreateRepositoryRequest) - google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder { + com.google.cloudbuild.v2.CreateRepositoryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.CreateRepositoryRequest.class, - google.devtools.cloudbuild.v2.CreateRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.CreateRepositoryRequest.class, + com.google.cloudbuild.v2.CreateRepositoryRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.CreateRepositoryRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.CreateRepositoryRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -474,18 +473,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequest build() { - google.devtools.cloudbuild.v2.CreateRepositoryRequest result = buildPartial(); + public com.google.cloudbuild.v2.CreateRepositoryRequest build() { + com.google.cloudbuild.v2.CreateRepositoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -493,9 +492,9 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequest buildPartial() { - google.devtools.cloudbuild.v2.CreateRepositoryRequest result = - new google.devtools.cloudbuild.v2.CreateRepositoryRequest(this); + public com.google.cloudbuild.v2.CreateRepositoryRequest buildPartial() { + com.google.cloudbuild.v2.CreateRepositoryRequest result = + new com.google.cloudbuild.v2.CreateRepositoryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -503,7 +502,7 @@ public google.devtools.cloudbuild.v2.CreateRepositoryRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.CreateRepositoryRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.CreateRepositoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -551,16 +550,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.CreateRepositoryRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.CreateRepositoryRequest) other); + if (other instanceof com.google.cloudbuild.v2.CreateRepositoryRequest) { + return mergeFrom((com.google.cloudbuild.v2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.CreateRepositoryRequest other) { - if (other == google.devtools.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.CreateRepositoryRequest other) { + if (other == com.google.cloudbuild.v2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; @@ -764,11 +763,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private google.devtools.cloudbuild.v2.Repository repository_; + private com.google.cloudbuild.v2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> repositoryBuilder_; /** * @@ -799,10 +798,10 @@ public boolean hasRepository() { * * @return The repository. */ - public google.devtools.cloudbuild.v2.Repository getRepository() { + public com.google.cloudbuild.v2.Repository getRepository() { if (repositoryBuilder_ == null) { return repository_ == null - ? google.devtools.cloudbuild.v2.Repository.getDefaultInstance() + ? com.google.cloudbuild.v2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); @@ -819,7 +818,7 @@ public google.devtools.cloudbuild.v2.Repository getRepository() { * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setRepository(google.devtools.cloudbuild.v2.Repository value) { + public Builder setRepository(com.google.cloudbuild.v2.Repository value) { if (repositoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -843,7 +842,7 @@ public Builder setRepository(google.devtools.cloudbuild.v2.Repository value) { * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setRepository(google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + public Builder setRepository(com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoryBuilder_ == null) { repository_ = builderForValue.build(); } else { @@ -864,11 +863,11 @@ public Builder setRepository(google.devtools.cloudbuild.v2.Repository.Builder bu * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder mergeRepository(google.devtools.cloudbuild.v2.Repository value) { + public Builder mergeRepository(com.google.cloudbuild.v2.Repository value) { if (repositoryBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && repository_ != null - && repository_ != google.devtools.cloudbuild.v2.Repository.getDefaultInstance()) { + && repository_ != com.google.cloudbuild.v2.Repository.getDefaultInstance()) { getRepositoryBuilder().mergeFrom(value); } else { repository_ = value; @@ -912,7 +911,7 @@ public Builder clearRepository() { * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.Repository.Builder getRepositoryBuilder() { + public com.google.cloudbuild.v2.Repository.Builder getRepositoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRepositoryFieldBuilder().getBuilder(); @@ -928,12 +927,12 @@ public google.devtools.cloudbuild.v2.Repository.Builder getRepositoryBuilder() { * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { return repository_ == null - ? google.devtools.cloudbuild.v2.Repository.getDefaultInstance() + ? com.google.cloudbuild.v2.Repository.getDefaultInstance() : repository_; } } @@ -949,16 +948,16 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder( * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder>( + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder>( getRepository(), getParentForChildren(), isClean()); repository_ = null; } @@ -1101,13 +1100,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.CreateRepositoryRequest) - private static final google.devtools.cloudbuild.v2.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.CreateRepositoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.CreateRepositoryRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.CreateRepositoryRequest(); } - public static google.devtools.cloudbuild.v2.CreateRepositoryRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1143,7 +1142,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java similarity index 95% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java index babeb3b8fdaa..c3aef581da95 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/CreateRepositoryRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface CreateRepositoryRequestOrBuilder extends @@ -83,7 +83,7 @@ public interface CreateRepositoryRequestOrBuilder * * @return The repository. */ - google.devtools.cloudbuild.v2.Repository getRepository(); + com.google.cloudbuild.v2.Repository getRepository(); /** * * @@ -95,7 +95,7 @@ public interface CreateRepositoryRequestOrBuilder * .google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder(); + com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoryOrBuilder(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequest.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequest.java index 8b9037aaec5d..ef0bf960f664 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.DeleteConnectionRequest.class, - google.devtools.cloudbuild.v2.DeleteConnectionRequest.Builder.class); + com.google.cloudbuild.v2.DeleteConnectionRequest.class, + com.google.cloudbuild.v2.DeleteConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -249,11 +249,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.DeleteConnectionRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.DeleteConnectionRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.DeleteConnectionRequest other = - (google.devtools.cloudbuild.v2.DeleteConnectionRequest) obj; + com.google.cloudbuild.v2.DeleteConnectionRequest other = + (com.google.cloudbuild.v2.DeleteConnectionRequest) obj; if (!getName().equals(other.getName())) return false; if (!getEtag().equals(other.getEtag())) return false; @@ -280,71 +280,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -361,8 +361,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.DeleteConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.DeleteConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -388,23 +387,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.DeleteConnectionRequest) - google.devtools.cloudbuild.v2.DeleteConnectionRequestOrBuilder { + com.google.cloudbuild.v2.DeleteConnectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.DeleteConnectionRequest.class, - google.devtools.cloudbuild.v2.DeleteConnectionRequest.Builder.class); + com.google.cloudbuild.v2.DeleteConnectionRequest.class, + com.google.cloudbuild.v2.DeleteConnectionRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.DeleteConnectionRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.DeleteConnectionRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -423,18 +422,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteConnectionRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteConnectionRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.DeleteConnectionRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.DeleteConnectionRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.DeleteConnectionRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteConnectionRequest build() { - google.devtools.cloudbuild.v2.DeleteConnectionRequest result = buildPartial(); + public com.google.cloudbuild.v2.DeleteConnectionRequest build() { + com.google.cloudbuild.v2.DeleteConnectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,9 +441,9 @@ public google.devtools.cloudbuild.v2.DeleteConnectionRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteConnectionRequest buildPartial() { - google.devtools.cloudbuild.v2.DeleteConnectionRequest result = - new google.devtools.cloudbuild.v2.DeleteConnectionRequest(this); + public com.google.cloudbuild.v2.DeleteConnectionRequest buildPartial() { + com.google.cloudbuild.v2.DeleteConnectionRequest result = + new com.google.cloudbuild.v2.DeleteConnectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -452,7 +451,7 @@ public google.devtools.cloudbuild.v2.DeleteConnectionRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.DeleteConnectionRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.DeleteConnectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -500,16 +499,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.DeleteConnectionRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.DeleteConnectionRequest) other); + if (other instanceof com.google.cloudbuild.v2.DeleteConnectionRequest) { + return mergeFrom((com.google.cloudbuild.v2.DeleteConnectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.DeleteConnectionRequest other) { - if (other == google.devtools.cloudbuild.v2.DeleteConnectionRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.DeleteConnectionRequest other) { + if (other == com.google.cloudbuild.v2.DeleteConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; @@ -892,13 +891,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.DeleteConnectionRequest) - private static final google.devtools.cloudbuild.v2.DeleteConnectionRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.DeleteConnectionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.DeleteConnectionRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.DeleteConnectionRequest(); } - public static google.devtools.cloudbuild.v2.DeleteConnectionRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.DeleteConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -934,7 +933,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteConnectionRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.DeleteConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java index 199c0e75ab77..9b708a649450 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteConnectionRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface DeleteConnectionRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequest.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequest.java index df410a457aa0..ee59394a5bc5 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest.class, - google.devtools.cloudbuild.v2.DeleteRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.DeleteRepositoryRequest.class, + com.google.cloudbuild.v2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -249,11 +249,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.DeleteRepositoryRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.DeleteRepositoryRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.DeleteRepositoryRequest other = - (google.devtools.cloudbuild.v2.DeleteRepositoryRequest) obj; + com.google.cloudbuild.v2.DeleteRepositoryRequest other = + (com.google.cloudbuild.v2.DeleteRepositoryRequest) obj; if (!getName().equals(other.getName())) return false; if (!getEtag().equals(other.getEtag())) return false; @@ -280,71 +280,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -361,8 +361,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -388,23 +387,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.DeleteRepositoryRequest) - google.devtools.cloudbuild.v2.DeleteRepositoryRequestOrBuilder { + com.google.cloudbuild.v2.DeleteRepositoryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.DeleteRepositoryRequest.class, - google.devtools.cloudbuild.v2.DeleteRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.DeleteRepositoryRequest.class, + com.google.cloudbuild.v2.DeleteRepositoryRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.DeleteRepositoryRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.DeleteRepositoryRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -423,18 +422,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.DeleteRepositoryRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.DeleteRepositoryRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteRepositoryRequest build() { - google.devtools.cloudbuild.v2.DeleteRepositoryRequest result = buildPartial(); + public com.google.cloudbuild.v2.DeleteRepositoryRequest build() { + com.google.cloudbuild.v2.DeleteRepositoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,9 +441,9 @@ public google.devtools.cloudbuild.v2.DeleteRepositoryRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteRepositoryRequest buildPartial() { - google.devtools.cloudbuild.v2.DeleteRepositoryRequest result = - new google.devtools.cloudbuild.v2.DeleteRepositoryRequest(this); + public com.google.cloudbuild.v2.DeleteRepositoryRequest buildPartial() { + com.google.cloudbuild.v2.DeleteRepositoryRequest result = + new com.google.cloudbuild.v2.DeleteRepositoryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -452,7 +451,7 @@ public google.devtools.cloudbuild.v2.DeleteRepositoryRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.DeleteRepositoryRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.DeleteRepositoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -500,16 +499,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.DeleteRepositoryRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.DeleteRepositoryRequest) other); + if (other instanceof com.google.cloudbuild.v2.DeleteRepositoryRequest) { + return mergeFrom((com.google.cloudbuild.v2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.DeleteRepositoryRequest other) { - if (other == google.devtools.cloudbuild.v2.DeleteRepositoryRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.DeleteRepositoryRequest other) { + if (other == com.google.cloudbuild.v2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; @@ -892,13 +891,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.DeleteRepositoryRequest) - private static final google.devtools.cloudbuild.v2.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.DeleteRepositoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.DeleteRepositoryRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.DeleteRepositoryRequest(); } - public static google.devtools.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -934,7 +933,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java index e30ad7ba65ff..685398414bfe 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/DeleteRepositoryRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface DeleteRepositoryRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequest.java similarity index 86% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequest.java index 8fcff279292e..599b07b4c616 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,18 +55,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.Builder.class); } public static final int CONNECTION_FIELD_NUMBER = 1; @@ -246,11 +246,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest other = - (google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) obj; + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest other = + (com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest) obj; if (!getConnection().equals(other.getConnection())) return false; if (getPageSize() != other.getPageSize()) return false; @@ -277,71 +277,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -359,7 +359,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest prototype) { + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -385,23 +385,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequestOrBuilder { + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.class, + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -420,19 +420,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest - getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest build() { - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest result = buildPartial(); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest build() { + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -440,9 +439,9 @@ public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest buildPartial() { - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest result = - new google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest(this); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest buildPartial() { + com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest result = + new com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -450,8 +449,7 @@ public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest buildParti return result; } - private void buildPartial0( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.connection_ = connection_; @@ -499,17 +497,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) other); + if (other instanceof com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest) { + return mergeFrom((com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest other) { - if (other - == google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest other) { + if (other == com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest.getDefaultInstance()) return this; if (!other.getConnection().isEmpty()) { connection_ = other.connection_; @@ -882,15 +879,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest) - private static final google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest - DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest(); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest - getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -926,8 +921,7 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest - getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java index 2a82a44973ee..4d18d5b8db65 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchLinkableRepositoriesRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponse.java similarity index 81% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponse.java index 66515f78a081..53568976656b 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,24 +55,24 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List repositories_; + private java.util.List repositories_; /** * * @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** @@ -96,7 +96,7 @@ public java.util.List getRepositoriesL * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } @@ -123,7 +123,7 @@ public int getRepositoriesCount() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { return repositories_.get(index); } /** @@ -136,7 +136,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { return repositories_.get(index); } @@ -236,11 +236,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse other = - (google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse) obj; + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse other = + (com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse) obj; if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; @@ -266,71 +266,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -348,7 +348,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse prototype) { + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -374,23 +374,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse) - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponseOrBuilder { + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.class, + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -414,19 +414,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchLinkableRepositoriesResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse - getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse build() { - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse result = buildPartial(); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse build() { + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -434,9 +433,9 @@ public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse buildPartial() { - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse result = - new google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse(this); + public com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse buildPartial() { + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse result = + new com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); @@ -446,7 +445,7 @@ public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse buildPart } private void buildPartialRepeatedFields( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse result) { + com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse result) { if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -458,8 +457,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -501,18 +499,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse) other); + if (other instanceof com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse) { + return mergeFrom((com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse other) { - if (other - == google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse other) { + if (other == com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { @@ -574,9 +570,9 @@ public Builder mergeFrom( break; case 10: { - google.devtools.cloudbuild.v2.Repository m = + com.google.cloudbuild.v2.Repository m = input.readMessage( - google.devtools.cloudbuild.v2.Repository.parser(), extensionRegistry); + com.google.cloudbuild.v2.Repository.parser(), extensionRegistry); if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(m); @@ -610,21 +606,20 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List repositories_ = + private java.util.List repositories_ = java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> repositoriesBuilder_; /** @@ -636,7 +631,7 @@ private void ensureRepositoriesIsMutable() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -668,7 +663,7 @@ public int getRepositoriesCount() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -684,7 +679,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder setRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -707,7 +702,7 @@ public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Reposito * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder setRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -726,7 +721,7 @@ public Builder setRepositories( * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -748,7 +743,7 @@ public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -770,8 +765,7 @@ public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Reposito * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories( - google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(builderForValue.build()); @@ -791,7 +785,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -811,7 +805,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); @@ -868,7 +862,7 @@ public Builder removeRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** @@ -880,7 +874,7 @@ public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -896,7 +890,7 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); @@ -913,9 +907,9 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { return getRepositoriesFieldBuilder() - .addBuilder(google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -926,9 +920,9 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder() - .addBuilder(index, google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(index, com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -939,22 +933,22 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder>( + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder>( repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } @@ -1082,15 +1076,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse) - private static final google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse - DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse(); } - public static google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse - getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1126,8 +1118,7 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse - getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java index ec85e46100b0..ad0b03b50d15 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchLinkableRepositoriesResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchLinkableRepositoriesResponseOrBuilder extends @@ -32,7 +32,7 @@ public interface FetchLinkableRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List getRepositoriesList(); /** * * @@ -42,7 +42,7 @@ public interface FetchLinkableRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.Repository getRepositories(int index); + com.google.cloudbuild.v2.Repository getRepositories(int index); /** * * @@ -62,7 +62,7 @@ public interface FetchLinkableRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** * @@ -73,7 +73,7 @@ public interface FetchLinkableRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequest.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequest.java index 3c98246ae78c..18028af04b45 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadTokenRequest.class, - google.devtools.cloudbuild.v2.FetchReadTokenRequest.Builder.class); + com.google.cloudbuild.v2.FetchReadTokenRequest.class, + com.google.cloudbuild.v2.FetchReadTokenRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; @@ -163,11 +163,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchReadTokenRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchReadTokenRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchReadTokenRequest other = - (google.devtools.cloudbuild.v2.FetchReadTokenRequest) obj; + com.google.cloudbuild.v2.FetchReadTokenRequest other = + (com.google.cloudbuild.v2.FetchReadTokenRequest) obj; if (!getRepository().equals(other.getRepository())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -188,71 +188,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -269,7 +269,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.FetchReadTokenRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.FetchReadTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -295,23 +295,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchReadTokenRequest) - google.devtools.cloudbuild.v2.FetchReadTokenRequestOrBuilder { + com.google.cloudbuild.v2.FetchReadTokenRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadTokenRequest.class, - google.devtools.cloudbuild.v2.FetchReadTokenRequest.Builder.class); + com.google.cloudbuild.v2.FetchReadTokenRequest.class, + com.google.cloudbuild.v2.FetchReadTokenRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchReadTokenRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchReadTokenRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -328,18 +328,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchReadTokenRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchReadTokenRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchReadTokenRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenRequest build() { - google.devtools.cloudbuild.v2.FetchReadTokenRequest result = buildPartial(); + public com.google.cloudbuild.v2.FetchReadTokenRequest build() { + com.google.cloudbuild.v2.FetchReadTokenRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,9 +347,9 @@ public google.devtools.cloudbuild.v2.FetchReadTokenRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenRequest buildPartial() { - google.devtools.cloudbuild.v2.FetchReadTokenRequest result = - new google.devtools.cloudbuild.v2.FetchReadTokenRequest(this); + public com.google.cloudbuild.v2.FetchReadTokenRequest buildPartial() { + com.google.cloudbuild.v2.FetchReadTokenRequest result = + new com.google.cloudbuild.v2.FetchReadTokenRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -357,7 +357,7 @@ public google.devtools.cloudbuild.v2.FetchReadTokenRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.FetchReadTokenRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchReadTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.repository_ = repository_; @@ -399,17 +399,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchReadTokenRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchReadTokenRequest) other); + if (other instanceof com.google.cloudbuild.v2.FetchReadTokenRequest) { + return mergeFrom((com.google.cloudbuild.v2.FetchReadTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.FetchReadTokenRequest other) { - if (other == google.devtools.cloudbuild.v2.FetchReadTokenRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloudbuild.v2.FetchReadTokenRequest other) { + if (other == com.google.cloudbuild.v2.FetchReadTokenRequest.getDefaultInstance()) return this; if (!other.getRepository().isEmpty()) { repository_ = other.repository_; bitField0_ |= 0x00000001; @@ -602,13 +601,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchReadTokenRequest) - private static final google.devtools.cloudbuild.v2.FetchReadTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchReadTokenRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchReadTokenRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchReadTokenRequest(); } - public static google.devtools.cloudbuild.v2.FetchReadTokenRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchReadTokenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -644,7 +643,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchReadTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java similarity index 97% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java index 635d3fc313cd..c4c1c9ebaf2a 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchReadTokenRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponse.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponse.java index 2dc94247d6cb..651d2e285135 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadTokenResponse.class, - google.devtools.cloudbuild.v2.FetchReadTokenResponse.Builder.class); + com.google.cloudbuild.v2.FetchReadTokenResponse.class, + com.google.cloudbuild.v2.FetchReadTokenResponse.Builder.class); } public static final int TOKEN_FIELD_NUMBER = 1; @@ -213,11 +213,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchReadTokenResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchReadTokenResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchReadTokenResponse other = - (google.devtools.cloudbuild.v2.FetchReadTokenResponse) obj; + com.google.cloudbuild.v2.FetchReadTokenResponse other = + (com.google.cloudbuild.v2.FetchReadTokenResponse) obj; if (!getToken().equals(other.getToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; @@ -246,71 +246,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom(byte[] data) + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -327,7 +327,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.FetchReadTokenResponse prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.FetchReadTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -353,23 +353,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchReadTokenResponse) - google.devtools.cloudbuild.v2.FetchReadTokenResponseOrBuilder { + com.google.cloudbuild.v2.FetchReadTokenResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadTokenResponse.class, - google.devtools.cloudbuild.v2.FetchReadTokenResponse.Builder.class); + com.google.cloudbuild.v2.FetchReadTokenResponse.class, + com.google.cloudbuild.v2.FetchReadTokenResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchReadTokenResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchReadTokenResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -391,18 +391,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadTokenResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenResponse getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchReadTokenResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchReadTokenResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchReadTokenResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenResponse build() { - google.devtools.cloudbuild.v2.FetchReadTokenResponse result = buildPartial(); + public com.google.cloudbuild.v2.FetchReadTokenResponse build() { + com.google.cloudbuild.v2.FetchReadTokenResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -410,9 +410,9 @@ public google.devtools.cloudbuild.v2.FetchReadTokenResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenResponse buildPartial() { - google.devtools.cloudbuild.v2.FetchReadTokenResponse result = - new google.devtools.cloudbuild.v2.FetchReadTokenResponse(this); + public com.google.cloudbuild.v2.FetchReadTokenResponse buildPartial() { + com.google.cloudbuild.v2.FetchReadTokenResponse result = + new com.google.cloudbuild.v2.FetchReadTokenResponse(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -420,7 +420,7 @@ public google.devtools.cloudbuild.v2.FetchReadTokenResponse buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.FetchReadTokenResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchReadTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.token_ = token_; @@ -466,16 +466,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchReadTokenResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchReadTokenResponse) other); + if (other instanceof com.google.cloudbuild.v2.FetchReadTokenResponse) { + return mergeFrom((com.google.cloudbuild.v2.FetchReadTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.FetchReadTokenResponse other) { - if (other == google.devtools.cloudbuild.v2.FetchReadTokenResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.FetchReadTokenResponse other) { + if (other == com.google.cloudbuild.v2.FetchReadTokenResponse.getDefaultInstance()) return this; if (!other.getToken().isEmpty()) { token_ = other.token_; @@ -846,13 +846,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchReadTokenResponse) - private static final google.devtools.cloudbuild.v2.FetchReadTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchReadTokenResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchReadTokenResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchReadTokenResponse(); } - public static google.devtools.cloudbuild.v2.FetchReadTokenResponse getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchReadTokenResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -888,7 +888,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadTokenResponse getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchReadTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java index 075b105abfcf..0cffcc9d0862 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadTokenResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchReadTokenResponseOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequest.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequest.java index d2b7a5425744..7fb5c84c5377 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.class, - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.Builder.class); + com.google.cloudbuild.v2.FetchReadWriteTokenRequest.class, + com.google.cloudbuild.v2.FetchReadWriteTokenRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; @@ -163,11 +163,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchReadWriteTokenRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest other = - (google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) obj; + com.google.cloudbuild.v2.FetchReadWriteTokenRequest other = + (com.google.cloudbuild.v2.FetchReadWriteTokenRequest) obj; if (!getRepository().equals(other.getRepository())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -188,71 +188,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -269,8 +269,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.FetchReadWriteTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -296,23 +295,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequestOrBuilder { + com.google.cloudbuild.v2.FetchReadWriteTokenRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.class, - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.Builder.class); + com.google.cloudbuild.v2.FetchReadWriteTokenRequest.class, + com.google.cloudbuild.v2.FetchReadWriteTokenRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchReadWriteTokenRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -329,18 +328,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchReadWriteTokenRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest build() { - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest result = buildPartial(); + public com.google.cloudbuild.v2.FetchReadWriteTokenRequest build() { + com.google.cloudbuild.v2.FetchReadWriteTokenRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -348,9 +347,9 @@ public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest buildPartial() { - google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest result = - new google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest(this); + public com.google.cloudbuild.v2.FetchReadWriteTokenRequest buildPartial() { + com.google.cloudbuild.v2.FetchReadWriteTokenRequest result = + new com.google.cloudbuild.v2.FetchReadWriteTokenRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -358,7 +357,7 @@ public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchReadWriteTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.repository_ = repository_; @@ -400,16 +399,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) other); + if (other instanceof com.google.cloudbuild.v2.FetchReadWriteTokenRequest) { + return mergeFrom((com.google.cloudbuild.v2.FetchReadWriteTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest other) { - if (other == google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.FetchReadWriteTokenRequest other) { + if (other == com.google.cloudbuild.v2.FetchReadWriteTokenRequest.getDefaultInstance()) return this; if (!other.getRepository().isEmpty()) { repository_ = other.repository_; @@ -603,13 +602,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest) - private static final google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchReadWriteTokenRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchReadWriteTokenRequest(); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -645,7 +644,7 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchReadWriteTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java similarity index 97% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java index d61c4a46d6cb..f11829a73b8d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchReadWriteTokenRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponse.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponse.java index 513e5da03638..0db239ad5e3f 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.class, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.Builder.class); + com.google.cloudbuild.v2.FetchReadWriteTokenResponse.class, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse.Builder.class); } public static final int TOKEN_FIELD_NUMBER = 1; @@ -213,11 +213,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.FetchReadWriteTokenResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse other = - (google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse) obj; + com.google.cloudbuild.v2.FetchReadWriteTokenResponse other = + (com.google.cloudbuild.v2.FetchReadWriteTokenResponse) obj; if (!getToken().equals(other.getToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; @@ -246,71 +246,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom(byte[] data) + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -327,8 +327,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.FetchReadWriteTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -354,23 +353,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse) - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponseOrBuilder { + com.google.cloudbuild.v2.FetchReadWriteTokenResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.class, - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.Builder.class); + com.google.cloudbuild.v2.FetchReadWriteTokenResponse.class, + com.google.cloudbuild.v2.FetchReadWriteTokenResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.FetchReadWriteTokenResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -392,18 +391,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_FetchReadWriteTokenResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.FetchReadWriteTokenResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse build() { - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse result = buildPartial(); + public com.google.cloudbuild.v2.FetchReadWriteTokenResponse build() { + com.google.cloudbuild.v2.FetchReadWriteTokenResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -411,9 +410,9 @@ public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse buildPartial() { - google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse result = - new google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse(this); + public com.google.cloudbuild.v2.FetchReadWriteTokenResponse buildPartial() { + com.google.cloudbuild.v2.FetchReadWriteTokenResponse result = + new com.google.cloudbuild.v2.FetchReadWriteTokenResponse(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -421,7 +420,7 @@ public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse buildPartial() return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.FetchReadWriteTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.token_ = token_; @@ -467,16 +466,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse) other); + if (other instanceof com.google.cloudbuild.v2.FetchReadWriteTokenResponse) { + return mergeFrom((com.google.cloudbuild.v2.FetchReadWriteTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse other) { - if (other == google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.FetchReadWriteTokenResponse other) { + if (other == com.google.cloudbuild.v2.FetchReadWriteTokenResponse.getDefaultInstance()) return this; if (!other.getToken().isEmpty()) { token_ = other.token_; @@ -847,13 +846,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse) - private static final google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.FetchReadWriteTokenResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.FetchReadWriteTokenResponse(); } - public static google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstance() { + public static com.google.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -889,7 +888,7 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstanceForType() { + public com.google.cloudbuild.v2.FetchReadWriteTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java index 0e117fe7106c..67b7d7a59dc1 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/FetchReadWriteTokenResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface FetchReadWriteTokenResponseOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequest.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequest.java index 0a01274d8108..675c4622c3eb 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GetConnectionRequest.class, - google.devtools.cloudbuild.v2.GetConnectionRequest.Builder.class); + com.google.cloudbuild.v2.GetConnectionRequest.class, + com.google.cloudbuild.v2.GetConnectionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -163,11 +163,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.GetConnectionRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.GetConnectionRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.GetConnectionRequest other = - (google.devtools.cloudbuild.v2.GetConnectionRequest) obj; + com.google.cloudbuild.v2.GetConnectionRequest other = + (com.google.cloudbuild.v2.GetConnectionRequest) obj; if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -188,71 +188,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.GetConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -269,7 +269,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.GetConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.GetConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -295,23 +295,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.GetConnectionRequest) - google.devtools.cloudbuild.v2.GetConnectionRequestOrBuilder { + com.google.cloudbuild.v2.GetConnectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GetConnectionRequest.class, - google.devtools.cloudbuild.v2.GetConnectionRequest.Builder.class); + com.google.cloudbuild.v2.GetConnectionRequest.class, + com.google.cloudbuild.v2.GetConnectionRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.GetConnectionRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.GetConnectionRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -328,18 +328,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetConnectionRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.GetConnectionRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.GetConnectionRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.GetConnectionRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.GetConnectionRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.GetConnectionRequest build() { - google.devtools.cloudbuild.v2.GetConnectionRequest result = buildPartial(); + public com.google.cloudbuild.v2.GetConnectionRequest build() { + com.google.cloudbuild.v2.GetConnectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,9 +347,9 @@ public google.devtools.cloudbuild.v2.GetConnectionRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GetConnectionRequest buildPartial() { - google.devtools.cloudbuild.v2.GetConnectionRequest result = - new google.devtools.cloudbuild.v2.GetConnectionRequest(this); + public com.google.cloudbuild.v2.GetConnectionRequest buildPartial() { + com.google.cloudbuild.v2.GetConnectionRequest result = + new com.google.cloudbuild.v2.GetConnectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -357,7 +357,7 @@ public google.devtools.cloudbuild.v2.GetConnectionRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.GetConnectionRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.GetConnectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -399,17 +399,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.GetConnectionRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.GetConnectionRequest) other); + if (other instanceof com.google.cloudbuild.v2.GetConnectionRequest) { + return mergeFrom((com.google.cloudbuild.v2.GetConnectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.GetConnectionRequest other) { - if (other == google.devtools.cloudbuild.v2.GetConnectionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloudbuild.v2.GetConnectionRequest other) { + if (other == com.google.cloudbuild.v2.GetConnectionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -602,13 +601,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.GetConnectionRequest) - private static final google.devtools.cloudbuild.v2.GetConnectionRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.GetConnectionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.GetConnectionRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.GetConnectionRequest(); } - public static google.devtools.cloudbuild.v2.GetConnectionRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.GetConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -644,7 +643,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GetConnectionRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.GetConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequestOrBuilder.java similarity index 97% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequestOrBuilder.java index e5c88fd47391..8f1ee3df66eb 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetConnectionRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetConnectionRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface GetConnectionRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequest.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequest.java index f4c6284f3cf5..ed3d75467a9e 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,18 +53,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GetRepositoryRequest.class, - google.devtools.cloudbuild.v2.GetRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.GetRepositoryRequest.class, + com.google.cloudbuild.v2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -163,11 +163,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.GetRepositoryRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.GetRepositoryRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.GetRepositoryRequest other = - (google.devtools.cloudbuild.v2.GetRepositoryRequest) obj; + com.google.cloudbuild.v2.GetRepositoryRequest other = + (com.google.cloudbuild.v2.GetRepositoryRequest) obj; if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -188,71 +188,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest parseFrom( + public static com.google.cloudbuild.v2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -269,7 +269,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -295,23 +295,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.GetRepositoryRequest) - google.devtools.cloudbuild.v2.GetRepositoryRequestOrBuilder { + com.google.cloudbuild.v2.GetRepositoryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GetRepositoryRequest.class, - google.devtools.cloudbuild.v2.GetRepositoryRequest.Builder.class); + com.google.cloudbuild.v2.GetRepositoryRequest.class, + com.google.cloudbuild.v2.GetRepositoryRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.GetRepositoryRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.GetRepositoryRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -328,18 +328,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GetRepositoryRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.GetRepositoryRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.GetRepositoryRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.GetRepositoryRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.GetRepositoryRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.GetRepositoryRequest build() { - google.devtools.cloudbuild.v2.GetRepositoryRequest result = buildPartial(); + public com.google.cloudbuild.v2.GetRepositoryRequest build() { + com.google.cloudbuild.v2.GetRepositoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,9 +347,9 @@ public google.devtools.cloudbuild.v2.GetRepositoryRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GetRepositoryRequest buildPartial() { - google.devtools.cloudbuild.v2.GetRepositoryRequest result = - new google.devtools.cloudbuild.v2.GetRepositoryRequest(this); + public com.google.cloudbuild.v2.GetRepositoryRequest buildPartial() { + com.google.cloudbuild.v2.GetRepositoryRequest result = + new com.google.cloudbuild.v2.GetRepositoryRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -357,7 +357,7 @@ public google.devtools.cloudbuild.v2.GetRepositoryRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.GetRepositoryRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.GetRepositoryRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -399,17 +399,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.GetRepositoryRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.GetRepositoryRequest) other); + if (other instanceof com.google.cloudbuild.v2.GetRepositoryRequest) { + return mergeFrom((com.google.cloudbuild.v2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.GetRepositoryRequest other) { - if (other == google.devtools.cloudbuild.v2.GetRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloudbuild.v2.GetRepositoryRequest other) { + if (other == com.google.cloudbuild.v2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -602,13 +601,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.GetRepositoryRequest) - private static final google.devtools.cloudbuild.v2.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.GetRepositoryRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.GetRepositoryRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.GetRepositoryRequest(); } - public static google.devtools.cloudbuild.v2.GetRepositoryRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.GetRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -644,7 +643,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequestOrBuilder.java similarity index 97% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequestOrBuilder.java index ee12fec0943f..cf0f8401a57c 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GetRepositoryRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GetRepositoryRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface GetRepositoryRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfig.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfig.java similarity index 81% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfig.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfig.java index 5bb4ccab9f95..a9671a2ac638 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfig.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -51,22 +51,22 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GitHubConfig.class, - google.devtools.cloudbuild.v2.GitHubConfig.Builder.class); + com.google.cloudbuild.v2.GitHubConfig.class, + com.google.cloudbuild.v2.GitHubConfig.Builder.class); } public static final int AUTHORIZER_CREDENTIAL_FIELD_NUMBER = 1; - private google.devtools.cloudbuild.v2.OAuthCredential authorizerCredential_; + private com.google.cloudbuild.v2.OAuthCredential authorizerCredential_; /** * * @@ -98,9 +98,9 @@ public boolean hasAuthorizerCredential() { * @return The authorizerCredential. */ @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { + public com.google.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { return authorizerCredential_ == null - ? google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance() + ? com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance() : authorizerCredential_; } /** @@ -115,9 +115,9 @@ public google.devtools.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder() { + public com.google.cloudbuild.v2.OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder() { return authorizerCredential_ == null - ? google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance() + ? com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance() : authorizerCredential_; } @@ -185,11 +185,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.GitHubConfig)) { + if (!(obj instanceof com.google.cloudbuild.v2.GitHubConfig)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.GitHubConfig other = - (google.devtools.cloudbuild.v2.GitHubConfig) obj; + com.google.cloudbuild.v2.GitHubConfig other = (com.google.cloudbuild.v2.GitHubConfig) obj; if (hasAuthorizerCredential() != other.hasAuthorizerCredential()) return false; if (hasAuthorizerCredential()) { @@ -218,71 +217,70 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.GitHubConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( - com.google.protobuf.ByteString data) + public static com.google.cloudbuild.v2.GitHubConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom(byte[] data) + public static com.google.cloudbuild.v2.GitHubConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.GitHubConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.GitHubConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseDelimitedFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -299,7 +297,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.GitHubConfig prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.GitHubConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -325,23 +323,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.GitHubConfig) - google.devtools.cloudbuild.v2.GitHubConfigOrBuilder { + com.google.cloudbuild.v2.GitHubConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GitHubConfig.class, - google.devtools.cloudbuild.v2.GitHubConfig.Builder.class); + com.google.cloudbuild.v2.GitHubConfig.class, + com.google.cloudbuild.v2.GitHubConfig.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.GitHubConfig.newBuilder() + // Construct using com.google.cloudbuild.v2.GitHubConfig.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -363,18 +361,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubConfig_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance(); + public com.google.cloudbuild.v2.GitHubConfig getDefaultInstanceForType() { + return com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig build() { - google.devtools.cloudbuild.v2.GitHubConfig result = buildPartial(); + public com.google.cloudbuild.v2.GitHubConfig build() { + com.google.cloudbuild.v2.GitHubConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -382,9 +380,9 @@ public google.devtools.cloudbuild.v2.GitHubConfig build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig buildPartial() { - google.devtools.cloudbuild.v2.GitHubConfig result = - new google.devtools.cloudbuild.v2.GitHubConfig(this); + public com.google.cloudbuild.v2.GitHubConfig buildPartial() { + com.google.cloudbuild.v2.GitHubConfig result = + new com.google.cloudbuild.v2.GitHubConfig(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -392,7 +390,7 @@ public google.devtools.cloudbuild.v2.GitHubConfig buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.GitHubConfig result) { + private void buildPartial0(com.google.cloudbuild.v2.GitHubConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.authorizerCredential_ = @@ -440,16 +438,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.GitHubConfig) { - return mergeFrom((google.devtools.cloudbuild.v2.GitHubConfig) other); + if (other instanceof com.google.cloudbuild.v2.GitHubConfig) { + return mergeFrom((com.google.cloudbuild.v2.GitHubConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.GitHubConfig other) { - if (other == google.devtools.cloudbuild.v2.GitHubConfig.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloudbuild.v2.GitHubConfig other) { + if (other == com.google.cloudbuild.v2.GitHubConfig.getDefaultInstance()) return this; if (other.hasAuthorizerCredential()) { mergeAuthorizerCredential(other.getAuthorizerCredential()); } @@ -514,11 +512,11 @@ public Builder mergeFrom( private int bitField0_; - private google.devtools.cloudbuild.v2.OAuthCredential authorizerCredential_; + private com.google.cloudbuild.v2.OAuthCredential authorizerCredential_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.OAuthCredential, - google.devtools.cloudbuild.v2.OAuthCredential.Builder, - google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder> + com.google.cloudbuild.v2.OAuthCredential, + com.google.cloudbuild.v2.OAuthCredential.Builder, + com.google.cloudbuild.v2.OAuthCredentialOrBuilder> authorizerCredentialBuilder_; /** * @@ -549,10 +547,10 @@ public boolean hasAuthorizerCredential() { * * @return The authorizerCredential. */ - public google.devtools.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { + public com.google.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { if (authorizerCredentialBuilder_ == null) { return authorizerCredential_ == null - ? google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance() + ? com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance() : authorizerCredential_; } else { return authorizerCredentialBuilder_.getMessage(); @@ -569,7 +567,7 @@ public google.devtools.cloudbuild.v2.OAuthCredential getAuthorizerCredential() { * * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ - public Builder setAuthorizerCredential(google.devtools.cloudbuild.v2.OAuthCredential value) { + public Builder setAuthorizerCredential(com.google.cloudbuild.v2.OAuthCredential value) { if (authorizerCredentialBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -594,7 +592,7 @@ public Builder setAuthorizerCredential(google.devtools.cloudbuild.v2.OAuthCreden * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ public Builder setAuthorizerCredential( - google.devtools.cloudbuild.v2.OAuthCredential.Builder builderForValue) { + com.google.cloudbuild.v2.OAuthCredential.Builder builderForValue) { if (authorizerCredentialBuilder_ == null) { authorizerCredential_ = builderForValue.build(); } else { @@ -615,12 +613,12 @@ public Builder setAuthorizerCredential( * * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ - public Builder mergeAuthorizerCredential(google.devtools.cloudbuild.v2.OAuthCredential value) { + public Builder mergeAuthorizerCredential(com.google.cloudbuild.v2.OAuthCredential value) { if (authorizerCredentialBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && authorizerCredential_ != null && authorizerCredential_ - != google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance()) { + != com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance()) { getAuthorizerCredentialBuilder().mergeFrom(value); } else { authorizerCredential_ = value; @@ -664,7 +662,7 @@ public Builder clearAuthorizerCredential() { * * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ - public google.devtools.cloudbuild.v2.OAuthCredential.Builder getAuthorizerCredentialBuilder() { + public com.google.cloudbuild.v2.OAuthCredential.Builder getAuthorizerCredentialBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAuthorizerCredentialFieldBuilder().getBuilder(); @@ -680,13 +678,12 @@ public google.devtools.cloudbuild.v2.OAuthCredential.Builder getAuthorizerCreden * * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ - public google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder - getAuthorizerCredentialOrBuilder() { + public com.google.cloudbuild.v2.OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder() { if (authorizerCredentialBuilder_ != null) { return authorizerCredentialBuilder_.getMessageOrBuilder(); } else { return authorizerCredential_ == null - ? google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance() + ? com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance() : authorizerCredential_; } } @@ -702,16 +699,16 @@ public google.devtools.cloudbuild.v2.OAuthCredential.Builder getAuthorizerCreden * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.OAuthCredential, - google.devtools.cloudbuild.v2.OAuthCredential.Builder, - google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder> + com.google.cloudbuild.v2.OAuthCredential, + com.google.cloudbuild.v2.OAuthCredential.Builder, + com.google.cloudbuild.v2.OAuthCredentialOrBuilder> getAuthorizerCredentialFieldBuilder() { if (authorizerCredentialBuilder_ == null) { authorizerCredentialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.OAuthCredential, - google.devtools.cloudbuild.v2.OAuthCredential.Builder, - google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder>( + com.google.cloudbuild.v2.OAuthCredential, + com.google.cloudbuild.v2.OAuthCredential.Builder, + com.google.cloudbuild.v2.OAuthCredentialOrBuilder>( getAuthorizerCredential(), getParentForChildren(), isClean()); authorizerCredential_ = null; } @@ -786,13 +783,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.GitHubConfig) - private static final google.devtools.cloudbuild.v2.GitHubConfig DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.GitHubConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.GitHubConfig(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.GitHubConfig(); } - public static google.devtools.cloudbuild.v2.GitHubConfig getDefaultInstance() { + public static com.google.cloudbuild.v2.GitHubConfig getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -828,7 +825,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubConfig getDefaultInstanceForType() { + public com.google.cloudbuild.v2.GitHubConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfigOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfigOrBuilder.java similarity index 91% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfigOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfigOrBuilder.java index 6376d053a113..5d41cece1148 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubConfigOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface GitHubConfigOrBuilder extends @@ -50,7 +50,7 @@ public interface GitHubConfigOrBuilder * * @return The authorizerCredential. */ - google.devtools.cloudbuild.v2.OAuthCredential getAuthorizerCredential(); + com.google.cloudbuild.v2.OAuthCredential getAuthorizerCredential(); /** * * @@ -62,7 +62,7 @@ public interface GitHubConfigOrBuilder * * .google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1; */ - google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder(); + com.google.cloudbuild.v2.OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfig.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfig.java similarity index 92% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfig.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfig.java index 4e0213338cae..1dd103f5729d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfig.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -59,18 +59,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubEnterpriseConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubEnterpriseConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.class, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder.class); + com.google.cloudbuild.v2.GitHubEnterpriseConfig.class, + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder.class); } public static final int HOST_URI_FIELD_NUMBER = 1; @@ -371,7 +371,7 @@ public long getAppInstallationId() { } public static final int SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER = 10; - private google.devtools.cloudbuild.v2.ServiceDirectoryConfig serviceDirectoryConfig_; + private com.google.cloudbuild.v2.ServiceDirectoryConfig serviceDirectoryConfig_; /** * * @@ -409,9 +409,9 @@ public boolean hasServiceDirectoryConfig() { * @return The serviceDirectoryConfig. */ @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig() { + public com.google.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig() { return serviceDirectoryConfig_ == null - ? google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() + ? com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() : serviceDirectoryConfig_; } /** @@ -429,10 +429,10 @@ public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryC * */ @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder + public com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder() { return serviceDirectoryConfig_ == null - ? google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() + ? com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() : serviceDirectoryConfig_; } @@ -633,11 +633,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.GitHubEnterpriseConfig)) { + if (!(obj instanceof com.google.cloudbuild.v2.GitHubEnterpriseConfig)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig other = - (google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) obj; + com.google.cloudbuild.v2.GitHubEnterpriseConfig other = + (com.google.cloudbuild.v2.GitHubEnterpriseConfig) obj; if (!getHostUri().equals(other.getHostUri())) return false; if (!getApiKey().equals(other.getApiKey())) return false; @@ -691,71 +691,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom(byte[] data) + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseDelimitedFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseDelimitedFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -772,7 +772,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.GitHubEnterpriseConfig prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.GitHubEnterpriseConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -798,23 +798,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) - google.devtools.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder { + com.google.cloudbuild.v2.GitHubEnterpriseConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubEnterpriseConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubEnterpriseConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.class, - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.Builder.class); + com.google.cloudbuild.v2.GitHubEnterpriseConfig.class, + com.google.cloudbuild.v2.GitHubEnterpriseConfig.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.newBuilder() + // Construct using com.google.cloudbuild.v2.GitHubEnterpriseConfig.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -844,18 +844,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_GitHubEnterpriseConfig_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); + public com.google.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstanceForType() { + return com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig build() { - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig result = buildPartial(); + public com.google.cloudbuild.v2.GitHubEnterpriseConfig build() { + com.google.cloudbuild.v2.GitHubEnterpriseConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -863,9 +863,9 @@ public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig buildPartial() { - google.devtools.cloudbuild.v2.GitHubEnterpriseConfig result = - new google.devtools.cloudbuild.v2.GitHubEnterpriseConfig(this); + public com.google.cloudbuild.v2.GitHubEnterpriseConfig buildPartial() { + com.google.cloudbuild.v2.GitHubEnterpriseConfig result = + new com.google.cloudbuild.v2.GitHubEnterpriseConfig(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -873,7 +873,7 @@ public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.GitHubEnterpriseConfig result) { + private void buildPartial0(com.google.cloudbuild.v2.GitHubEnterpriseConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.hostUri_ = hostUri_; @@ -945,16 +945,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) { - return mergeFrom((google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) other); + if (other instanceof com.google.cloudbuild.v2.GitHubEnterpriseConfig) { + return mergeFrom((com.google.cloudbuild.v2.GitHubEnterpriseConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.GitHubEnterpriseConfig other) { - if (other == google.devtools.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.GitHubEnterpriseConfig other) { + if (other == com.google.cloudbuild.v2.GitHubEnterpriseConfig.getDefaultInstance()) return this; if (!other.getHostUri().isEmpty()) { hostUri_ = other.hostUri_; @@ -1762,11 +1762,11 @@ public Builder clearAppInstallationId() { return this; } - private google.devtools.cloudbuild.v2.ServiceDirectoryConfig serviceDirectoryConfig_; + private com.google.cloudbuild.v2.ServiceDirectoryConfig serviceDirectoryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.ServiceDirectoryConfig, - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder, - google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder> + com.google.cloudbuild.v2.ServiceDirectoryConfig, + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder, + com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder> serviceDirectoryConfigBuilder_; /** * @@ -1803,10 +1803,10 @@ public boolean hasServiceDirectoryConfig() { * * @return The serviceDirectoryConfig. */ - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig() { + public com.google.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig() { if (serviceDirectoryConfigBuilder_ == null) { return serviceDirectoryConfig_ == null - ? google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() + ? com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() : serviceDirectoryConfig_; } else { return serviceDirectoryConfigBuilder_.getMessage(); @@ -1827,7 +1827,7 @@ public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryC * */ public Builder setServiceDirectoryConfig( - google.devtools.cloudbuild.v2.ServiceDirectoryConfig value) { + com.google.cloudbuild.v2.ServiceDirectoryConfig value) { if (serviceDirectoryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1855,7 +1855,7 @@ public Builder setServiceDirectoryConfig( * */ public Builder setServiceDirectoryConfig( - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder builderForValue) { + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder builderForValue) { if (serviceDirectoryConfigBuilder_ == null) { serviceDirectoryConfig_ = builderForValue.build(); } else { @@ -1880,12 +1880,12 @@ public Builder setServiceDirectoryConfig( * */ public Builder mergeServiceDirectoryConfig( - google.devtools.cloudbuild.v2.ServiceDirectoryConfig value) { + com.google.cloudbuild.v2.ServiceDirectoryConfig value) { if (serviceDirectoryConfigBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && serviceDirectoryConfig_ != null && serviceDirectoryConfig_ - != google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance()) { + != com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance()) { getServiceDirectoryConfigBuilder().mergeFrom(value); } else { serviceDirectoryConfig_ = value; @@ -1935,7 +1935,7 @@ public Builder clearServiceDirectoryConfig() { * .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10; * */ - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder + public com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder getServiceDirectoryConfigBuilder() { bitField0_ |= 0x00000080; onChanged(); @@ -1955,13 +1955,13 @@ public Builder clearServiceDirectoryConfig() { * .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10; * */ - public google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder + public com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder() { if (serviceDirectoryConfigBuilder_ != null) { return serviceDirectoryConfigBuilder_.getMessageOrBuilder(); } else { return serviceDirectoryConfig_ == null - ? google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() + ? com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance() : serviceDirectoryConfig_; } } @@ -1980,16 +1980,16 @@ public Builder clearServiceDirectoryConfig() { * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.ServiceDirectoryConfig, - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder, - google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder> + com.google.cloudbuild.v2.ServiceDirectoryConfig, + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder, + com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder> getServiceDirectoryConfigFieldBuilder() { if (serviceDirectoryConfigBuilder_ == null) { serviceDirectoryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.ServiceDirectoryConfig, - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder, - google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder>( + com.google.cloudbuild.v2.ServiceDirectoryConfig, + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder, + com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder>( getServiceDirectoryConfig(), getParentForChildren(), isClean()); serviceDirectoryConfig_ = null; } @@ -2223,13 +2223,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.GitHubEnterpriseConfig) - private static final google.devtools.cloudbuild.v2.GitHubEnterpriseConfig DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.GitHubEnterpriseConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.GitHubEnterpriseConfig(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.GitHubEnterpriseConfig(); } - public static google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstance() { + public static com.google.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -2265,7 +2265,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstanceForType() { + public com.google.cloudbuild.v2.GitHubEnterpriseConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java similarity index 96% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java index 5e9672154f05..0e85584de89e 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/GitHubEnterpriseConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface GitHubEnterpriseConfigOrBuilder extends @@ -213,7 +213,7 @@ public interface GitHubEnterpriseConfigOrBuilder * * @return The serviceDirectoryConfig. */ - google.devtools.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig(); + com.google.cloudbuild.v2.ServiceDirectoryConfig getServiceDirectoryConfig(); /** * * @@ -228,8 +228,7 @@ public interface GitHubEnterpriseConfigOrBuilder * .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10; * */ - google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder - getServiceDirectoryConfigOrBuilder(); + com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationState.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationState.java similarity index 88% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationState.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationState.java index 9214154eaa3f..b8e594e557af 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationState.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationState.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -57,18 +57,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_InstallationState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_InstallationState_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.InstallationState.class, - google.devtools.cloudbuild.v2.InstallationState.Builder.class); + com.google.cloudbuild.v2.InstallationState.class, + com.google.cloudbuild.v2.InstallationState.Builder.class); } /** @@ -250,7 +250,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return google.devtools.cloudbuild.v2.InstallationState.getDescriptor().getEnumTypes().get(0); + return com.google.cloudbuild.v2.InstallationState.getDescriptor().getEnumTypes().get(0); } private static final Stage[] VALUES = values(); @@ -307,12 +307,10 @@ public int getStageValue() { * @return The stage. */ @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState.Stage getStage() { - google.devtools.cloudbuild.v2.InstallationState.Stage result = - google.devtools.cloudbuild.v2.InstallationState.Stage.forNumber(stage_); - return result == null - ? google.devtools.cloudbuild.v2.InstallationState.Stage.UNRECOGNIZED - : result; + public com.google.cloudbuild.v2.InstallationState.Stage getStage() { + com.google.cloudbuild.v2.InstallationState.Stage result = + com.google.cloudbuild.v2.InstallationState.Stage.forNumber(stage_); + return result == null ? com.google.cloudbuild.v2.InstallationState.Stage.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; @@ -435,8 +433,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (stage_ - != google.devtools.cloudbuild.v2.InstallationState.Stage.STAGE_UNSPECIFIED.getNumber()) { + if (stage_ != com.google.cloudbuild.v2.InstallationState.Stage.STAGE_UNSPECIFIED.getNumber()) { output.writeEnum(1, stage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -454,8 +451,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (stage_ - != google.devtools.cloudbuild.v2.InstallationState.Stage.STAGE_UNSPECIFIED.getNumber()) { + if (stage_ != com.google.cloudbuild.v2.InstallationState.Stage.STAGE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, stage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -474,11 +470,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.InstallationState)) { + if (!(obj instanceof com.google.cloudbuild.v2.InstallationState)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.InstallationState other = - (google.devtools.cloudbuild.v2.InstallationState) obj; + com.google.cloudbuild.v2.InstallationState other = + (com.google.cloudbuild.v2.InstallationState) obj; if (stage_ != other.stage_) return false; if (!getMessage().equals(other.getMessage())) return false; @@ -505,71 +501,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.InstallationState parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom(byte[] data) + public static com.google.cloudbuild.v2.InstallationState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.InstallationState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.InstallationState parseDelimitedFrom( + public static com.google.cloudbuild.v2.InstallationState parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.InstallationState parseDelimitedFrom( + public static com.google.cloudbuild.v2.InstallationState parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.InstallationState parseFrom( + public static com.google.cloudbuild.v2.InstallationState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -586,7 +582,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.InstallationState prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.InstallationState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -614,23 +610,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.InstallationState) - google.devtools.cloudbuild.v2.InstallationStateOrBuilder { + com.google.cloudbuild.v2.InstallationStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_InstallationState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_InstallationState_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.InstallationState.class, - google.devtools.cloudbuild.v2.InstallationState.Builder.class); + com.google.cloudbuild.v2.InstallationState.class, + com.google.cloudbuild.v2.InstallationState.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.InstallationState.newBuilder() + // Construct using com.google.cloudbuild.v2.InstallationState.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -649,18 +645,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_InstallationState_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance(); + public com.google.cloudbuild.v2.InstallationState getDefaultInstanceForType() { + return com.google.cloudbuild.v2.InstallationState.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState build() { - google.devtools.cloudbuild.v2.InstallationState result = buildPartial(); + public com.google.cloudbuild.v2.InstallationState build() { + com.google.cloudbuild.v2.InstallationState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -668,9 +664,9 @@ public google.devtools.cloudbuild.v2.InstallationState build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState buildPartial() { - google.devtools.cloudbuild.v2.InstallationState result = - new google.devtools.cloudbuild.v2.InstallationState(this); + public com.google.cloudbuild.v2.InstallationState buildPartial() { + com.google.cloudbuild.v2.InstallationState result = + new com.google.cloudbuild.v2.InstallationState(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -678,7 +674,7 @@ public google.devtools.cloudbuild.v2.InstallationState buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.InstallationState result) { + private void buildPartial0(com.google.cloudbuild.v2.InstallationState result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.stage_ = stage_; @@ -726,17 +722,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.InstallationState) { - return mergeFrom((google.devtools.cloudbuild.v2.InstallationState) other); + if (other instanceof com.google.cloudbuild.v2.InstallationState) { + return mergeFrom((com.google.cloudbuild.v2.InstallationState) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.InstallationState other) { - if (other == google.devtools.cloudbuild.v2.InstallationState.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloudbuild.v2.InstallationState other) { + if (other == com.google.cloudbuild.v2.InstallationState.getDefaultInstance()) return this; if (other.stage_ != 0) { setStageValue(other.getStageValue()); } @@ -865,11 +860,11 @@ public Builder setStageValue(int value) { * @return The stage. */ @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState.Stage getStage() { - google.devtools.cloudbuild.v2.InstallationState.Stage result = - google.devtools.cloudbuild.v2.InstallationState.Stage.forNumber(stage_); + public com.google.cloudbuild.v2.InstallationState.Stage getStage() { + com.google.cloudbuild.v2.InstallationState.Stage result = + com.google.cloudbuild.v2.InstallationState.Stage.forNumber(stage_); return result == null - ? google.devtools.cloudbuild.v2.InstallationState.Stage.UNRECOGNIZED + ? com.google.cloudbuild.v2.InstallationState.Stage.UNRECOGNIZED : result; } /** @@ -886,7 +881,7 @@ public google.devtools.cloudbuild.v2.InstallationState.Stage getStage() { * @param value The stage to set. * @return This builder for chaining. */ - public Builder setStage(google.devtools.cloudbuild.v2.InstallationState.Stage value) { + public Builder setStage(com.google.cloudbuild.v2.InstallationState.Stage value) { if (value == null) { throw new NullPointerException(); } @@ -1152,13 +1147,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.InstallationState) - private static final google.devtools.cloudbuild.v2.InstallationState DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.InstallationState DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.InstallationState(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.InstallationState(); } - public static google.devtools.cloudbuild.v2.InstallationState getDefaultInstance() { + public static com.google.cloudbuild.v2.InstallationState getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1194,7 +1189,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.InstallationState getDefaultInstanceForType() { + public com.google.cloudbuild.v2.InstallationState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationStateOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationStateOrBuilder.java similarity index 96% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationStateOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationStateOrBuilder.java index 3d6710479e1f..c932cd85a89d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/InstallationStateOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/InstallationStateOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface InstallationStateOrBuilder extends @@ -50,7 +50,7 @@ public interface InstallationStateOrBuilder * * @return The stage. */ - google.devtools.cloudbuild.v2.InstallationState.Stage getStage(); + com.google.cloudbuild.v2.InstallationState.Stage getStage(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequest.java similarity index 87% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequest.java index c1376b8b7be0..3102ab406a49 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListConnectionsRequest.class, - google.devtools.cloudbuild.v2.ListConnectionsRequest.Builder.class); + com.google.cloudbuild.v2.ListConnectionsRequest.class, + com.google.cloudbuild.v2.ListConnectionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -245,11 +245,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.ListConnectionsRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.ListConnectionsRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.ListConnectionsRequest other = - (google.devtools.cloudbuild.v2.ListConnectionsRequest) obj; + com.google.cloudbuild.v2.ListConnectionsRequest other = + (com.google.cloudbuild.v2.ListConnectionsRequest) obj; if (!getParent().equals(other.getParent())) return false; if (getPageSize() != other.getPageSize()) return false; @@ -276,71 +276,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -357,7 +357,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.ListConnectionsRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.ListConnectionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -383,23 +383,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.ListConnectionsRequest) - google.devtools.cloudbuild.v2.ListConnectionsRequestOrBuilder { + com.google.cloudbuild.v2.ListConnectionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListConnectionsRequest.class, - google.devtools.cloudbuild.v2.ListConnectionsRequest.Builder.class); + com.google.cloudbuild.v2.ListConnectionsRequest.class, + com.google.cloudbuild.v2.ListConnectionsRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.ListConnectionsRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.ListConnectionsRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -418,18 +418,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.ListConnectionsRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.ListConnectionsRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.ListConnectionsRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsRequest build() { - google.devtools.cloudbuild.v2.ListConnectionsRequest result = buildPartial(); + public com.google.cloudbuild.v2.ListConnectionsRequest build() { + com.google.cloudbuild.v2.ListConnectionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -437,9 +437,9 @@ public google.devtools.cloudbuild.v2.ListConnectionsRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsRequest buildPartial() { - google.devtools.cloudbuild.v2.ListConnectionsRequest result = - new google.devtools.cloudbuild.v2.ListConnectionsRequest(this); + public com.google.cloudbuild.v2.ListConnectionsRequest buildPartial() { + com.google.cloudbuild.v2.ListConnectionsRequest result = + new com.google.cloudbuild.v2.ListConnectionsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -447,7 +447,7 @@ public google.devtools.cloudbuild.v2.ListConnectionsRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.ListConnectionsRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.ListConnectionsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -495,16 +495,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.ListConnectionsRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.ListConnectionsRequest) other); + if (other instanceof com.google.cloudbuild.v2.ListConnectionsRequest) { + return mergeFrom((com.google.cloudbuild.v2.ListConnectionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.ListConnectionsRequest other) { - if (other == google.devtools.cloudbuild.v2.ListConnectionsRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.ListConnectionsRequest other) { + if (other == com.google.cloudbuild.v2.ListConnectionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; @@ -877,13 +877,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.ListConnectionsRequest) - private static final google.devtools.cloudbuild.v2.ListConnectionsRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.ListConnectionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.ListConnectionsRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.ListConnectionsRequest(); } - public static google.devtools.cloudbuild.v2.ListConnectionsRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.ListConnectionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -919,7 +919,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.ListConnectionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequestOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequestOrBuilder.java index b785fa607de6..f1b2144a8453 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ListConnectionsRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponse.java similarity index 81% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponse.java index 3ab9c0fc2b1c..dcff0ddd3752 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,24 +54,24 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListConnectionsResponse.class, - google.devtools.cloudbuild.v2.ListConnectionsResponse.Builder.class); + com.google.cloudbuild.v2.ListConnectionsResponse.class, + com.google.cloudbuild.v2.ListConnectionsResponse.Builder.class); } public static final int CONNECTIONS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List connections_; + private java.util.List connections_; /** * * @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ @java.lang.Override - public java.util.List getConnectionsList() { + public java.util.List getConnectionsList() { return connections_; } /** @@ -95,7 +95,7 @@ public java.util.List getConnectionsLi * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ @java.lang.Override - public java.util.List + public java.util.List getConnectionsOrBuilderList() { return connections_; } @@ -122,7 +122,7 @@ public int getConnectionsCount() { * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.Connection getConnections(int index) { + public com.google.cloudbuild.v2.Connection getConnections(int index) { return connections_.get(index); } /** @@ -135,7 +135,7 @@ public google.devtools.cloudbuild.v2.Connection getConnections(int index) { * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index) { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index) { return connections_.get(index); } @@ -235,11 +235,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.ListConnectionsResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.ListConnectionsResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.ListConnectionsResponse other = - (google.devtools.cloudbuild.v2.ListConnectionsResponse) obj; + com.google.cloudbuild.v2.ListConnectionsResponse other = + (com.google.cloudbuild.v2.ListConnectionsResponse) obj; if (!getConnectionsList().equals(other.getConnectionsList())) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; @@ -265,71 +265,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom(byte[] data) + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse parseFrom( + public static com.google.cloudbuild.v2.ListConnectionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -346,8 +346,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.ListConnectionsResponse prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.ListConnectionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -373,23 +372,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.ListConnectionsResponse) - google.devtools.cloudbuild.v2.ListConnectionsResponseOrBuilder { + com.google.cloudbuild.v2.ListConnectionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListConnectionsResponse.class, - google.devtools.cloudbuild.v2.ListConnectionsResponse.Builder.class); + com.google.cloudbuild.v2.ListConnectionsResponse.class, + com.google.cloudbuild.v2.ListConnectionsResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.ListConnectionsResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.ListConnectionsResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -413,18 +412,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListConnectionsResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsResponse getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.ListConnectionsResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.ListConnectionsResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.ListConnectionsResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsResponse build() { - google.devtools.cloudbuild.v2.ListConnectionsResponse result = buildPartial(); + public com.google.cloudbuild.v2.ListConnectionsResponse build() { + com.google.cloudbuild.v2.ListConnectionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -432,9 +431,9 @@ public google.devtools.cloudbuild.v2.ListConnectionsResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsResponse buildPartial() { - google.devtools.cloudbuild.v2.ListConnectionsResponse result = - new google.devtools.cloudbuild.v2.ListConnectionsResponse(this); + public com.google.cloudbuild.v2.ListConnectionsResponse buildPartial() { + com.google.cloudbuild.v2.ListConnectionsResponse result = + new com.google.cloudbuild.v2.ListConnectionsResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); @@ -444,7 +443,7 @@ public google.devtools.cloudbuild.v2.ListConnectionsResponse buildPartial() { } private void buildPartialRepeatedFields( - google.devtools.cloudbuild.v2.ListConnectionsResponse result) { + com.google.cloudbuild.v2.ListConnectionsResponse result) { if (connectionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { connections_ = java.util.Collections.unmodifiableList(connections_); @@ -456,7 +455,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0(google.devtools.cloudbuild.v2.ListConnectionsResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.ListConnectionsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -498,16 +497,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.ListConnectionsResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.ListConnectionsResponse) other); + if (other instanceof com.google.cloudbuild.v2.ListConnectionsResponse) { + return mergeFrom((com.google.cloudbuild.v2.ListConnectionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.ListConnectionsResponse other) { - if (other == google.devtools.cloudbuild.v2.ListConnectionsResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.ListConnectionsResponse other) { + if (other == com.google.cloudbuild.v2.ListConnectionsResponse.getDefaultInstance()) return this; if (connectionsBuilder_ == null) { if (!other.connections_.isEmpty()) { @@ -569,9 +568,9 @@ public Builder mergeFrom( break; case 10: { - google.devtools.cloudbuild.v2.Connection m = + com.google.cloudbuild.v2.Connection m = input.readMessage( - google.devtools.cloudbuild.v2.Connection.parser(), extensionRegistry); + com.google.cloudbuild.v2.Connection.parser(), extensionRegistry); if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); connections_.add(m); @@ -605,21 +604,20 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List connections_ = + private java.util.List connections_ = java.util.Collections.emptyList(); private void ensureConnectionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - connections_ = - new java.util.ArrayList(connections_); + connections_ = new java.util.ArrayList(connections_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> connectionsBuilder_; /** @@ -631,7 +629,7 @@ private void ensureConnectionsIsMutable() { * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public java.util.List getConnectionsList() { + public java.util.List getConnectionsList() { if (connectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(connections_); } else { @@ -663,7 +661,7 @@ public int getConnectionsCount() { * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public google.devtools.cloudbuild.v2.Connection getConnections(int index) { + public com.google.cloudbuild.v2.Connection getConnections(int index) { if (connectionsBuilder_ == null) { return connections_.get(index); } else { @@ -679,7 +677,7 @@ public google.devtools.cloudbuild.v2.Connection getConnections(int index) { * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public Builder setConnections(int index, google.devtools.cloudbuild.v2.Connection value) { + public Builder setConnections(int index, com.google.cloudbuild.v2.Connection value) { if (connectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,7 +700,7 @@ public Builder setConnections(int index, google.devtools.cloudbuild.v2.Connectio * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ public Builder setConnections( - int index, google.devtools.cloudbuild.v2.Connection.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Connection.Builder builderForValue) { if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); connections_.set(index, builderForValue.build()); @@ -721,7 +719,7 @@ public Builder setConnections( * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public Builder addConnections(google.devtools.cloudbuild.v2.Connection value) { + public Builder addConnections(com.google.cloudbuild.v2.Connection value) { if (connectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -743,7 +741,7 @@ public Builder addConnections(google.devtools.cloudbuild.v2.Connection value) { * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public Builder addConnections(int index, google.devtools.cloudbuild.v2.Connection value) { + public Builder addConnections(int index, com.google.cloudbuild.v2.Connection value) { if (connectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -765,8 +763,7 @@ public Builder addConnections(int index, google.devtools.cloudbuild.v2.Connectio * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public Builder addConnections( - google.devtools.cloudbuild.v2.Connection.Builder builderForValue) { + public Builder addConnections(com.google.cloudbuild.v2.Connection.Builder builderForValue) { if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); connections_.add(builderForValue.build()); @@ -786,7 +783,7 @@ public Builder addConnections( * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ public Builder addConnections( - int index, google.devtools.cloudbuild.v2.Connection.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Connection.Builder builderForValue) { if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); connections_.add(index, builderForValue.build()); @@ -806,7 +803,7 @@ public Builder addConnections( * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ public Builder addAllConnections( - java.lang.Iterable values) { + java.lang.Iterable values) { if (connectionsBuilder_ == null) { ensureConnectionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, connections_); @@ -863,7 +860,7 @@ public Builder removeConnections(int index) { * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public google.devtools.cloudbuild.v2.Connection.Builder getConnectionsBuilder(int index) { + public com.google.cloudbuild.v2.Connection.Builder getConnectionsBuilder(int index) { return getConnectionsFieldBuilder().getBuilder(index); } /** @@ -875,7 +872,7 @@ public google.devtools.cloudbuild.v2.Connection.Builder getConnectionsBuilder(in * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index) { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index) { if (connectionsBuilder_ == null) { return connections_.get(index); } else { @@ -891,7 +888,7 @@ public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public java.util.List + public java.util.List getConnectionsOrBuilderList() { if (connectionsBuilder_ != null) { return connectionsBuilder_.getMessageOrBuilderList(); @@ -908,9 +905,9 @@ public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public google.devtools.cloudbuild.v2.Connection.Builder addConnectionsBuilder() { + public com.google.cloudbuild.v2.Connection.Builder addConnectionsBuilder() { return getConnectionsFieldBuilder() - .addBuilder(google.devtools.cloudbuild.v2.Connection.getDefaultInstance()); + .addBuilder(com.google.cloudbuild.v2.Connection.getDefaultInstance()); } /** * @@ -921,9 +918,9 @@ public google.devtools.cloudbuild.v2.Connection.Builder addConnectionsBuilder() * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public google.devtools.cloudbuild.v2.Connection.Builder addConnectionsBuilder(int index) { + public com.google.cloudbuild.v2.Connection.Builder addConnectionsBuilder(int index) { return getConnectionsFieldBuilder() - .addBuilder(index, google.devtools.cloudbuild.v2.Connection.getDefaultInstance()); + .addBuilder(index, com.google.cloudbuild.v2.Connection.getDefaultInstance()); } /** * @@ -934,22 +931,21 @@ public google.devtools.cloudbuild.v2.Connection.Builder addConnectionsBuilder(in * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - public java.util.List - getConnectionsBuilderList() { + public java.util.List getConnectionsBuilderList() { return getConnectionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> getConnectionsFieldBuilder() { if (connectionsBuilder_ == null) { connectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder>( + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder>( connections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); connections_ = null; } @@ -1077,13 +1073,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.ListConnectionsResponse) - private static final google.devtools.cloudbuild.v2.ListConnectionsResponse DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.ListConnectionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.ListConnectionsResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.ListConnectionsResponse(); } - public static google.devtools.cloudbuild.v2.ListConnectionsResponse getDefaultInstance() { + public static com.google.cloudbuild.v2.ListConnectionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1119,7 +1115,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListConnectionsResponse getDefaultInstanceForType() { + public com.google.cloudbuild.v2.ListConnectionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponseOrBuilder.java similarity index 86% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponseOrBuilder.java index f183a05c7a82..206c0a2e15f7 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListConnectionsResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListConnectionsResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ListConnectionsResponseOrBuilder extends @@ -32,7 +32,7 @@ public interface ListConnectionsResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - java.util.List getConnectionsList(); + java.util.List getConnectionsList(); /** * * @@ -42,7 +42,7 @@ public interface ListConnectionsResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - google.devtools.cloudbuild.v2.Connection getConnections(int index); + com.google.cloudbuild.v2.Connection getConnections(int index); /** * * @@ -62,7 +62,7 @@ public interface ListConnectionsResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - java.util.List + java.util.List getConnectionsOrBuilderList(); /** * @@ -73,7 +73,7 @@ public interface ListConnectionsResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Connection connections = 1; */ - google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index); + com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionsOrBuilder(int index); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequest.java similarity index 89% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequest.java index 024188d340dd..7510833632cf 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,18 +55,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListRepositoriesRequest.class, - google.devtools.cloudbuild.v2.ListRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.ListRepositoriesRequest.class, + com.google.cloudbuild.v2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -309,11 +309,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.ListRepositoriesRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.ListRepositoriesRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.ListRepositoriesRequest other = - (google.devtools.cloudbuild.v2.ListRepositoriesRequest) obj; + com.google.cloudbuild.v2.ListRepositoriesRequest other = + (com.google.cloudbuild.v2.ListRepositoriesRequest) obj; if (!getParent().equals(other.getParent())) return false; if (getPageSize() != other.getPageSize()) return false; @@ -343,71 +343,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -424,8 +424,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -451,23 +450,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.ListRepositoriesRequest) - google.devtools.cloudbuild.v2.ListRepositoriesRequestOrBuilder { + com.google.cloudbuild.v2.ListRepositoriesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListRepositoriesRequest.class, - google.devtools.cloudbuild.v2.ListRepositoriesRequest.Builder.class); + com.google.cloudbuild.v2.ListRepositoriesRequest.class, + com.google.cloudbuild.v2.ListRepositoriesRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.ListRepositoriesRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.ListRepositoriesRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -487,18 +486,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.ListRepositoriesRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.ListRepositoriesRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesRequest build() { - google.devtools.cloudbuild.v2.ListRepositoriesRequest result = buildPartial(); + public com.google.cloudbuild.v2.ListRepositoriesRequest build() { + com.google.cloudbuild.v2.ListRepositoriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -506,9 +505,9 @@ public google.devtools.cloudbuild.v2.ListRepositoriesRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesRequest buildPartial() { - google.devtools.cloudbuild.v2.ListRepositoriesRequest result = - new google.devtools.cloudbuild.v2.ListRepositoriesRequest(this); + public com.google.cloudbuild.v2.ListRepositoriesRequest buildPartial() { + com.google.cloudbuild.v2.ListRepositoriesRequest result = + new com.google.cloudbuild.v2.ListRepositoriesRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -516,7 +515,7 @@ public google.devtools.cloudbuild.v2.ListRepositoriesRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.ListRepositoriesRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.ListRepositoriesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -567,16 +566,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.ListRepositoriesRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.ListRepositoriesRequest) other); + if (other instanceof com.google.cloudbuild.v2.ListRepositoriesRequest) { + return mergeFrom((com.google.cloudbuild.v2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.ListRepositoriesRequest other) { - if (other == google.devtools.cloudbuild.v2.ListRepositoriesRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.ListRepositoriesRequest other) { + if (other == com.google.cloudbuild.v2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; @@ -1081,13 +1080,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.ListRepositoriesRequest) - private static final google.devtools.cloudbuild.v2.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.ListRepositoriesRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.ListRepositoriesRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.ListRepositoriesRequest(); } - public static google.devtools.cloudbuild.v2.ListRepositoriesRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1123,7 +1122,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java index 2c085c9fe84b..0fec1c709449 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ListRepositoriesRequestOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponse.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponse.java similarity index 81% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponse.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponse.java index 32a3a9ac5d5c..defe252aaff2 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponse.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponse.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,24 +54,24 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListRepositoriesResponse.class, - google.devtools.cloudbuild.v2.ListRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.ListRepositoriesResponse.class, + com.google.cloudbuild.v2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private java.util.List repositories_; + private java.util.List repositories_; /** * * @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** @@ -95,7 +95,7 @@ public java.util.List getRepositoriesL * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } @@ -122,7 +122,7 @@ public int getRepositoriesCount() { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { return repositories_.get(index); } /** @@ -135,7 +135,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ @java.lang.Override - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { return repositories_.get(index); } @@ -235,11 +235,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.ListRepositoriesResponse)) { + if (!(obj instanceof com.google.cloudbuild.v2.ListRepositoriesResponse)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.ListRepositoriesResponse other = - (google.devtools.cloudbuild.v2.ListRepositoriesResponse) obj; + com.google.cloudbuild.v2.ListRepositoriesResponse other = + (com.google.cloudbuild.v2.ListRepositoriesResponse) obj; if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; @@ -265,71 +265,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom(byte[] data) + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseDelimitedFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse parseFrom( + public static com.google.cloudbuild.v2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -346,8 +346,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -373,23 +372,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.ListRepositoriesResponse) - google.devtools.cloudbuild.v2.ListRepositoriesResponseOrBuilder { + com.google.cloudbuild.v2.ListRepositoriesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ListRepositoriesResponse.class, - google.devtools.cloudbuild.v2.ListRepositoriesResponse.Builder.class); + com.google.cloudbuild.v2.ListRepositoriesResponse.class, + com.google.cloudbuild.v2.ListRepositoriesResponse.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.ListRepositoriesResponse.newBuilder() + // Construct using com.google.cloudbuild.v2.ListRepositoriesResponse.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -413,18 +412,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesResponse getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.ListRepositoriesResponse.getDefaultInstance(); + public com.google.cloudbuild.v2.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.cloudbuild.v2.ListRepositoriesResponse.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesResponse build() { - google.devtools.cloudbuild.v2.ListRepositoriesResponse result = buildPartial(); + public com.google.cloudbuild.v2.ListRepositoriesResponse build() { + com.google.cloudbuild.v2.ListRepositoriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -432,9 +431,9 @@ public google.devtools.cloudbuild.v2.ListRepositoriesResponse build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesResponse buildPartial() { - google.devtools.cloudbuild.v2.ListRepositoriesResponse result = - new google.devtools.cloudbuild.v2.ListRepositoriesResponse(this); + public com.google.cloudbuild.v2.ListRepositoriesResponse buildPartial() { + com.google.cloudbuild.v2.ListRepositoriesResponse result = + new com.google.cloudbuild.v2.ListRepositoriesResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); @@ -444,7 +443,7 @@ public google.devtools.cloudbuild.v2.ListRepositoriesResponse buildPartial() { } private void buildPartialRepeatedFields( - google.devtools.cloudbuild.v2.ListRepositoriesResponse result) { + com.google.cloudbuild.v2.ListRepositoriesResponse result) { if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -456,7 +455,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0(google.devtools.cloudbuild.v2.ListRepositoriesResponse result) { + private void buildPartial0(com.google.cloudbuild.v2.ListRepositoriesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -498,16 +497,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.ListRepositoriesResponse) { - return mergeFrom((google.devtools.cloudbuild.v2.ListRepositoriesResponse) other); + if (other instanceof com.google.cloudbuild.v2.ListRepositoriesResponse) { + return mergeFrom((com.google.cloudbuild.v2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.ListRepositoriesResponse other) { - if (other == google.devtools.cloudbuild.v2.ListRepositoriesResponse.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.ListRepositoriesResponse other) { + if (other == com.google.cloudbuild.v2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { @@ -569,9 +568,9 @@ public Builder mergeFrom( break; case 10: { - google.devtools.cloudbuild.v2.Repository m = + com.google.cloudbuild.v2.Repository m = input.readMessage( - google.devtools.cloudbuild.v2.Repository.parser(), extensionRegistry); + com.google.cloudbuild.v2.Repository.parser(), extensionRegistry); if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(m); @@ -605,21 +604,20 @@ public Builder mergeFrom( private int bitField0_; - private java.util.List repositories_ = + private java.util.List repositories_ = java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> repositoriesBuilder_; /** @@ -631,7 +629,7 @@ private void ensureRepositoriesIsMutable() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -663,7 +661,7 @@ public int getRepositoriesCount() { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { + public com.google.cloudbuild.v2.Repository getRepositories(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -679,7 +677,7 @@ public google.devtools.cloudbuild.v2.Repository getRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder setRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,7 +700,7 @@ public Builder setRepositories(int index, google.devtools.cloudbuild.v2.Reposito * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder setRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -721,7 +719,7 @@ public Builder setRepositories( * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -743,7 +741,7 @@ public Builder addRepositories(google.devtools.cloudbuild.v2.Repository value) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Repository value) { + public Builder addRepositories(int index, com.google.cloudbuild.v2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -765,8 +763,7 @@ public Builder addRepositories(int index, google.devtools.cloudbuild.v2.Reposito * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public Builder addRepositories( - google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + public Builder addRepositories(com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(builderForValue.build()); @@ -786,7 +783,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addRepositories( - int index, google.devtools.cloudbuild.v2.Repository.Builder builderForValue) { + int index, com.google.cloudbuild.v2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -806,7 +803,7 @@ public Builder addRepositories( * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); @@ -863,7 +860,7 @@ public Builder removeRepositories(int index) { * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** @@ -875,7 +872,7 @@ public google.devtools.cloudbuild.v2.Repository.Builder getRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { + public com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { return repositories_.get(index); } else { @@ -891,7 +888,7 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); @@ -908,9 +905,9 @@ public google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilde * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() { return getRepositoriesFieldBuilder() - .addBuilder(google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -921,9 +918,9 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder() * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { + public com.google.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder() - .addBuilder(index, google.devtools.cloudbuild.v2.Repository.getDefaultInstance()); + .addBuilder(index, com.google.cloudbuild.v2.Repository.getDefaultInstance()); } /** * @@ -934,22 +931,22 @@ public google.devtools.cloudbuild.v2.Repository.Builder addRepositoriesBuilder(i * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - public java.util.List + public java.util.List getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder> + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - google.devtools.cloudbuild.v2.Repository, - google.devtools.cloudbuild.v2.Repository.Builder, - google.devtools.cloudbuild.v2.RepositoryOrBuilder>( + com.google.cloudbuild.v2.Repository, + com.google.cloudbuild.v2.Repository.Builder, + com.google.cloudbuild.v2.RepositoryOrBuilder>( repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } @@ -1077,13 +1074,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.ListRepositoriesResponse) - private static final google.devtools.cloudbuild.v2.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.ListRepositoriesResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.ListRepositoriesResponse(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.ListRepositoriesResponse(); } - public static google.devtools.cloudbuild.v2.ListRepositoriesResponse getDefaultInstance() { + public static com.google.cloudbuild.v2.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1119,7 +1116,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.cloudbuild.v2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java similarity index 86% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java index 62d53b2dbefa..9d06340b5d0c 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ListRepositoriesResponseOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ListRepositoriesResponseOrBuilder extends @@ -32,7 +32,7 @@ public interface ListRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List getRepositoriesList(); /** * * @@ -42,7 +42,7 @@ public interface ListRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.Repository getRepositories(int index); + com.google.cloudbuild.v2.Repository getRepositories(int index); /** * * @@ -62,7 +62,7 @@ public interface ListRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** * @@ -73,7 +73,7 @@ public interface ListRepositoriesResponseOrBuilder * * repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; */ - google.devtools.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.cloudbuild.v2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/LocationName.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/LocationName.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/LocationName.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/LocationName.java index 48da7023d0c1..739c1274abc3 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/LocationName.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/LocationName.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; import com.google.api.pathtemplate.PathTemplate; import com.google.api.resourcenames.ResourceName; diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredential.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredential.java similarity index 88% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredential.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredential.java index a4ead8b6b147..cf8a52c873fb 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredential.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredential.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,18 +55,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_OAuthCredential_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_OAuthCredential_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.OAuthCredential.class, - google.devtools.cloudbuild.v2.OAuthCredential.Builder.class); + com.google.cloudbuild.v2.OAuthCredential.class, + com.google.cloudbuild.v2.OAuthCredential.Builder.class); } public static final int OAUTH_TOKEN_SECRET_VERSION_FIELD_NUMBER = 1; @@ -218,11 +218,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.OAuthCredential)) { + if (!(obj instanceof com.google.cloudbuild.v2.OAuthCredential)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.OAuthCredential other = - (google.devtools.cloudbuild.v2.OAuthCredential) obj; + com.google.cloudbuild.v2.OAuthCredential other = (com.google.cloudbuild.v2.OAuthCredential) obj; if (!getOauthTokenSecretVersion().equals(other.getOauthTokenSecretVersion())) return false; if (!getUsername().equals(other.getUsername())) return false; @@ -246,71 +245,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.OAuthCredential parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom(byte[] data) + public static com.google.cloudbuild.v2.OAuthCredential parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.OAuthCredential parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseDelimitedFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseDelimitedFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OAuthCredential parseFrom( + public static com.google.cloudbuild.v2.OAuthCredential parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -327,7 +326,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.OAuthCredential prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.OAuthCredential prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -354,23 +353,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.OAuthCredential) - google.devtools.cloudbuild.v2.OAuthCredentialOrBuilder { + com.google.cloudbuild.v2.OAuthCredentialOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_OAuthCredential_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_OAuthCredential_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.OAuthCredential.class, - google.devtools.cloudbuild.v2.OAuthCredential.Builder.class); + com.google.cloudbuild.v2.OAuthCredential.class, + com.google.cloudbuild.v2.OAuthCredential.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.OAuthCredential.newBuilder() + // Construct using com.google.cloudbuild.v2.OAuthCredential.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -388,18 +387,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_OAuthCredential_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredential getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance(); + public com.google.cloudbuild.v2.OAuthCredential getDefaultInstanceForType() { + return com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredential build() { - google.devtools.cloudbuild.v2.OAuthCredential result = buildPartial(); + public com.google.cloudbuild.v2.OAuthCredential build() { + com.google.cloudbuild.v2.OAuthCredential result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -407,9 +406,9 @@ public google.devtools.cloudbuild.v2.OAuthCredential build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredential buildPartial() { - google.devtools.cloudbuild.v2.OAuthCredential result = - new google.devtools.cloudbuild.v2.OAuthCredential(this); + public com.google.cloudbuild.v2.OAuthCredential buildPartial() { + com.google.cloudbuild.v2.OAuthCredential result = + new com.google.cloudbuild.v2.OAuthCredential(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -417,7 +416,7 @@ public google.devtools.cloudbuild.v2.OAuthCredential buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.OAuthCredential result) { + private void buildPartial0(com.google.cloudbuild.v2.OAuthCredential result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.oauthTokenSecretVersion_ = oauthTokenSecretVersion_; @@ -462,16 +461,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.OAuthCredential) { - return mergeFrom((google.devtools.cloudbuild.v2.OAuthCredential) other); + if (other instanceof com.google.cloudbuild.v2.OAuthCredential) { + return mergeFrom((com.google.cloudbuild.v2.OAuthCredential) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.OAuthCredential other) { - if (other == google.devtools.cloudbuild.v2.OAuthCredential.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloudbuild.v2.OAuthCredential other) { + if (other == com.google.cloudbuild.v2.OAuthCredential.getDefaultInstance()) return this; if (!other.getOauthTokenSecretVersion().isEmpty()) { oauthTokenSecretVersion_ = other.oauthTokenSecretVersion_; bitField0_ |= 0x00000001; @@ -776,13 +775,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.OAuthCredential) - private static final google.devtools.cloudbuild.v2.OAuthCredential DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.OAuthCredential DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.OAuthCredential(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.OAuthCredential(); } - public static google.devtools.cloudbuild.v2.OAuthCredential getDefaultInstance() { + public static com.google.cloudbuild.v2.OAuthCredential getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -818,7 +817,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.OAuthCredential getDefaultInstanceForType() { + public com.google.cloudbuild.v2.OAuthCredential getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredentialOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredentialOrBuilder.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredentialOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredentialOrBuilder.java index 59e9f2c37dac..9901ac6278a8 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OAuthCredentialOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OAuthCredentialOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface OAuthCredentialOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadata.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadata.java similarity index 94% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadata.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadata.java index e21963dae52b..635b30946068 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadata.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/cloudbuild.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -56,18 +56,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.OperationMetadata.class, - google.devtools.cloudbuild.v2.OperationMetadata.Builder.class); + com.google.cloudbuild.v2.OperationMetadata.class, + com.google.cloudbuild.v2.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; @@ -469,11 +469,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.OperationMetadata)) { + if (!(obj instanceof com.google.cloudbuild.v2.OperationMetadata)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.OperationMetadata other = - (google.devtools.cloudbuild.v2.OperationMetadata) obj; + com.google.cloudbuild.v2.OperationMetadata other = + (com.google.cloudbuild.v2.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { @@ -522,71 +522,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom(byte[] data) + public static com.google.cloudbuild.v2.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseDelimitedFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseDelimitedFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.OperationMetadata parseFrom( + public static com.google.cloudbuild.v2.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -603,7 +603,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.OperationMetadata prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -629,23 +629,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.OperationMetadata) - google.devtools.cloudbuild.v2.OperationMetadataOrBuilder { + com.google.cloudbuild.v2.OperationMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.OperationMetadata.class, - google.devtools.cloudbuild.v2.OperationMetadata.Builder.class); + com.google.cloudbuild.v2.OperationMetadata.class, + com.google.cloudbuild.v2.OperationMetadata.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.OperationMetadata.newBuilder() + // Construct using com.google.cloudbuild.v2.OperationMetadata.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -676,18 +676,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_OperationMetadata_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.OperationMetadata getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.OperationMetadata.getDefaultInstance(); + public com.google.cloudbuild.v2.OperationMetadata getDefaultInstanceForType() { + return com.google.cloudbuild.v2.OperationMetadata.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.OperationMetadata build() { - google.devtools.cloudbuild.v2.OperationMetadata result = buildPartial(); + public com.google.cloudbuild.v2.OperationMetadata build() { + com.google.cloudbuild.v2.OperationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -695,9 +695,9 @@ public google.devtools.cloudbuild.v2.OperationMetadata build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.OperationMetadata buildPartial() { - google.devtools.cloudbuild.v2.OperationMetadata result = - new google.devtools.cloudbuild.v2.OperationMetadata(this); + public com.google.cloudbuild.v2.OperationMetadata buildPartial() { + com.google.cloudbuild.v2.OperationMetadata result = + new com.google.cloudbuild.v2.OperationMetadata(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -705,7 +705,7 @@ public google.devtools.cloudbuild.v2.OperationMetadata buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.OperationMetadata result) { + private void buildPartial0(com.google.cloudbuild.v2.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); @@ -765,17 +765,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.OperationMetadata) { - return mergeFrom((google.devtools.cloudbuild.v2.OperationMetadata) other); + if (other instanceof com.google.cloudbuild.v2.OperationMetadata) { + return mergeFrom((com.google.cloudbuild.v2.OperationMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.OperationMetadata other) { - if (other == google.devtools.cloudbuild.v2.OperationMetadata.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloudbuild.v2.OperationMetadata other) { + if (other == com.google.cloudbuild.v2.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -1785,13 +1784,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.OperationMetadata) - private static final google.devtools.cloudbuild.v2.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.OperationMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.OperationMetadata(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.OperationMetadata(); } - public static google.devtools.cloudbuild.v2.OperationMetadata getDefaultInstance() { + public static com.google.cloudbuild.v2.OperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1827,7 +1826,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.OperationMetadata getDefaultInstanceForType() { + public com.google.cloudbuild.v2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadataOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadataOrBuilder.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadataOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadataOrBuilder.java index 064fefcf53cb..795e8e8dbffd 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/OperationMetadataOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/OperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/cloudbuild.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface OperationMetadataOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Repository.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Repository.java similarity index 94% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Repository.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Repository.java index 815f20dc440b..e034eee15587 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/Repository.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/Repository.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -55,7 +55,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_descriptor; } @@ -73,11 +73,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.Repository.class, - google.devtools.cloudbuild.v2.Repository.Builder.class); + com.google.cloudbuild.v2.Repository.class, + com.google.cloudbuild.v2.Repository.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -287,7 +287,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private static final class AnnotationsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( - google.devtools.cloudbuild.v2.RepositoryManagerProto + com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_AnnotationsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", @@ -515,10 +515,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.Repository)) { + if (!(obj instanceof com.google.cloudbuild.v2.Repository)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.Repository other = (google.devtools.cloudbuild.v2.Repository) obj; + com.google.cloudbuild.v2.Repository other = (com.google.cloudbuild.v2.Repository) obj; if (!getName().equals(other.getName())) return false; if (!getRemoteUri().equals(other.getRemoteUri())) return false; @@ -566,71 +566,70 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.Repository parseFrom(java.nio.ByteBuffer data) + public static com.google.cloudbuild.v2.Repository parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( - com.google.protobuf.ByteString data) + public static com.google.cloudbuild.v2.Repository parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Repository parseFrom(byte[] data) + public static com.google.cloudbuild.v2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Repository parseFrom(java.io.InputStream input) + public static com.google.cloudbuild.v2.Repository parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Repository parseDelimitedFrom( + public static com.google.cloudbuild.v2.Repository parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.Repository parseFrom( + public static com.google.cloudbuild.v2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -647,7 +646,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.Repository prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -673,9 +672,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.Repository) - google.devtools.cloudbuild.v2.RepositoryOrBuilder { + com.google.cloudbuild.v2.RepositoryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_descriptor; } @@ -702,14 +701,14 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.Repository.class, - google.devtools.cloudbuild.v2.Repository.Builder.class); + com.google.cloudbuild.v2.Repository.class, + com.google.cloudbuild.v2.Repository.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.Repository.newBuilder() + // Construct using com.google.cloudbuild.v2.Repository.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -739,18 +738,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_Repository_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.Repository.getDefaultInstance(); + public com.google.cloudbuild.v2.Repository getDefaultInstanceForType() { + return com.google.cloudbuild.v2.Repository.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.Repository build() { - google.devtools.cloudbuild.v2.Repository result = buildPartial(); + public com.google.cloudbuild.v2.Repository build() { + com.google.cloudbuild.v2.Repository result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -758,9 +757,8 @@ public google.devtools.cloudbuild.v2.Repository build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.Repository buildPartial() { - google.devtools.cloudbuild.v2.Repository result = - new google.devtools.cloudbuild.v2.Repository(this); + public com.google.cloudbuild.v2.Repository buildPartial() { + com.google.cloudbuild.v2.Repository result = new com.google.cloudbuild.v2.Repository(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -768,7 +766,7 @@ public google.devtools.cloudbuild.v2.Repository buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.Repository result) { + private void buildPartial0(com.google.cloudbuild.v2.Repository result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -826,16 +824,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.Repository) { - return mergeFrom((google.devtools.cloudbuild.v2.Repository) other); + if (other instanceof com.google.cloudbuild.v2.Repository) { + return mergeFrom((com.google.cloudbuild.v2.Repository) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.Repository other) { - if (other == google.devtools.cloudbuild.v2.Repository.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloudbuild.v2.Repository other) { + if (other == com.google.cloudbuild.v2.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1862,13 +1860,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.Repository) - private static final google.devtools.cloudbuild.v2.Repository DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.Repository DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.Repository(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.Repository(); } - public static google.devtools.cloudbuild.v2.Repository getDefaultInstance() { + public static com.google.cloudbuild.v2.Repository getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1904,7 +1902,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.Repository getDefaultInstanceForType() { + public com.google.cloudbuild.v2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerProto.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerProto.java similarity index 98% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerProto.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerProto.java index b9b7e008e852..abc1ef88d7f0 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryManagerProto.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryManagerProto.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public final class RepositoryManagerProto { private RepositoryManagerProto() {} @@ -356,15 +356,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/*/connections/*}:fetchLinkableRepositor" + "ies\032M\312A\031cloudbuild.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\327\002\n\035google.devtools.cloudbuild.v2B\026Re" - + "positoryManagerProtoP\001ZGgoogle.golang.or" - + "g/genproto/googleapis/devtools/cloudbuil" - + "d/v2;cloudbuild\242\002\003GCB\252\002\032Google.Cloud.Clo" - + "udBuild.V2\312\002\025Google\\Cloud\\Build\\V2\352\002\030Goo" - + "gle::Cloud::Build::V2\352A|\n\'servicedirecto" - + "ry.googleapis.com/Service\022Qprojects/{pro" - + "ject}/locations/{location}/namespaces/{n" - + "amespace}/services/{service}b\006proto3" + + "rmB\322\002\n\030com.google.cloudbuild.v2B\026Reposit" + + "oryManagerProtoP\001ZGgoogle.golang.org/gen" + + "proto/googleapis/devtools/cloudbuild/v2;" + + "cloudbuild\242\002\003GCB\252\002\032Google.Cloud.CloudBui" + + "ld.V2\312\002\025Google\\Cloud\\Build\\V2\352\002\030Google::" + + "Cloud::Build::V2\352A|\n\'servicedirectory.go" + + "ogleapis.com/Service\022Qprojects/{project}" + + "/locations/{location}/namespaces/{namesp" + + "ace}/services/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryName.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryName.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryName.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryName.java index fd9cb45b30fc..fb0c931c024c 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryName.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryName.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; import com.google.api.pathtemplate.PathTemplate; import com.google.api.resourcenames.ResourceName; diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryOrBuilder.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryOrBuilder.java index 3b5ea0d27d81..89caea09bb89 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RepositoryOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RepositoryOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface RepositoryOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java similarity index 93% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java index edd86b0e06f1..7e6c1a76dca5 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadata.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/cloudbuild.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -57,18 +57,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_RunWorkflowCustomOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_RunWorkflowCustomOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.class, - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.Builder.class); + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.class, + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; @@ -470,11 +470,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata)) { + if (!(obj instanceof com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata other = - (google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata) obj; + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata other = + (com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { @@ -523,71 +523,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseDelimitedFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseDelimitedFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -605,7 +605,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata prototype) { + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -631,23 +631,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata) - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadataOrBuilder { + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_RunWorkflowCustomOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_RunWorkflowCustomOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.class, - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.Builder.class); + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.class, + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.newBuilder() + // Construct using com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -678,19 +678,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.CloudBuildProto + return com.google.cloudbuild.v2.CloudBuildProto .internal_static_google_devtools_cloudbuild_v2_RunWorkflowCustomOperationMetadata_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata - getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.getDefaultInstance(); + public com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata getDefaultInstanceForType() { + return com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata build() { - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata result = buildPartial(); + public com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata build() { + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -698,9 +697,9 @@ public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata build() } @java.lang.Override - public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata buildPartial() { - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata result = - new google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata(this); + public com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata buildPartial() { + com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata result = + new com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -708,8 +707,7 @@ public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata buildPar return result; } - private void buildPartial0( - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata result) { + private void buildPartial0(com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); @@ -769,18 +767,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata) { - return mergeFrom((google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata) other); + if (other instanceof com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata) { + return mergeFrom((com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata other) { - if (other - == google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata other) { + if (other == com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -1791,15 +1787,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata) - private static final google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata - DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata(); } - public static google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata - getDefaultInstance() { + public static com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1835,8 +1829,7 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public google.devtools.cloudbuild.v2.RunWorkflowCustomOperationMetadata - getDefaultInstanceForType() { + public com.google.cloudbuild.v2.RunWorkflowCustomOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java similarity index 99% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java index 95cec9d25b51..a6d622a28a1d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/RunWorkflowCustomOperationMetadataOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/cloudbuild.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface RunWorkflowCustomOperationMetadataOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfig.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfig.java similarity index 83% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfig.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfig.java index 6a6318fa7897..05a26fd8dcec 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfig.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfig.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -54,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ServiceDirectoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ServiceDirectoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.class, - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder.class); + com.google.cloudbuild.v2.ServiceDirectoryConfig.class, + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; @@ -166,11 +166,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.ServiceDirectoryConfig)) { + if (!(obj instanceof com.google.cloudbuild.v2.ServiceDirectoryConfig)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.ServiceDirectoryConfig other = - (google.devtools.cloudbuild.v2.ServiceDirectoryConfig) obj; + com.google.cloudbuild.v2.ServiceDirectoryConfig other = + (com.google.cloudbuild.v2.ServiceDirectoryConfig) obj; if (!getService().equals(other.getService())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -191,71 +191,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom(byte[] data) + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseDelimitedFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseDelimitedFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig parseFrom( + public static com.google.cloudbuild.v2.ServiceDirectoryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -272,7 +272,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(google.devtools.cloudbuild.v2.ServiceDirectoryConfig prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.ServiceDirectoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -299,23 +299,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.ServiceDirectoryConfig) - google.devtools.cloudbuild.v2.ServiceDirectoryConfigOrBuilder { + com.google.cloudbuild.v2.ServiceDirectoryConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ServiceDirectoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ServiceDirectoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.class, - google.devtools.cloudbuild.v2.ServiceDirectoryConfig.Builder.class); + com.google.cloudbuild.v2.ServiceDirectoryConfig.class, + com.google.cloudbuild.v2.ServiceDirectoryConfig.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.ServiceDirectoryConfig.newBuilder() + // Construct using com.google.cloudbuild.v2.ServiceDirectoryConfig.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -332,18 +332,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_ServiceDirectoryConfig_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance(); + public com.google.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstanceForType() { + return com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig build() { - google.devtools.cloudbuild.v2.ServiceDirectoryConfig result = buildPartial(); + public com.google.cloudbuild.v2.ServiceDirectoryConfig build() { + com.google.cloudbuild.v2.ServiceDirectoryConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -351,9 +351,9 @@ public google.devtools.cloudbuild.v2.ServiceDirectoryConfig build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig buildPartial() { - google.devtools.cloudbuild.v2.ServiceDirectoryConfig result = - new google.devtools.cloudbuild.v2.ServiceDirectoryConfig(this); + public com.google.cloudbuild.v2.ServiceDirectoryConfig buildPartial() { + com.google.cloudbuild.v2.ServiceDirectoryConfig result = + new com.google.cloudbuild.v2.ServiceDirectoryConfig(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -361,7 +361,7 @@ public google.devtools.cloudbuild.v2.ServiceDirectoryConfig buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.ServiceDirectoryConfig result) { + private void buildPartial0(com.google.cloudbuild.v2.ServiceDirectoryConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.service_ = service_; @@ -403,16 +403,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.ServiceDirectoryConfig) { - return mergeFrom((google.devtools.cloudbuild.v2.ServiceDirectoryConfig) other); + if (other instanceof com.google.cloudbuild.v2.ServiceDirectoryConfig) { + return mergeFrom((com.google.cloudbuild.v2.ServiceDirectoryConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.ServiceDirectoryConfig other) { - if (other == google.devtools.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.ServiceDirectoryConfig other) { + if (other == com.google.cloudbuild.v2.ServiceDirectoryConfig.getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; @@ -611,13 +611,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.ServiceDirectoryConfig) - private static final google.devtools.cloudbuild.v2.ServiceDirectoryConfig DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.ServiceDirectoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.ServiceDirectoryConfig(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.ServiceDirectoryConfig(); } - public static google.devtools.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstance() { + public static com.google.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -653,7 +653,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstanceForType() { + public com.google.cloudbuild.v2.ServiceDirectoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java similarity index 97% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java index dab18dcfb845..898452acbf47 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/ServiceDirectoryConfigOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface ServiceDirectoryConfigOrBuilder extends diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequest.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequest.java similarity index 86% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequest.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequest.java index e8fa7ed0c62f..8086c6b4f41c 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequest.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; /** * @@ -53,22 +53,22 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_UpdateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_UpdateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.UpdateConnectionRequest.class, - google.devtools.cloudbuild.v2.UpdateConnectionRequest.Builder.class); + com.google.cloudbuild.v2.UpdateConnectionRequest.class, + com.google.cloudbuild.v2.UpdateConnectionRequest.Builder.class); } public static final int CONNECTION_FIELD_NUMBER = 1; - private google.devtools.cloudbuild.v2.Connection connection_; + private com.google.cloudbuild.v2.Connection connection_; /** * * @@ -100,9 +100,9 @@ public boolean hasConnection() { * @return The connection. */ @java.lang.Override - public google.devtools.cloudbuild.v2.Connection getConnection() { + public com.google.cloudbuild.v2.Connection getConnection() { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } /** @@ -117,9 +117,9 @@ public google.devtools.cloudbuild.v2.Connection getConnection() { * */ @java.lang.Override - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } @@ -303,11 +303,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof google.devtools.cloudbuild.v2.UpdateConnectionRequest)) { + if (!(obj instanceof com.google.cloudbuild.v2.UpdateConnectionRequest)) { return super.equals(obj); } - google.devtools.cloudbuild.v2.UpdateConnectionRequest other = - (google.devtools.cloudbuild.v2.UpdateConnectionRequest) obj; + com.google.cloudbuild.v2.UpdateConnectionRequest other = + (com.google.cloudbuild.v2.UpdateConnectionRequest) obj; if (hasConnection() != other.hasConnection()) return false; if (hasConnection()) { @@ -347,71 +347,71 @@ public int hashCode() { return hash; } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom(byte[] data) + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseDelimitedFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest parseFrom( + public static com.google.cloudbuild.v2.UpdateConnectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -428,8 +428,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - google.devtools.cloudbuild.v2.UpdateConnectionRequest prototype) { + public static Builder newBuilder(com.google.cloudbuild.v2.UpdateConnectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -455,23 +454,23 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.cloudbuild.v2.UpdateConnectionRequest) - google.devtools.cloudbuild.v2.UpdateConnectionRequestOrBuilder { + com.google.cloudbuild.v2.UpdateConnectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_UpdateConnectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_UpdateConnectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - google.devtools.cloudbuild.v2.UpdateConnectionRequest.class, - google.devtools.cloudbuild.v2.UpdateConnectionRequest.Builder.class); + com.google.cloudbuild.v2.UpdateConnectionRequest.class, + com.google.cloudbuild.v2.UpdateConnectionRequest.Builder.class); } - // Construct using google.devtools.cloudbuild.v2.UpdateConnectionRequest.newBuilder() + // Construct using com.google.cloudbuild.v2.UpdateConnectionRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -499,18 +498,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return google.devtools.cloudbuild.v2.RepositoryManagerProto + return com.google.cloudbuild.v2.RepositoryManagerProto .internal_static_google_devtools_cloudbuild_v2_UpdateConnectionRequest_descriptor; } @java.lang.Override - public google.devtools.cloudbuild.v2.UpdateConnectionRequest getDefaultInstanceForType() { - return google.devtools.cloudbuild.v2.UpdateConnectionRequest.getDefaultInstance(); + public com.google.cloudbuild.v2.UpdateConnectionRequest getDefaultInstanceForType() { + return com.google.cloudbuild.v2.UpdateConnectionRequest.getDefaultInstance(); } @java.lang.Override - public google.devtools.cloudbuild.v2.UpdateConnectionRequest build() { - google.devtools.cloudbuild.v2.UpdateConnectionRequest result = buildPartial(); + public com.google.cloudbuild.v2.UpdateConnectionRequest build() { + com.google.cloudbuild.v2.UpdateConnectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -518,9 +517,9 @@ public google.devtools.cloudbuild.v2.UpdateConnectionRequest build() { } @java.lang.Override - public google.devtools.cloudbuild.v2.UpdateConnectionRequest buildPartial() { - google.devtools.cloudbuild.v2.UpdateConnectionRequest result = - new google.devtools.cloudbuild.v2.UpdateConnectionRequest(this); + public com.google.cloudbuild.v2.UpdateConnectionRequest buildPartial() { + com.google.cloudbuild.v2.UpdateConnectionRequest result = + new com.google.cloudbuild.v2.UpdateConnectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -528,7 +527,7 @@ public google.devtools.cloudbuild.v2.UpdateConnectionRequest buildPartial() { return result; } - private void buildPartial0(google.devtools.cloudbuild.v2.UpdateConnectionRequest result) { + private void buildPartial0(com.google.cloudbuild.v2.UpdateConnectionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.connection_ = connectionBuilder_ == null ? connection_ : connectionBuilder_.build(); @@ -579,16 +578,16 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof google.devtools.cloudbuild.v2.UpdateConnectionRequest) { - return mergeFrom((google.devtools.cloudbuild.v2.UpdateConnectionRequest) other); + if (other instanceof com.google.cloudbuild.v2.UpdateConnectionRequest) { + return mergeFrom((com.google.cloudbuild.v2.UpdateConnectionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(google.devtools.cloudbuild.v2.UpdateConnectionRequest other) { - if (other == google.devtools.cloudbuild.v2.UpdateConnectionRequest.getDefaultInstance()) + public Builder mergeFrom(com.google.cloudbuild.v2.UpdateConnectionRequest other) { + if (other == com.google.cloudbuild.v2.UpdateConnectionRequest.getDefaultInstance()) return this; if (other.hasConnection()) { mergeConnection(other.getConnection()); @@ -673,11 +672,11 @@ public Builder mergeFrom( private int bitField0_; - private google.devtools.cloudbuild.v2.Connection connection_; + private com.google.cloudbuild.v2.Connection connection_; private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> connectionBuilder_; /** * @@ -708,10 +707,10 @@ public boolean hasConnection() { * * @return The connection. */ - public google.devtools.cloudbuild.v2.Connection getConnection() { + public com.google.cloudbuild.v2.Connection getConnection() { if (connectionBuilder_ == null) { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } else { return connectionBuilder_.getMessage(); @@ -728,7 +727,7 @@ public google.devtools.cloudbuild.v2.Connection getConnection() { * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setConnection(google.devtools.cloudbuild.v2.Connection value) { + public Builder setConnection(com.google.cloudbuild.v2.Connection value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,7 +751,7 @@ public Builder setConnection(google.devtools.cloudbuild.v2.Connection value) { * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder setConnection(google.devtools.cloudbuild.v2.Connection.Builder builderForValue) { + public Builder setConnection(com.google.cloudbuild.v2.Connection.Builder builderForValue) { if (connectionBuilder_ == null) { connection_ = builderForValue.build(); } else { @@ -773,11 +772,11 @@ public Builder setConnection(google.devtools.cloudbuild.v2.Connection.Builder bu * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - public Builder mergeConnection(google.devtools.cloudbuild.v2.Connection value) { + public Builder mergeConnection(com.google.cloudbuild.v2.Connection value) { if (connectionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && connection_ != null - && connection_ != google.devtools.cloudbuild.v2.Connection.getDefaultInstance()) { + && connection_ != com.google.cloudbuild.v2.Connection.getDefaultInstance()) { getConnectionBuilder().mergeFrom(value); } else { connection_ = value; @@ -821,7 +820,7 @@ public Builder clearConnection() { * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.Connection.Builder getConnectionBuilder() { + public com.google.cloudbuild.v2.Connection.Builder getConnectionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getConnectionFieldBuilder().getBuilder(); @@ -837,12 +836,12 @@ public google.devtools.cloudbuild.v2.Connection.Builder getConnectionBuilder() { * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { + public com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder() { if (connectionBuilder_ != null) { return connectionBuilder_.getMessageOrBuilder(); } else { return connection_ == null - ? google.devtools.cloudbuild.v2.Connection.getDefaultInstance() + ? com.google.cloudbuild.v2.Connection.getDefaultInstance() : connection_; } } @@ -858,16 +857,16 @@ public google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder( * */ private com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder> + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - google.devtools.cloudbuild.v2.Connection, - google.devtools.cloudbuild.v2.Connection.Builder, - google.devtools.cloudbuild.v2.ConnectionOrBuilder>( + com.google.cloudbuild.v2.Connection, + com.google.cloudbuild.v2.Connection.Builder, + com.google.cloudbuild.v2.ConnectionOrBuilder>( getConnection(), getParentForChildren(), isClean()); connection_ = null; } @@ -1253,13 +1252,13 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.devtools.cloudbuild.v2.UpdateConnectionRequest) - private static final google.devtools.cloudbuild.v2.UpdateConnectionRequest DEFAULT_INSTANCE; + private static final com.google.cloudbuild.v2.UpdateConnectionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new google.devtools.cloudbuild.v2.UpdateConnectionRequest(); + DEFAULT_INSTANCE = new com.google.cloudbuild.v2.UpdateConnectionRequest(); } - public static google.devtools.cloudbuild.v2.UpdateConnectionRequest getDefaultInstance() { + public static com.google.cloudbuild.v2.UpdateConnectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -1295,7 +1294,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public google.devtools.cloudbuild.v2.UpdateConnectionRequest getDefaultInstanceForType() { + public com.google.cloudbuild.v2.UpdateConnectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java similarity index 95% rename from java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java rename to java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java index 108fd1221fa1..eec1a0179881 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/google/devtools/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/java/com/google/cloudbuild/v2/UpdateConnectionRequestOrBuilder.java @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/cloudbuild/v2/repositories.proto -package google.devtools.cloudbuild.v2; +package com.google.cloudbuild.v2; public interface UpdateConnectionRequestOrBuilder extends @@ -50,7 +50,7 @@ public interface UpdateConnectionRequestOrBuilder * * @return The connection. */ - google.devtools.cloudbuild.v2.Connection getConnection(); + com.google.cloudbuild.v2.Connection getConnection(); /** * * @@ -62,7 +62,7 @@ public interface UpdateConnectionRequestOrBuilder * .google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED]; * */ - google.devtools.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder(); + com.google.cloudbuild.v2.ConnectionOrBuilder getConnectionOrBuilder(); /** * diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/cloudbuild.proto b/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/cloudbuild.proto index a6ea258771de..32aca43603fc 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/cloudbuild.proto +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/cloudbuild.proto @@ -26,7 +26,7 @@ option csharp_namespace = "Google.Cloud.CloudBuild.V2"; option go_package = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2;cloudbuild"; option java_multiple_files = true; option java_outer_classname = "CloudBuildProto"; -option java_package = "google.devtools.cloudbuild.v2"; +option java_package = "com.google.cloudbuild.v2"; option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Build\\V2"; option ruby_package = "Google::Cloud::Build::V2"; diff --git a/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/repositories.proto b/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/repositories.proto index 5cfa6d94167a..54b931a9dbca 100644 --- a/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/repositories.proto +++ b/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/repositories.proto @@ -30,7 +30,7 @@ option csharp_namespace = "Google.Cloud.CloudBuild.V2"; option go_package = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2;cloudbuild"; option java_multiple_files = true; option java_outer_classname = "RepositoryManagerProto"; -option java_package = "google.devtools.cloudbuild.v2"; +option java_package = "com.google.cloudbuild.v2"; option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Build\\V2"; option ruby_package = "Google::Cloud::Build::V2"; diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositories.java index 169e74926ed9..1d548be9f5f2 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositories.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; import com.google.longrunning.Operation; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; import java.util.ArrayList; public class AsyncBatchCreateRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositoriesLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositoriesLRO.java index 868b6d122ad3..c325464e6561 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositoriesLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/AsyncBatchCreateRepositoriesLRO.java @@ -19,11 +19,11 @@ // [START cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.OperationMetadata; import java.util.ArrayList; public class AsyncBatchCreateRepositoriesLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositories.java index 3074aa21b673..1264e1d78884 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositories.java @@ -18,10 +18,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; import java.util.ArrayList; public class SyncBatchCreateRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesConnectionnameListcreaterepositoryrequest.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesConnectionnameListcreaterepositoryrequest.java index 458e99ba7f3f..76b94828d168 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesConnectionnameListcreaterepositoryrequest.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesConnectionnameListcreaterepositoryrequest.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_ConnectionnameListcreaterepositoryrequest_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; import java.util.ArrayList; import java.util.List; diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesStringListcreaterepositoryrequest.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesStringListcreaterepositoryrequest.java index 527d0c240d05..3ded7e08988f 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesStringListcreaterepositoryrequest.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/batchcreaterepositories/SyncBatchCreateRepositoriesStringListcreaterepositoryrequest.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_StringListcreaterepositoryrequest_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.BatchCreateRepositoriesResponse; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; import java.util.ArrayList; import java.util.List; diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnection.java index d2498cdd08f2..e2ded1b8e75c 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnection.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateConnection_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.LocationName; import com.google.longrunning.Operation; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.LocationName; public class AsyncCreateConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnectionLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnectionLRO.java index 29852aff9503..45932cb7fe29 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnectionLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/AsyncCreateConnectionLRO.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateConnection_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.LocationName; -import google.devtools.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.OperationMetadata; public class AsyncCreateConnectionLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnection.java index cec5bee4bb41..c872c1ec5945 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnection.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateConnection_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.CreateConnectionRequest; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.CreateConnectionRequest; +import com.google.cloudbuild.v2.LocationName; public class SyncCreateConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionLocationnameConnectionString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionLocationnameConnectionString.java index 653f83f06ff4..9cac0d909708 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionLocationnameConnectionString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionLocationnameConnectionString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateConnection_LocationnameConnectionString_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.LocationName; public class SyncCreateConnectionLocationnameConnectionString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionStringConnectionString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionStringConnectionString.java index 143143952eea..69140ce1210a 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionStringConnectionString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createconnection/SyncCreateConnectionStringConnectionString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateConnection_StringConnectionString_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.LocationName; public class SyncCreateConnectionStringConnectionString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepository.java index 887fbe172415..4f9600a86739 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepository.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateRepository_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.Repository; import com.google.longrunning.Operation; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.Repository; public class AsyncCreateRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepositoryLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepositoryLRO.java index 50a8b3d7e246..bc1510b0a178 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepositoryLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/AsyncCreateRepositoryLRO.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateRepository_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.Repository; public class AsyncCreateRepositoryLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepository.java index 8cb374976dfa..5267d2796833 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepository.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateRepository_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.CreateRepositoryRequest; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.CreateRepositoryRequest; +import com.google.cloudbuild.v2.Repository; public class SyncCreateRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryConnectionnameRepositoryString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryConnectionnameRepositoryString.java index ce4be98a3ee0..dabcc228884d 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryConnectionnameRepositoryString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryConnectionnameRepositoryString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateRepository_ConnectionnameRepositoryString_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Repository; public class SyncCreateRepositoryConnectionnameRepositoryString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryStringRepositoryString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryStringRepositoryString.java index d472aa9e5d20..dca97c213ad5 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryStringRepositoryString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/createrepository/SyncCreateRepositoryStringRepositoryString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_CreateRepository_StringRepositoryString_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Repository; public class SyncCreateRepositoryStringRepositoryString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnection.java index 4c4c0c9b4c5f..df6c83035389 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnection.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteConnection_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.DeleteConnectionRequest; import com.google.longrunning.Operation; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; public class AsyncDeleteConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnectionLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnectionLRO.java index b11554a48ec3..ec3e8bc76001 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnectionLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/AsyncDeleteConnectionLRO.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteConnection_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.DeleteConnectionRequest; +import com.google.cloudbuild.v2.OperationMetadata; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; -import google.devtools.cloudbuild.v2.OperationMetadata; public class AsyncDeleteConnectionLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnection.java index 9154a4cb3ca8..6918d2ccfa84 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnection.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteConnection_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.DeleteConnectionRequest; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.DeleteConnectionRequest; public class SyncDeleteConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionConnectionname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionConnectionname.java index 67dc370487cc..3218a3c26bd2 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionConnectionname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionConnectionname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteConnection_Connectionname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.ConnectionName; public class SyncDeleteConnectionConnectionname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionString.java index e64d25a67e24..c981e2223007 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleteconnection/SyncDeleteConnectionString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteConnection_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.ConnectionName; public class SyncDeleteConnectionString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepository.java index 16a81f1514c5..d4bef83fb8b2 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepository.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteRepository_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.RepositoryName; import com.google.longrunning.Operation; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.RepositoryName; public class AsyncDeleteRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepositoryLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepositoryLRO.java index 127ac8eac47c..9b9ff2216d96 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepositoryLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/AsyncDeleteRepositoryLRO.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteRepository_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.RepositoryName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.RepositoryName; public class AsyncDeleteRepositoryLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepository.java index c465105fe1eb..de8b97b73991 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepository.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteRepository_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.DeleteRepositoryRequest; +import com.google.cloudbuild.v2.RepositoryName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.DeleteRepositoryRequest; -import google.devtools.cloudbuild.v2.RepositoryName; public class SyncDeleteRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryRepositoryname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryRepositoryname.java index aa35d53ba57c..318343a29cbb 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryRepositoryname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryRepositoryname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteRepository_Repositoryname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.RepositoryName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.RepositoryName; public class SyncDeleteRepositoryRepositoryname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryString.java index 1f0a456d584d..5ea95a8d12fb 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/deleterepository/SyncDeleteRepositoryString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_DeleteRepository_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.RepositoryName; import com.google.protobuf.Empty; -import google.devtools.cloudbuild.v2.RepositoryName; public class SyncDeleteRepositoryString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositories.java index b82104e9b292..d37dd2d4fc23 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositories.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchLinkableRepositories_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.Repository; public class AsyncFetchLinkableRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositoriesPaged.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositoriesPaged.java index 00ed8e7da938..2789f56c64aa 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositoriesPaged.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/AsyncFetchLinkableRepositoriesPaged.java @@ -18,11 +18,11 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchLinkableRepositories_Paged_async] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesResponse; +import com.google.cloudbuild.v2.Repository; import com.google.common.base.Strings; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse; -import google.devtools.cloudbuild.v2.Repository; public class AsyncFetchLinkableRepositoriesPaged { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/SyncFetchLinkableRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/SyncFetchLinkableRepositories.java index ebcd558eedc1..4e83e5e27474 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/SyncFetchLinkableRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchlinkablerepositories/SyncFetchLinkableRepositories.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchLinkableRepositories_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.FetchLinkableRepositoriesRequest; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.FetchLinkableRepositoriesRequest; +import com.google.cloudbuild.v2.Repository; public class SyncFetchLinkableRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/AsyncFetchReadToken.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/AsyncFetchReadToken.java index 319664f37a00..6500141d4c73 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/AsyncFetchReadToken.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/AsyncFetchReadToken.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadToken_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class AsyncFetchReadToken { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadToken.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadToken.java index f99e6738dcd9..47d814fc8128 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadToken.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadToken.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadToken_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadTokenRequest; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadToken { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenRepositoryname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenRepositoryname.java index 3399784bf685..8e93b402d94f 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenRepositoryname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenRepositoryname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadToken_Repositoryname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadTokenRepositoryname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenString.java index aeec8c17deea..73b8874d871a 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadtoken/SyncFetchReadTokenString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadToken_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadTokenString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/AsyncFetchReadWriteToken.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/AsyncFetchReadWriteToken.java index e7dbac7b8647..5cb42e75b682 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/AsyncFetchReadWriteToken.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/AsyncFetchReadWriteToken.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class AsyncFetchReadWriteToken { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteToken.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteToken.java index 7b8efdae6bcb..e4a733555012 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteToken.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteToken.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadWriteTokenRequest; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadWriteToken { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenRepositoryname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenRepositoryname.java index 0d1c921f1d04..9370ed82c762 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenRepositoryname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenRepositoryname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_Repositoryname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadWriteTokenRepositoryname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenString.java index e03447393036..f38368e89967 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/fetchreadwritetoken/SyncFetchReadWriteTokenString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.FetchReadWriteTokenResponse; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.FetchReadWriteTokenResponse; +import com.google.cloudbuild.v2.RepositoryName; public class SyncFetchReadWriteTokenString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/AsyncGetConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/AsyncGetConnection.java index f86967551075..f85a924060cd 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/AsyncGetConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/AsyncGetConnection.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetConnection_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.GetConnectionRequest; public class AsyncGetConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnection.java index 1678d6ba5703..67e19c63b0cf 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnection.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetConnection_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.GetConnectionRequest; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.GetConnectionRequest; public class SyncGetConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionConnectionname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionConnectionname.java index 4f676d3521d8..3eeb7d31cb2b 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionConnectionname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionConnectionname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetConnection_Connectionname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; public class SyncGetConnectionConnectionname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionString.java index 731d6e56446d..13c2c700fd40 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getconnection/SyncGetConnectionString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetConnection_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ConnectionName; public class SyncGetConnectionString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/AsyncGetIamPolicy.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/AsyncGetIamPolicy.java index c798bb96f42e..aac54e6a446f 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/AsyncGetIamPolicy.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/AsyncGetIamPolicy.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; import com.google.iam.v1.Policy; -import google.devtools.cloudbuild.v2.ConnectionName; public class AsyncGetIamPolicy { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/SyncGetIamPolicy.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/SyncGetIamPolicy.java index 8a571a326bf0..e88c3be0ef33 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/SyncGetIamPolicy.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getiampolicy/SyncGetIamPolicy.java @@ -18,10 +18,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetIamPolicy_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; import com.google.iam.v1.Policy; -import google.devtools.cloudbuild.v2.ConnectionName; public class SyncGetIamPolicy { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/AsyncGetRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/AsyncGetRepository.java index 5c5d9a337026..4fa05b751cbd 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/AsyncGetRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/AsyncGetRepository.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetRepository_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; public class AsyncGetRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepository.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepository.java index 6d2d8625a8c4..7f2d0028f385 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepository.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepository.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetRepository_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.GetRepositoryRequest; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.GetRepositoryRequest; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; public class SyncGetRepository { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryRepositoryname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryRepositoryname.java index d8751021317b..9a9e2a742435 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryRepositoryname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryRepositoryname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetRepository_Repositoryname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; public class SyncGetRepositoryRepositoryname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryString.java index d545c3ec1309..57bec4df14cf 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/getrepository/SyncGetRepositoryString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_GetRepository_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Repository; -import google.devtools.cloudbuild.v2.RepositoryName; +import com.google.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.RepositoryName; public class SyncGetRepositoryString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnections.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnections.java index 6539522d6758..8b56185244f4 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnections.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnections.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListConnections_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.LocationName; public class AsyncListConnections { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnectionsPaged.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnectionsPaged.java index fd456044e744..62ca787879f0 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnectionsPaged.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/AsyncListConnectionsPaged.java @@ -18,11 +18,11 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListConnections_Paged_async] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.ListConnectionsResponse; +import com.google.cloudbuild.v2.LocationName; import com.google.common.base.Strings; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.ListConnectionsResponse; -import google.devtools.cloudbuild.v2.LocationName; public class AsyncListConnectionsPaged { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnections.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnections.java index 3a013c0fa510..3b05ca5abf16 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnections.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnections.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListConnections_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.ListConnectionsRequest; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.ListConnectionsRequest; +import com.google.cloudbuild.v2.LocationName; public class SyncListConnections { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsLocationname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsLocationname.java index 4a98ee80bfe3..cf84fcf92f23 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsLocationname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsLocationname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListConnections_Locationname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.LocationName; public class SyncListConnectionsLocationname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsString.java index e830f3274b01..203d865530e3 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listconnections/SyncListConnectionsString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListConnections_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.LocationName; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.LocationName; public class SyncListConnectionsString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositories.java index e7912289a0b6..4ea7a5b8bfb5 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositories.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListRepositories_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.Repository; public class AsyncListRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositoriesPaged.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositoriesPaged.java index 9fc770089d4d..e9973c4031be 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositoriesPaged.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/AsyncListRepositoriesPaged.java @@ -18,11 +18,11 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListRepositories_Paged_async] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.ListRepositoriesResponse; +import com.google.cloudbuild.v2.Repository; import com.google.common.base.Strings; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.ListRepositoriesResponse; -import google.devtools.cloudbuild.v2.Repository; public class AsyncListRepositoriesPaged { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositories.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositories.java index 9a7bb6b2427f..eea2885c7066 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositories.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositories.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListRepositories_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.ListRepositoriesRequest; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.ListRepositoriesRequest; +import com.google.cloudbuild.v2.Repository; public class SyncListRepositories { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesConnectionname.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesConnectionname.java index 3d8f5951db6b..64da3f719b55 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesConnectionname.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesConnectionname.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListRepositories_Connectionname_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Repository; public class SyncListRepositoriesConnectionname { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesString.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesString.java index 99517c2f49bd..0982ea2cc19b 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesString.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/listrepositories/SyncListRepositoriesString.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_ListRepositories_String_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; -import google.devtools.cloudbuild.v2.ConnectionName; -import google.devtools.cloudbuild.v2.Repository; +import com.google.cloudbuild.v2.ConnectionName; +import com.google.cloudbuild.v2.Repository; public class SyncListRepositoriesString { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/AsyncSetIamPolicy.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/AsyncSetIamPolicy.java index 8f407de4f427..06eb04432ebb 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/AsyncSetIamPolicy.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/AsyncSetIamPolicy.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.ConnectionName; public class AsyncSetIamPolicy { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/SyncSetIamPolicy.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/SyncSetIamPolicy.java index 20dfa03b533b..6fc2f119d7ad 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/SyncSetIamPolicy.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/setiampolicy/SyncSetIamPolicy.java @@ -18,10 +18,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_SetIamPolicy_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.ConnectionName; public class SyncSetIamPolicy { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/AsyncTestIamPermissions.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/AsyncTestIamPermissions.java index 4faa67e7af90..c905cfc53813 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/AsyncTestIamPermissions.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/AsyncTestIamPermissions.java @@ -19,9 +19,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; -import google.devtools.cloudbuild.v2.ConnectionName; import java.util.ArrayList; public class AsyncTestIamPermissions { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/SyncTestIamPermissions.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/SyncTestIamPermissions.java index a6e18b2c5045..d8ca989cf6ec 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/SyncTestIamPermissions.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/testiampermissions/SyncTestIamPermissions.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_TestIamPermissions_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.ConnectionName; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; -import google.devtools.cloudbuild.v2.ConnectionName; import java.util.ArrayList; public class SyncTestIamPermissions { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnection.java index c5aeb8f33c4c..bccb66ac7de3 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnection.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_UpdateConnection_async] import com.google.api.core.ApiFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.longrunning.Operation; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; public class AsyncUpdateConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnectionLRO.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnectionLRO.java index f18e6bb12f81..47d7b24b99b8 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnectionLRO.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/AsyncUpdateConnectionLRO.java @@ -19,10 +19,10 @@ // [START cloudbuild_v2_generated_RepositoryManager_UpdateConnection_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.OperationMetadata; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.OperationMetadata; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; public class AsyncUpdateConnectionLRO { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnection.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnection.java index 17d477c3b16d..1758655b9a7b 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnection.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnection.java @@ -18,9 +18,9 @@ // [START cloudbuild_v2_generated_RepositoryManager_UpdateConnection_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; +import com.google.cloudbuild.v2.UpdateConnectionRequest; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.Connection; -import google.devtools.cloudbuild.v2.UpdateConnectionRequest; public class SyncUpdateConnection { diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnectionConnectionFieldmask.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnectionConnectionFieldmask.java index ff27db52aa48..b9d7dbb6657c 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnectionConnectionFieldmask.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v2/repositorymanager/updateconnection/SyncUpdateConnectionConnectionFieldmask.java @@ -18,8 +18,8 @@ // [START cloudbuild_v2_generated_RepositoryManager_UpdateConnection_ConnectionFieldmask_sync] import com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClient; +import com.google.cloudbuild.v2.Connection; import com.google.protobuf.FieldMask; -import google.devtools.cloudbuild.v2.Connection; public class SyncUpdateConnectionConnectionFieldmask {