diff --git a/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EnterpriseKnowledgeGraphServiceGrpc.java b/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EnterpriseKnowledgeGraphServiceGrpc.java deleted file mode 100644 index 2d1fec6f3770..000000000000 --- a/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EnterpriseKnowledgeGraphServiceGrpc.java +++ /dev/null @@ -1,941 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.enterpriseknowledgegraph.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * APIs for enterprise knowledge graph product.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/enterpriseknowledgegraph/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class EnterpriseKnowledgeGraphServiceGrpc { - - private EnterpriseKnowledgeGraphServiceGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getCreateEntityReconciliationJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEntityReconciliationJob", - requestType = - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.class, - responseType = com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getCreateEntityReconciliationJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getCreateEntityReconciliationJobMethod; - if ((getCreateEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod) - == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - if ((getCreateEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod) - == null) { - EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod = - getCreateEntityReconciliationJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateEntityReconciliationJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .CreateEntityReconciliationJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance())) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier( - "CreateEntityReconciliationJob")) - .build(); - } - } - } - return getCreateEntityReconciliationJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getGetEntityReconciliationJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEntityReconciliationJob", - requestType = - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, - responseType = com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getGetEntityReconciliationJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getGetEntityReconciliationJobMethod; - if ((getGetEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod) - == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - if ((getGetEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod) - == null) { - EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod = - getGetEntityReconciliationJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetEntityReconciliationJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .GetEntityReconciliationJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance())) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier( - "GetEntityReconciliationJob")) - .build(); - } - } - } - return getGetEntityReconciliationJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - getListEntityReconciliationJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEntityReconciliationJobs", - requestType = - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.class, - responseType = - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - getListEntityReconciliationJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - getListEntityReconciliationJobsMethod; - if ((getListEntityReconciliationJobsMethod = - EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod) - == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - if ((getListEntityReconciliationJobsMethod = - EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod) - == null) { - EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod = - getListEntityReconciliationJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListEntityReconciliationJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier( - "ListEntityReconciliationJobs")) - .build(); - } - } - } - return getListEntityReconciliationJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getCancelEntityReconciliationJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelEntityReconciliationJob", - requestType = - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getCancelEntityReconciliationJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getCancelEntityReconciliationJobMethod; - if ((getCancelEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod) - == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - if ((getCancelEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod) - == null) { - EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod = - getCancelEntityReconciliationJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CancelEntityReconciliationJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .CancelEntityReconciliationJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier( - "CancelEntityReconciliationJob")) - .build(); - } - } - } - return getCancelEntityReconciliationJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getDeleteEntityReconciliationJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEntityReconciliationJob", - requestType = - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getDeleteEntityReconciliationJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest, - com.google.protobuf.Empty> - getDeleteEntityReconciliationJobMethod; - if ((getDeleteEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod) - == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - if ((getDeleteEntityReconciliationJobMethod = - EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod) - == null) { - EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod = - getDeleteEntityReconciliationJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteEntityReconciliationJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.enterpriseknowledgegraph.v1 - .DeleteEntityReconciliationJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier( - "DeleteEntityReconciliationJob")) - .build(); - } - } - } - return getDeleteEntityReconciliationJobMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static EnterpriseKnowledgeGraphServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnterpriseKnowledgeGraphServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceStub(channel, callOptions); - } - }; - return EnterpriseKnowledgeGraphServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static EnterpriseKnowledgeGraphServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnterpriseKnowledgeGraphServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceBlockingStub(channel, callOptions); - } - }; - return EnterpriseKnowledgeGraphServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EnterpriseKnowledgeGraphServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EnterpriseKnowledgeGraphServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceFutureStub(channel, callOptions); - } - }; - return EnterpriseKnowledgeGraphServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * APIs for enterprise knowledge graph product.
-   * 
- */ - public abstract static class EnterpriseKnowledgeGraphServiceImplBase - implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
-     * will right away be attempted to start.
-     * 
- */ - public void createEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntityReconciliationJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a EntityReconciliationJob.
-     * 
- */ - public void getEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEntityReconciliationJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Entity Reconciliation Jobs.
-     * 
- */ - public void listEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntityReconciliationJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels a EntityReconciliationJob. Success of cancellation is not
-     * guaranteed.
-     * 
- */ - public void cancelEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelEntityReconciliationJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a EntityReconciliationJob.
-     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
-     * CANCELLED.
-     * 
- */ - public void deleteEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntityReconciliationJobMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateEntityReconciliationJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.enterpriseknowledgegraph.v1 - .CreateEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>( - this, METHODID_CREATE_ENTITY_RECONCILIATION_JOB))) - .addMethod( - getGetEntityReconciliationJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.enterpriseknowledgegraph.v1 - .GetEntityReconciliationJobRequest, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>( - this, METHODID_GET_ENTITY_RECONCILIATION_JOB))) - .addMethod( - getListEntityReconciliationJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsRequest, - com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsResponse>( - this, METHODID_LIST_ENTITY_RECONCILIATION_JOBS))) - .addMethod( - getCancelEntityReconciliationJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.enterpriseknowledgegraph.v1 - .CancelEntityReconciliationJobRequest, - com.google.protobuf.Empty>(this, METHODID_CANCEL_ENTITY_RECONCILIATION_JOB))) - .addMethod( - getDeleteEntityReconciliationJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.enterpriseknowledgegraph.v1 - .DeleteEntityReconciliationJobRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ENTITY_RECONCILIATION_JOB))) - .build(); - } - } - - /** - * - * - *
-   * APIs for enterprise knowledge graph product.
-   * 
- */ - public static final class EnterpriseKnowledgeGraphServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private EnterpriseKnowledgeGraphServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnterpriseKnowledgeGraphServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
-     * will right away be attempted to start.
-     * 
- */ - public void createEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntityReconciliationJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a EntityReconciliationJob.
-     * 
- */ - public void getEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntityReconciliationJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Entity Reconciliation Jobs.
-     * 
- */ - public void listEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntityReconciliationJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels a EntityReconciliationJob. Success of cancellation is not
-     * guaranteed.
-     * 
- */ - public void cancelEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelEntityReconciliationJobMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a EntityReconciliationJob.
-     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
-     * CANCELLED.
-     * 
- */ - public void deleteEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEntityReconciliationJobMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * APIs for enterprise knowledge graph product.
-   * 
- */ - public static final class EnterpriseKnowledgeGraphServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EnterpriseKnowledgeGraphServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnterpriseKnowledgeGraphServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
-     * will right away be attempted to start.
-     * 
- */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - createEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEntityReconciliationJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a EntityReconciliationJob.
-     * 
- */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEntityReconciliationJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Entity Reconciliation Jobs.
-     * 
- */ - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - listEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEntityReconciliationJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancels a EntityReconciliationJob. Success of cancellation is not
-     * guaranteed.
-     * 
- */ - public com.google.protobuf.Empty cancelEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelEntityReconciliationJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a EntityReconciliationJob.
-     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
-     * CANCELLED.
-     * 
- */ - public com.google.protobuf.Empty deleteEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEntityReconciliationJobMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * APIs for enterprise knowledge graph product.
-   * 
- */ - public static final class EnterpriseKnowledgeGraphServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EnterpriseKnowledgeGraphServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected EnterpriseKnowledgeGraphServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EnterpriseKnowledgeGraphServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
-     * will right away be attempted to start.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - createEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEntityReconciliationJobMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Gets a EntityReconciliationJob.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - getEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEntityReconciliationJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Entity Reconciliation Jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse> - listEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEntityReconciliationJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancels a EntityReconciliationJob. Success of cancellation is not
-     * guaranteed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelEntityReconciliationJobMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Deletes a EntityReconciliationJob.
-     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
-     * CANCELLED.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEntityReconciliationJobMethod(), getCallOptions()), - request); - } - } - - private static final int METHODID_CREATE_ENTITY_RECONCILIATION_JOB = 0; - private static final int METHODID_GET_ENTITY_RECONCILIATION_JOB = 1; - private static final int METHODID_LIST_ENTITY_RECONCILIATION_JOBS = 2; - private static final int METHODID_CANCEL_ENTITY_RECONCILIATION_JOB = 3; - private static final int METHODID_DELETE_ENTITY_RECONCILIATION_JOB = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final EnterpriseKnowledgeGraphServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(EnterpriseKnowledgeGraphServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ENTITY_RECONCILIATION_JOB: - serviceImpl.createEntityReconciliationJob( - (com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>) - responseObserver); - break; - case METHODID_GET_ENTITY_RECONCILIATION_JOB: - serviceImpl.getEntityReconciliationJob( - (com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>) - responseObserver); - break; - case METHODID_LIST_ENTITY_RECONCILIATION_JOBS: - serviceImpl.listEntityReconciliationJobs( - (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsResponse>) - responseObserver); - break; - case METHODID_CANCEL_ENTITY_RECONCILIATION_JOB: - serviceImpl.cancelEntityReconciliationJob( - (com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ENTITY_RECONCILIATION_JOB: - serviceImpl.deleteEntityReconciliationJob( - (com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("EnterpriseKnowledgeGraphService"); - } - } - - private static final class EnterpriseKnowledgeGraphServiceFileDescriptorSupplier - extends EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier { - EnterpriseKnowledgeGraphServiceFileDescriptorSupplier() {} - } - - private static final class EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier - extends EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor( - new EnterpriseKnowledgeGraphServiceFileDescriptorSupplier()) - .addMethod(getCreateEntityReconciliationJobMethod()) - .addMethod(getGetEntityReconciliationJobMethod()) - .addMethod(getListEntityReconciliationJobsMethod()) - .addMethod(getCancelEntityReconciliationJobMethod()) - .addMethod(getDeleteEntityReconciliationJobMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java deleted file mode 100644 index e30d164e5336..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface AffinityClusteringConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Number of iterations to perform. Default value is 1.
-   * 
- * - * int64 compression_round_count = 1; - * - * @return The compressionRoundCount. - */ - long getCompressionRoundCount(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java deleted file mode 100644 index 90687059d0e7..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface BigQueryInputConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Format is `projects/*/datasets/*/tables/*`.
-   * 
- * - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bigqueryTable. - */ - java.lang.String getBigqueryTable(); - /** - * - * - *
-   * Required. Format is `projects/*/datasets/*/tables/*`.
-   * 
- * - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for bigqueryTable. - */ - com.google.protobuf.ByteString getBigqueryTableBytes(); - - /** - * - * - *
-   * Required. Schema mapping file
-   * 
- * - * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The gcsUri. - */ - java.lang.String getGcsUri(); - /** - * - * - *
-   * Required. Schema mapping file
-   * 
- * - * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for gcsUri. - */ - com.google.protobuf.ByteString getGcsUriBytes(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java deleted file mode 100644 index da1422569bdf..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface CancelEntityReconciliationJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java deleted file mode 100644 index 9019eff4a6e6..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface ConnectedComponentsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Threshold used for connected components. Default value is 0.85.
-   * 
- * - * float weight_threshold = 1; - * - * @return The weightThreshold. - */ - float getWeightThreshold(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java deleted file mode 100644 index 15aced5c633e..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface CreateEntityReconciliationJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the Location to create the
-   * EntityReconciliationJob in. Format:
-   * `projects/{project}/locations/{location}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The resource name of the Location to create the
-   * EntityReconciliationJob in. Format:
-   * `projects/{project}/locations/{location}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The EntityReconciliationJob to create.
-   * 
- * - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the entityReconciliationJob field is set. - */ - boolean hasEntityReconciliationJob(); - /** - * - * - *
-   * Required. The EntityReconciliationJob to create.
-   * 
- * - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The entityReconciliationJob. - */ - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJob(); - /** - * - * - *
-   * Required. The EntityReconciliationJob to create.
-   * 
- * - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobOrBuilder(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java deleted file mode 100644 index 5cd5df2c92aa..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface DeleteEntityReconciliationJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java deleted file mode 100644 index ab00e31032c4..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public interface GetEntityReconciliationJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the EntityReconciliationJob resource.
-   * Format:
-   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java deleted file mode 100644 index c5e187515919..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/job_state.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public final class JobStateProto { - private JobStateProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/enterpriseknowledgegraph/" - + "v1/job_state.proto\022(google.cloud.enterpr" - + "iseknowledgegraph.v1*\236\002\n\010JobState\022\031\n\025JOB" - + "_STATE_UNSPECIFIED\020\000\022\025\n\021JOB_STATE_PENDIN" - + "G\020\t\022\025\n\021JOB_STATE_RUNNING\020\001\022\027\n\023JOB_STATE_" - + "SUCCEEDED\020\002\022\024\n\020JOB_STATE_FAILED\020\003\022\027\n\023JOB" - + "_STATE_CANCELLED\020\004\022\"\n\036JOB_STATE_KNOWLEDG" - + "E_EXTRACTION\020\005\022!\n\035JOB_STATE_RECON_PREPRO" - + "CESSING\020\006\022\030\n\024JOB_STATE_CLUSTERING\020\007\022 \n\034J" - + "OB_STATE_EXPORTING_CLUSTERS\020\010B\241\001\n,com.go" - + "ogle.cloud.enterpriseknowledgegraph.v1B\r" - + "JobStateProtoP\001Z`google.golang.org/genpr" - + "oto/googleapis/cloud/enterpriseknowledge" - + "graph/v1;enterpriseknowledgegraphb\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java deleted file mode 100644 index eefae14d268e..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public final class OperationMetadataProto { - private OperationMetadataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nAgoogle/cloud/enterpriseknowledgegraph/" - + "v1/operation_metadata.proto\022(google.clou" - + "d.enterpriseknowledgegraph.v1\032\037google/pr" - + "otobuf/timestamp.proto\"\307\002\n\027CommonOperati" - + "onMetadata\022V\n\005state\030\001 \001(\0162G.google.cloud" - + ".enterpriseknowledgegraph.v1.CommonOpera" - + "tionMetadata.State\022/\n\013create_time\030\002 \001(\0132" - + "\032.google.protobuf.Timestamp\022/\n\013update_ti" - + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"r\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020" - + "\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAIL" - + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\252\001\n,com" - + ".google.cloud.enterpriseknowledgegraph.v" - + "1B\026OperationMetadataProtoP\001Z`google.gola" - + "ng.org/genproto/googleapis/cloud/enterpr" - + "iseknowledgegraph/v1;enterpriseknowledge" - + "graphb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor, - new java.lang.String[] { - "State", "CreateTime", "UpdateTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java deleted file mode 100644 index 65808b36dc6e..000000000000 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java +++ /dev/null @@ -1,419 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/enterpriseknowledgegraph/v1/service.proto - -package com.google.cloud.enterpriseknowledgegraph.v1; - -public final class ServiceProto { - private ServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/enterpriseknowledgegraph/" - + "v1/service.proto\022(google.cloud.enterpris" - + "eknowledgegraph.v1\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032\037googl" - + "e/api/field_behavior.proto\032\031google/api/r" - + "esource.proto\0328google/cloud/enterprisekn" - + "owledgegraph/v1/job_state.proto\032Agoogle/" - + "cloud/enterpriseknowledgegraph/v1/operat" - + "ion_metadata.proto\032\033google/protobuf/empt" - + "y.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\"\266\003\n\013InputConfi" - + "g\022]\n\026bigquery_input_configs\030\001 \003(\0132=.goog" - + "le.cloud.enterpriseknowledgegraph.v1.Big" - + "QueryInputConfig\022U\n\013entity_type\030\002 \001(\0162@." - + "google.cloud.enterpriseknowledgegraph.v1" - + ".InputConfig.EntityType\022M\n\036previous_resu" - + "lt_bigquery_table\030\003 \001(\tB%\340A\001\372A\037\n\035bigquer" - + "y.googleapis.com/Table\"\241\001\n\nEntityType\022\033\n" - + "\027ENTITY_TYPE_UNSPECIFIED\020\000\022\016\n\006PEOPLE\020\001\032\002" - + "\010\001\022\025\n\rESTABLISHMENT\020\002\032\002\010\001\022\020\n\010PROPERTY\020\003\032" - + "\002\010\001\022\013\n\007PRODUCT\020\004\022\020\n\014ORGANIZATION\020\005\022\022\n\016LO" - + "CAL_BUSINESS\020\006\022\n\n\006PERSON\020\007\"j\n\023BigQueryIn" - + "putConfig\022=\n\016bigquery_table\030\001 \001(\tB%\340A\002\372A" - + "\037\n\035bigquery.googleapis.com/Table\022\024\n\007gcs_" - + "uri\030\002 \001(\tB\003\340A\002\"N\n\014OutputConfig\022>\n\020bigque" - + "ry_dataset\030\001 \001(\tB$\372A!\n\037bigquery.googleap" - + "is.com/Dataset\"\211\004\n\013ReconConfig\022j\n\033connec" - + "ted_components_config\030\001 \001(\0132C.google.clo" - + "ud.enterpriseknowledgegraph.v1.Connected" - + "ComponentsConfigH\000\022h\n\032affinity_clusterin" - + "g_config\030\002 \001(\0132B.google.cloud.enterprise" - + "knowledgegraph.v1.AffinityClusteringConf" - + "igH\000\022N\n\007options\030\003 \001(\0132=.google.cloud.ent" - + "erpriseknowledgegraph.v1.ReconConfig.Opt" - + "ions\022W\n\014model_config\030\004 \001(\0132A.google.clou" - + "d.enterpriseknowledgegraph.v1.ReconConfi" - + "g.ModelConfig\032.\n\007Options\022#\n\033enable_geoco" - + "ding_separation\030d \001(\010\0326\n\013ModelConfig\022\022\n\n" - + "model_name\030\001 \001(\t\022\023\n\013version_tag\030\002 \001(\tB\023\n" - + "\021clustering_config\"5\n\031ConnectedComponent" - + "sConfig\022\030\n\020weight_threshold\030\001 \001(\002\";\n\030Aff" - + "inityClusteringConfig\022\037\n\027compression_rou" - + "nd_count\030\001 \001(\003\"u\n\027DeleteOperationMetadat" - + "a\022Z\n\017common_metadata\030\001 \001(\0132A.google.clou" - + "d.enterpriseknowledgegraph.v1.CommonOper" - + "ationMetadata\"\333\001\n$CreateEntityReconcilia" - + "tionJobRequest\022H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0" - + "enterpriseknowledgegraph.googleapis.com/" - + "Location\022i\n\031entity_reconciliation_job\030\002 " - + "\001(\0132A.google.cloud.enterpriseknowledgegr" - + "aph.v1.EntityReconciliationJobB\003\340A\002\"z\n!G" - + "etEntityReconciliationJobRequest\022U\n\004name" - + "\030\001 \001(\tBG\340A\002\372AA\n?enterpriseknowledgegraph" - + ".googleapis.com/EntityReconciliationJob\"" - + "\246\001\n#ListEntityReconciliationJobsRequest\022" - + "H\n\006parent\030\001 \001(\tB8\340A\002\372A2\n0enterpriseknowl" - + "edgegraph.googleapis.com/Location\022\016\n\006fil" - + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" - + "en\030\004 \001(\t\"\246\001\n$ListEntityReconciliationJob" - + "sResponse\022e\n\032entity_reconciliation_jobs\030" - + "\001 \003(\0132A.google.cloud.enterpriseknowledge" - + "graph.v1.EntityReconciliationJob\022\027\n\017next" - + "_page_token\030\002 \001(\t\"}\n$CancelEntityReconci" - + "liationJobRequest\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n" - + "?enterpriseknowledgegraph.googleapis.com" - + "/EntityReconciliationJob\"}\n$DeleteEntity" - + "ReconciliationJobRequest\022U\n\004name\030\001 \001(\tBG" - + "\340A\002\372AA\n?enterpriseknowledgegraph.googlea" - + "pis.com/EntityReconciliationJob\"\331\005\n\027Enti" - + "tyReconciliationJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022P" - + "\n\014input_config\030\002 \001(\01325.google.cloud.ente" - + "rpriseknowledgegraph.v1.InputConfigB\003\340A\002" - + "\022R\n\routput_config\030\003 \001(\01326.google.cloud.e" - + "nterpriseknowledgegraph.v1.OutputConfigB" - + "\003\340A\002\022F\n\005state\030\004 \001(\01622.google.cloud.enter" - + "priseknowledgegraph.v1.JobStateB\003\340A\003\022&\n\005" - + "error\030\005 \001(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013" - + "create_time\030\006 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0221\n\010end_time\030\007 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\010 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022P\n\014r" - + "econ_config\030\t \001(\01325.google.cloud.enterpr" - + "iseknowledgegraph.v1.ReconConfigB\003\340A\001:\243\001" - + "\352A\237\001\n?enterpriseknowledgegraph.googleapi" - + "s.com/EntityReconciliationJob\022\\projects/" - + "{project}/locations/{location}/entityRec" - + "onciliationJobs/{entity_reconciliation_j" - + "ob}2\373\n\n\037EnterpriseKnowledgeGraphService\022" - + "\267\002\n\035CreateEntityReconciliationJob\022N.goog" - + "le.cloud.enterpriseknowledgegraph.v1.Cre" - + "ateEntityReconciliationJobRequest\032A.goog" - + "le.cloud.enterpriseknowledgegraph.v1.Ent" - + "ityReconciliationJob\"\202\001\202\323\344\223\002Y\"\022\022* + * APIs for enterprise knowledge graph product. + * + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/enterpriseknowledgegraph/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class EnterpriseKnowledgeGraphServiceGrpc { + + private EnterpriseKnowledgeGraphServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateEntityReconciliationJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEntityReconciliationJob", + requestType = com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.class, + responseType = com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateEntityReconciliationJobMethod() { + io.grpc.MethodDescriptor getCreateEntityReconciliationJobMethod; + if ((getCreateEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod) == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + if ((getCreateEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod) == null) { + EnterpriseKnowledgeGraphServiceGrpc.getCreateEntityReconciliationJobMethod = getCreateEntityReconciliationJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntityReconciliationJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance())) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier("CreateEntityReconciliationJob")) + .build(); + } + } + } + return getCreateEntityReconciliationJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEntityReconciliationJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEntityReconciliationJob", + requestType = com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, + responseType = com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEntityReconciliationJobMethod() { + io.grpc.MethodDescriptor getGetEntityReconciliationJobMethod; + if ((getGetEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod) == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + if ((getGetEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod) == null) { + EnterpriseKnowledgeGraphServiceGrpc.getGetEntityReconciliationJobMethod = getGetEntityReconciliationJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntityReconciliationJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance())) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier("GetEntityReconciliationJob")) + .build(); + } + } + } + return getGetEntityReconciliationJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEntityReconciliationJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEntityReconciliationJobs", + requestType = com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.class, + responseType = com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEntityReconciliationJobsMethod() { + io.grpc.MethodDescriptor getListEntityReconciliationJobsMethod; + if ((getListEntityReconciliationJobsMethod = EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod) == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + if ((getListEntityReconciliationJobsMethod = EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod) == null) { + EnterpriseKnowledgeGraphServiceGrpc.getListEntityReconciliationJobsMethod = getListEntityReconciliationJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntityReconciliationJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier("ListEntityReconciliationJobs")) + .build(); + } + } + } + return getListEntityReconciliationJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelEntityReconciliationJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelEntityReconciliationJob", + requestType = com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelEntityReconciliationJobMethod() { + io.grpc.MethodDescriptor getCancelEntityReconciliationJobMethod; + if ((getCancelEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod) == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + if ((getCancelEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod) == null) { + EnterpriseKnowledgeGraphServiceGrpc.getCancelEntityReconciliationJobMethod = getCancelEntityReconciliationJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntityReconciliationJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier("CancelEntityReconciliationJob")) + .build(); + } + } + } + return getCancelEntityReconciliationJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteEntityReconciliationJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEntityReconciliationJob", + requestType = com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteEntityReconciliationJobMethod() { + io.grpc.MethodDescriptor getDeleteEntityReconciliationJobMethod; + if ((getDeleteEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod) == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + if ((getDeleteEntityReconciliationJobMethod = EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod) == null) { + EnterpriseKnowledgeGraphServiceGrpc.getDeleteEntityReconciliationJobMethod = getDeleteEntityReconciliationJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEntityReconciliationJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier("DeleteEntityReconciliationJob")) + .build(); + } + } + } + return getDeleteEntityReconciliationJobMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static EnterpriseKnowledgeGraphServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnterpriseKnowledgeGraphServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceStub(channel, callOptions); + } + }; + return EnterpriseKnowledgeGraphServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static EnterpriseKnowledgeGraphServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnterpriseKnowledgeGraphServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceBlockingStub(channel, callOptions); + } + }; + return EnterpriseKnowledgeGraphServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EnterpriseKnowledgeGraphServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EnterpriseKnowledgeGraphServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceFutureStub(channel, callOptions); + } + }; + return EnterpriseKnowledgeGraphServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * APIs for enterprise knowledge graph product.
+   * 
+ */ + public static abstract class EnterpriseKnowledgeGraphServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
+     * will right away be attempted to start.
+     * 
+ */ + public void createEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntityReconciliationJobMethod(), responseObserver); + } + + /** + *
+     * Gets a EntityReconciliationJob.
+     * 
+ */ + public void getEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityReconciliationJobMethod(), responseObserver); + } + + /** + *
+     * Lists Entity Reconciliation Jobs.
+     * 
+ */ + public void listEntityReconciliationJobs(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntityReconciliationJobsMethod(), responseObserver); + } + + /** + *
+     * Cancels a EntityReconciliationJob. Success of cancellation is not
+     * guaranteed.
+     * 
+ */ + public void cancelEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelEntityReconciliationJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a EntityReconciliationJob.
+     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
+     * CANCELLED.
+     * 
+ */ + public void deleteEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntityReconciliationJobMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateEntityReconciliationJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest, + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>( + this, METHODID_CREATE_ENTITY_RECONCILIATION_JOB))) + .addMethod( + getGetEntityReconciliationJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest, + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>( + this, METHODID_GET_ENTITY_RECONCILIATION_JOB))) + .addMethod( + getListEntityReconciliationJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest, + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse>( + this, METHODID_LIST_ENTITY_RECONCILIATION_JOBS))) + .addMethod( + getCancelEntityReconciliationJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_ENTITY_RECONCILIATION_JOB))) + .addMethod( + getDeleteEntityReconciliationJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ENTITY_RECONCILIATION_JOB))) + .build(); + } + } + + /** + *
+   * APIs for enterprise knowledge graph product.
+   * 
+ */ + public static final class EnterpriseKnowledgeGraphServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EnterpriseKnowledgeGraphServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnterpriseKnowledgeGraphServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
+     * will right away be attempted to start.
+     * 
+ */ + public void createEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEntityReconciliationJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a EntityReconciliationJob.
+     * 
+ */ + public void getEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEntityReconciliationJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Entity Reconciliation Jobs.
+     * 
+ */ + public void listEntityReconciliationJobs(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEntityReconciliationJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels a EntityReconciliationJob. Success of cancellation is not
+     * guaranteed.
+     * 
+ */ + public void cancelEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelEntityReconciliationJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a EntityReconciliationJob.
+     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
+     * CANCELLED.
+     * 
+ */ + public void deleteEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEntityReconciliationJobMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * APIs for enterprise knowledge graph product.
+   * 
+ */ + public static final class EnterpriseKnowledgeGraphServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EnterpriseKnowledgeGraphServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnterpriseKnowledgeGraphServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
+     * will right away be attempted to start.
+     * 
+ */ + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob createEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEntityReconciliationJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a EntityReconciliationJob.
+     * 
+ */ + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEntityReconciliationJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Entity Reconciliation Jobs.
+     * 
+ */ + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse listEntityReconciliationJobs(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEntityReconciliationJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels a EntityReconciliationJob. Success of cancellation is not
+     * guaranteed.
+     * 
+ */ + public com.google.protobuf.Empty cancelEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelEntityReconciliationJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a EntityReconciliationJob.
+     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
+     * CANCELLED.
+     * 
+ */ + public com.google.protobuf.Empty deleteEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEntityReconciliationJobMethod(), getCallOptions(), request); + } + } + + /** + *
+   * APIs for enterprise knowledge graph product.
+   * 
+ */ + public static final class EnterpriseKnowledgeGraphServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private EnterpriseKnowledgeGraphServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected EnterpriseKnowledgeGraphServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EnterpriseKnowledgeGraphServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a EntityReconciliationJob. A EntityReconciliationJob once created
+     * will right away be attempted to start.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createEntityReconciliationJob( + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEntityReconciliationJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a EntityReconciliationJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEntityReconciliationJob( + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEntityReconciliationJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Entity Reconciliation Jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEntityReconciliationJobs( + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEntityReconciliationJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels a EntityReconciliationJob. Success of cancellation is not
+     * guaranteed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelEntityReconciliationJob( + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelEntityReconciliationJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a EntityReconciliationJob.
+     * It only deletes the job when the job state is in FAILED, SUCCEEDED, and
+     * CANCELLED.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteEntityReconciliationJob( + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEntityReconciliationJobMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ENTITY_RECONCILIATION_JOB = 0; + private static final int METHODID_GET_ENTITY_RECONCILIATION_JOB = 1; + private static final int METHODID_LIST_ENTITY_RECONCILIATION_JOBS = 2; + private static final int METHODID_CANCEL_ENTITY_RECONCILIATION_JOB = 3; + private static final int METHODID_DELETE_ENTITY_RECONCILIATION_JOB = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final EnterpriseKnowledgeGraphServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(EnterpriseKnowledgeGraphServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ENTITY_RECONCILIATION_JOB: + serviceImpl.createEntityReconciliationJob((com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ENTITY_RECONCILIATION_JOB: + serviceImpl.getEntityReconciliationJob((com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ENTITY_RECONCILIATION_JOBS: + serviceImpl.listEntityReconciliationJobs((com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_ENTITY_RECONCILIATION_JOB: + serviceImpl.cancelEntityReconciliationJob((com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ENTITY_RECONCILIATION_JOB: + serviceImpl.deleteEntityReconciliationJob((com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("EnterpriseKnowledgeGraphService"); + } + } + + private static final class EnterpriseKnowledgeGraphServiceFileDescriptorSupplier + extends EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier { + EnterpriseKnowledgeGraphServiceFileDescriptorSupplier() {} + } + + private static final class EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier + extends EnterpriseKnowledgeGraphServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + EnterpriseKnowledgeGraphServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (EnterpriseKnowledgeGraphServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EnterpriseKnowledgeGraphServiceFileDescriptorSupplier()) + .addMethod(getCreateEntityReconciliationJobMethod()) + .addMethod(getGetEntityReconciliationJobMethod()) + .addMethod(getListEntityReconciliationJobsMethod()) + .addMethod(getCancelEntityReconciliationJobMethod()) + .addMethod(getDeleteEntityReconciliationJobMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java similarity index 60% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java index 950ba0dda5d9..891e6ab0bb5c 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Options for affinity clustering.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig} */ -public final class AffinityClusteringConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AffinityClusteringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) AffinityClusteringConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AffinityClusteringConfig.newBuilder() to construct. private AffinityClusteringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AffinityClusteringConfig() {} + private AffinityClusteringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AffinityClusteringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder.class); } public static final int COMPRESSION_ROUND_COUNT_FIELD_NUMBER = 1; private long compressionRoundCount_; /** - * - * *
    * Number of iterations to perform. Default value is 1.
    * 
* * int64 compression_round_count = 1; - * * @return The compressionRoundCount. */ @java.lang.Override @@ -84,7 +63,6 @@ public long getCompressionRoundCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (compressionRoundCount_ != 0L) { output.writeInt64(1, compressionRoundCount_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (compressionRoundCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, compressionRoundCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, compressionRoundCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) obj; - if (getCompressionRoundCount() != other.getCompressionRoundCount()) return false; + if (getCompressionRoundCount() + != other.getCompressionRoundCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,145 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COMPRESSION_ROUND_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompressionRoundCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCompressionRoundCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - 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 com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig 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 com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for affinity clustering.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -289,16 +261,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } @java.lang.Override @@ -312,8 +282,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig bui @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig(this); result.compressionRoundCount_ = compressionRoundCount_; onBuilt(); return result; @@ -323,51 +292,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance()) return this; if (other.getCompressionRoundCount() != 0L) { setCompressionRoundCount(other.getCompressionRoundCount()); } @@ -397,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - compressionRoundCount_ = input.readInt64(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + compressionRoundCount_ = input.readInt64(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,16 +382,13 @@ public Builder mergeFrom( return this; } - private long compressionRoundCount_; + private long compressionRoundCount_ ; /** - * - * *
      * Number of iterations to perform. Default value is 1.
      * 
* * int64 compression_round_count = 1; - * * @return The compressionRoundCount. */ @java.lang.Override @@ -437,43 +396,37 @@ public long getCompressionRoundCount() { return compressionRoundCount_; } /** - * - * *
      * Number of iterations to perform. Default value is 1.
      * 
* * int64 compression_round_count = 1; - * * @param value The compressionRoundCount to set. * @return This builder for chaining. */ public Builder setCompressionRoundCount(long value) { - + compressionRoundCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of iterations to perform. Default value is 1.
      * 
* * int64 compression_round_count = 1; - * * @return This builder for chaining. */ public Builder clearCompressionRoundCount() { - + compressionRoundCount_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -483,43 +436,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - private static final com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AffinityClusteringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AffinityClusteringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -531,8 +482,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java new file mode 100644 index 000000000000..3998006851b4 --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/AffinityClusteringConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface AffinityClusteringConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Number of iterations to perform. Default value is 1.
+   * 
+ * + * int64 compression_round_count = 1; + * @return The compressionRoundCount. + */ + long getCompressionRoundCount(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java similarity index 63% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java index f62c62e94c95..ec4619708627 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * The input config for BigQuery tables.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig} */ -public final class BigQueryInputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryInputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) BigQueryInputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryInputConfig.newBuilder() to construct. private BigQueryInputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryInputConfig() { bigqueryTable_ = ""; gcsUri_ = ""; @@ -44,43 +26,37 @@ private BigQueryInputConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryInputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder.class); } public static final int BIGQUERY_TABLE_FIELD_NUMBER = 1; private volatile java.lang.Object bigqueryTable_; /** - * - * *
    * Required. Format is `projects/*/datasets/*/tables/*`.
    * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bigqueryTable. */ @java.lang.Override @@ -89,31 +65,29 @@ public java.lang.String getBigqueryTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigqueryTable_ = s; return s; } } /** - * - * *
    * Required. Format is `projects/*/datasets/*/tables/*`.
    * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for bigqueryTable. */ @java.lang.Override - public com.google.protobuf.ByteString getBigqueryTableBytes() { + public com.google.protobuf.ByteString + getBigqueryTableBytes() { java.lang.Object ref = bigqueryTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigqueryTable_ = b; return b; } else { @@ -124,14 +98,11 @@ public com.google.protobuf.ByteString getBigqueryTableBytes() { public static final int GCS_URI_FIELD_NUMBER = 2; private volatile java.lang.Object gcsUri_; /** - * - * *
    * Required. Schema mapping file
    * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The gcsUri. */ @java.lang.Override @@ -140,29 +111,29 @@ public java.lang.String getGcsUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcsUri_ = s; return s; } } /** - * - * *
    * Required. Schema mapping file
    * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for gcsUri. */ @java.lang.Override - public com.google.protobuf.ByteString getGcsUriBytes() { + public com.google.protobuf.ByteString + getGcsUriBytes() { java.lang.Object ref = gcsUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcsUri_ = b; return b; } else { @@ -171,7 +142,6 @@ public com.google.protobuf.ByteString getGcsUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bigqueryTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bigqueryTable_); } @@ -213,16 +184,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) obj; - if (!getBigqueryTable().equals(other.getBigqueryTable())) return false; - if (!getGcsUri().equals(other.getGcsUri())) return false; + if (!getBigqueryTable() + .equals(other.getBigqueryTable())) return false; + if (!getGcsUri() + .equals(other.getGcsUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,136 +216,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The input config for BigQuery tables.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder.class); } // Construct using com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -385,14 +350,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getDefaultInstanceForType() { return com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.getDefaultInstance(); } @@ -407,8 +371,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig build() @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig(this); result.bigqueryTable_ = bigqueryTable_; result.gcsUri_ = gcsUri_; onBuilt(); @@ -419,50 +382,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) { - return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.getDefaultInstance()) return this; if (!other.getBigqueryTable().isEmpty()) { bigqueryTable_ = other.bigqueryTable_; onChanged(); @@ -497,25 +456,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - bigqueryTable_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - gcsUri_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + bigqueryTable_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + gcsUri_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -528,22 +484,18 @@ public Builder mergeFrom( private java.lang.Object bigqueryTable_ = ""; /** - * - * *
      * Required. Format is `projects/*/datasets/*/tables/*`.
      * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bigqueryTable. */ public java.lang.String getBigqueryTable() { java.lang.Object ref = bigqueryTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigqueryTable_ = s; return s; @@ -552,23 +504,20 @@ public java.lang.String getBigqueryTable() { } } /** - * - * *
      * Required. Format is `projects/*/datasets/*/tables/*`.
      * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for bigqueryTable. */ - public com.google.protobuf.ByteString getBigqueryTableBytes() { + public com.google.protobuf.ByteString + getBigqueryTableBytes() { java.lang.Object ref = bigqueryTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigqueryTable_ = b; return b; } else { @@ -576,67 +525,54 @@ public com.google.protobuf.ByteString getBigqueryTableBytes() { } } /** - * - * *
      * Required. Format is `projects/*/datasets/*/tables/*`.
      * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bigqueryTable to set. * @return This builder for chaining. */ - public Builder setBigqueryTable(java.lang.String value) { + public Builder setBigqueryTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bigqueryTable_ = value; onChanged(); return this; } /** - * - * *
      * Required. Format is `projects/*/datasets/*/tables/*`.
      * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearBigqueryTable() { - + bigqueryTable_ = getDefaultInstance().getBigqueryTable(); onChanged(); return this; } /** - * - * *
      * Required. Format is `projects/*/datasets/*/tables/*`.
      * 
* - * - * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for bigqueryTable to set. * @return This builder for chaining. */ - public Builder setBigqueryTableBytes(com.google.protobuf.ByteString value) { + public Builder setBigqueryTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bigqueryTable_ = value; onChanged(); return this; @@ -644,20 +580,18 @@ public Builder setBigqueryTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object gcsUri_ = ""; /** - * - * *
      * Required. Schema mapping file
      * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The gcsUri. */ public java.lang.String getGcsUri() { java.lang.Object ref = gcsUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcsUri_ = s; return s; @@ -666,21 +600,20 @@ public java.lang.String getGcsUri() { } } /** - * - * *
      * Required. Schema mapping file
      * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for gcsUri. */ - public com.google.protobuf.ByteString getGcsUriBytes() { + public com.google.protobuf.ByteString + getGcsUriBytes() { java.lang.Object ref = gcsUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcsUri_ = b; return b; } else { @@ -688,68 +621,61 @@ public com.google.protobuf.ByteString getGcsUriBytes() { } } /** - * - * *
      * Required. Schema mapping file
      * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The gcsUri to set. * @return This builder for chaining. */ - public Builder setGcsUri(java.lang.String value) { + public Builder setGcsUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcsUri_ = value; onChanged(); return this; } /** - * - * *
      * Required. Schema mapping file
      * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGcsUri() { - + gcsUri_ = getDefaultInstance().getGcsUri(); onChanged(); return this; } /** - * - * *
      * Required. Schema mapping file
      * 
* * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for gcsUri to set. * @return This builder for chaining. */ - public Builder setGcsUriBytes(com.google.protobuf.ByteString value) { + public Builder setGcsUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcsUri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,43 +685,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) - private static final com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryInputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryInputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,8 +731,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java new file mode 100644 index 000000000000..4a3822751f1c --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/BigQueryInputConfigOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface BigQueryInputConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Format is `projects/*/datasets/*/tables/*`.
+   * 
+ * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bigqueryTable. + */ + java.lang.String getBigqueryTable(); + /** + *
+   * Required. Format is `projects/*/datasets/*/tables/*`.
+   * 
+ * + * string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for bigqueryTable. + */ + com.google.protobuf.ByteString + getBigqueryTableBytes(); + + /** + *
+   * Required. Schema mapping file
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The gcsUri. + */ + java.lang.String getGcsUri(); + /** + *
+   * Required. Schema mapping file
+   * 
+ * + * string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for gcsUri. + */ + com.google.protobuf.ByteString + getGcsUriBytes(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java similarity index 51% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java index 171f1f99522a..cdb285116799 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Request message for CancelEntityReconciliationJob.
  * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest} */ -public final class CancelEntityReconciliationJobRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelEntityReconciliationJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) CancelEntityReconciliationJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelEntityReconciliationJobRequest.newBuilder() to construct. - private CancelEntityReconciliationJobRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CancelEntityReconciliationJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelEntityReconciliationJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelEntityReconciliationJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,17 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest other = - (com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) obj; + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest other = (com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,147 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CancelEntityReconciliationJob.
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - .class, - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -344,23 +295,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - build() { - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest result = - buildPartial(); + public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest build() { + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -368,11 +315,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest result = - new com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest( - this); + public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest result = new com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -382,54 +326,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) - other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -460,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,45 +534,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .CancelEntityReconciliationJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelEntityReconciliationJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelEntityReconciliationJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,8 +580,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java new file mode 100644 index 000000000000..c93c37fff386 --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CancelEntityReconciliationJobRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface CancelEntityReconciliationJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.CancelEntityReconciliationJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java similarity index 67% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java index 437157a8a22c..282cbea0c0e9 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadata.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * The common metadata for long running operations.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata} */ -public final class CommonOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommonOperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) CommonOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommonOperationMetadata.newBuilder() to construct. private CommonOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommonOperationMetadata() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommonOperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.class, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.class, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder.class); } /** - * - * *
    * State of the longrunning operation.
    * 
* * Protobuf enum {@code google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -88,8 +66,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Operation is still running.
      * 
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * Operation is being cancelled.
      * 
@@ -108,8 +82,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * Operation succeeded.
      * 
@@ -118,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * Operation failed.
      * 
@@ -128,8 +98,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * Operation is cancelled.
      * 
@@ -138,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * Operation is pending not running yet.
      * 
@@ -151,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified state.
      * 
@@ -161,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Operation is still running.
      * 
@@ -171,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * Operation is being cancelled.
      * 
@@ -181,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * Operation succeeded.
      * 
@@ -191,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * Operation failed.
      * 
@@ -201,8 +157,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * Operation is cancelled.
      * 
@@ -211,8 +165,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * Operation is pending not running yet.
      * 
@@ -221,6 +173,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -245,59 +198,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return RUNNING; - case 2: - return CANCELLING; - case 3: - return SUCCEEDED; - case 4: - return FAILED; - case 5: - return CANCELLED; - case 6: - return PENDING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return CANCELLING; + case 3: return SUCCEEDED; + case 4: return FAILED; + case 5: return CANCELLED; + case 6: return PENDING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -317,52 +264,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State result = - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State result = com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -370,14 +303,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -385,8 +315,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the operation.
    * 
@@ -401,14 +329,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -416,14 +341,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ @java.lang.Override @@ -431,8 +353,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the operation.
    * 
@@ -445,7 +365,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -457,11 +376,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State - .STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (createTime_ != null) { @@ -479,17 +396,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State - .STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -499,22 +416,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata other = - (com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) obj; + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata other = (com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) obj; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -543,138 +461,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - 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 com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata 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 com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The common metadata for long running operations.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.class, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.class, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -696,16 +605,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.OperationMetadataProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance(); } @java.lang.Override @@ -719,8 +626,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata buil @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata result = - new com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata(this); + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata result = new com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata(this); result.state_ = state_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -740,51 +646,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -820,31 +721,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -857,99 +758,73 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of the operation.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; * @return The state. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State result = - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.valueOf( - state_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State result = com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the operation.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State value) { + public Builder setState(com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the operation.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -957,47 +832,34 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1018,15 +880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1037,8 +898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1049,7 +908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1061,8 +920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1081,8 +938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1090,13 +945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1107,14 +960,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1122,17 +972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1140,47 +987,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1201,15 +1035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 3; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1220,8 +1053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1232,7 +1063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1244,8 +1075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1264,8 +1093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1273,13 +1100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 3; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1290,14 +1115,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1305,24 +1127,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1332,43 +1151,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) - private static final com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1380,8 +1197,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java similarity index 74% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java index ab3ae56335ee..3de02f1fd3ce 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CommonOperationMetadataOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface CommonOperationMetadataOrBuilder - extends +public interface CommonOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.State getState(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
@@ -84,32 +54,24 @@ public interface CommonOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 3; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java similarity index 60% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java index 8297f02ff5a6..4fd687ed002a 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Options for connected components.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig} */ -public final class ConnectedComponentsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConnectedComponentsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) ConnectedComponentsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConnectedComponentsConfig.newBuilder() to construct. private ConnectedComponentsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConnectedComponentsConfig() {} + private ConnectedComponentsConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConnectedComponentsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder.class); } public static final int WEIGHT_THRESHOLD_FIELD_NUMBER = 1; private float weightThreshold_; /** - * - * *
    * Threshold used for connected components. Default value is 0.85.
    * 
* * float weight_threshold = 1; - * * @return The weightThreshold. */ @java.lang.Override @@ -84,7 +63,6 @@ public float getWeightThreshold() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(weightThreshold_) != 0) { output.writeFloat(1, weightThreshold_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(weightThreshold_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, weightThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, weightThreshold_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,16 +100,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) obj; if (java.lang.Float.floatToIntBits(getWeightThreshold()) - != java.lang.Float.floatToIntBits(other.getWeightThreshold())) return false; + != java.lang.Float.floatToIntBits( + other.getWeightThreshold())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,145 +122,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WEIGHT_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getWeightThreshold()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getWeightThreshold()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - 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 com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig 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 com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for connected components.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -290,22 +262,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig build() { - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig result = - buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,8 +283,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig bu @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig(this); result.weightThreshold_ = weightThreshold_; onBuilt(); return result; @@ -325,51 +293,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance()) return this; if (other.getWeightThreshold() != 0F) { setWeightThreshold(other.getWeightThreshold()); } @@ -399,19 +362,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - weightThreshold_ = input.readFloat(); - - break; - } // case 13 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + weightThreshold_ = input.readFloat(); + + break; + } // case 13 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,16 +383,13 @@ public Builder mergeFrom( return this; } - private float weightThreshold_; + private float weightThreshold_ ; /** - * - * *
      * Threshold used for connected components. Default value is 0.85.
      * 
* * float weight_threshold = 1; - * * @return The weightThreshold. */ @java.lang.Override @@ -439,43 +397,37 @@ public float getWeightThreshold() { return weightThreshold_; } /** - * - * *
      * Threshold used for connected components. Default value is 0.85.
      * 
* * float weight_threshold = 1; - * * @param value The weightThreshold to set. * @return This builder for chaining. */ public Builder setWeightThreshold(float value) { - + weightThreshold_ = value; onChanged(); return this; } /** - * - * *
      * Threshold used for connected components. Default value is 0.85.
      * 
* * float weight_threshold = 1; - * * @return This builder for chaining. */ public Builder clearWeightThreshold() { - + weightThreshold_ = 0F; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,43 +437,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - private static final com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectedComponentsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectedComponentsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,8 +483,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java new file mode 100644 index 000000000000..c89549ef1935 --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ConnectedComponentsConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface ConnectedComponentsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Threshold used for connected components. Default value is 0.85.
+   * 
+ * + * float weight_threshold = 1; + * @return The weightThreshold. + */ + float getWeightThreshold(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java similarity index 52% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java index 4364931a55cd..f2eff630d293 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Request message for CreateEntityReconciliationJob.
  * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest} */ -public final class CreateEntityReconciliationJobRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEntityReconciliationJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) CreateEntityReconciliationJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEntityReconciliationJobRequest.newBuilder() to construct. - private CreateEntityReconciliationJobRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateEntityReconciliationJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEntityReconciliationJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEntityReconciliationJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the Location to create the
    * EntityReconciliationJob in. Format:
    * `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the Location to create the
    * EntityReconciliationJob in. Format:
    * `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,19 +99,13 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ENTITY_RECONCILIATION_JOB_FIELD_NUMBER = 2; - private com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - entityReconciliationJob_; + private com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entityReconciliationJob_; /** - * - * *
    * Required. The EntityReconciliationJob to create.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entityReconciliationJob field is set. */ @java.lang.Override @@ -149,44 +113,30 @@ public boolean hasEntityReconciliationJob() { return entityReconciliationJob_ != null; } /** - * - * *
    * Required. The EntityReconciliationJob to create.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entityReconciliationJob. */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getEntityReconciliationJob() { - return entityReconciliationJob_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance() - : entityReconciliationJob_; + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJob() { + return entityReconciliationJob_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance() : entityReconciliationJob_; } /** - * - * *
    * Required. The EntityReconciliationJob to create.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobOrBuilder() { return getEntityReconciliationJob(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -218,8 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entityReconciliationJob_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntityReconciliationJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntityReconciliationJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,20 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest other = - (com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) obj; + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest other = (com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEntityReconciliationJob() != other.hasEntityReconciliationJob()) return false; if (hasEntityReconciliationJob()) { - if (!getEntityReconciliationJob().equals(other.getEntityReconciliationJob())) return false; + if (!getEntityReconciliationJob() + .equals(other.getEntityReconciliationJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,147 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateEntityReconciliationJob.
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - .class, - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -422,23 +355,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - build() { - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest result = - buildPartial(); + public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest build() { + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -446,11 +375,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest result = - new com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest( - this); + public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest result = new com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest(this); result.parent_ = parent_; if (entityReconciliationJobBuilder_ == null) { result.entityReconciliationJob_ = entityReconciliationJob_; @@ -465,54 +391,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) - other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -546,26 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage( - getEntityReconciliationJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getEntityReconciliationJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -578,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the Location to create the
      * EntityReconciliationJob in. Format:
      * `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -604,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the Location to create the
      * EntityReconciliationJob in. Format:
      * `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -630,138 +539,102 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the Location to create the
      * EntityReconciliationJob in. Format:
      * `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the Location to create the
      * EntityReconciliationJob in. Format:
      * `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the Location to create the
      * EntityReconciliationJob in. Format:
      * `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - entityReconciliationJob_; + private com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entityReconciliationJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> - entityReconciliationJobBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> entityReconciliationJobBuilder_; /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entityReconciliationJob field is set. */ public boolean hasEntityReconciliationJob() { return entityReconciliationJobBuilder_ != null || entityReconciliationJob_ != null; } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entityReconciliationJob. */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getEntityReconciliationJob() { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJob() { if (entityReconciliationJobBuilder_ == null) { - return entityReconciliationJob_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance() - : entityReconciliationJob_; + return entityReconciliationJob_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance() : entityReconciliationJob_; } else { return entityReconciliationJobBuilder_.getMessage(); } } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { + public Builder setEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { if (entityReconciliationJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,19 +648,14 @@ public Builder setEntityReconciliationJob( return this; } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder builderForValue) { if (entityReconciliationJobBuilder_ == null) { entityReconciliationJob_ = builderForValue.build(); onChanged(); @@ -798,25 +666,17 @@ public Builder setEntityReconciliationJob( return this; } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeEntityReconciliationJob( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { + public Builder mergeEntityReconciliationJob(com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { if (entityReconciliationJobBuilder_ == null) { if (entityReconciliationJob_ != null) { entityReconciliationJob_ = - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.newBuilder( - entityReconciliationJob_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.newBuilder(entityReconciliationJob_).mergeFrom(value).buildPartial(); } else { entityReconciliationJob_ = value; } @@ -828,15 +688,11 @@ public Builder mergeEntityReconciliationJob( return this; } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntityReconciliationJob() { if (entityReconciliationJobBuilder_ == null) { @@ -850,74 +706,55 @@ public Builder clearEntityReconciliationJob() { return this; } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - getEntityReconciliationJobBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder getEntityReconciliationJobBuilder() { + onChanged(); return getEntityReconciliationJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobOrBuilder() { if (entityReconciliationJobBuilder_ != null) { return entityReconciliationJobBuilder_.getMessageOrBuilder(); } else { - return entityReconciliationJob_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance() - : entityReconciliationJob_; + return entityReconciliationJob_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance() : entityReconciliationJob_; } } /** - * - * *
      * Required. The EntityReconciliationJob to create.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> getEntityReconciliationJobFieldBuilder() { if (entityReconciliationJobBuilder_ == null) { - entityReconciliationJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder>( - getEntityReconciliationJob(), getParentForChildren(), isClean()); + entityReconciliationJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder>( + getEntityReconciliationJob(), + getParentForChildren(), + isClean()); entityReconciliationJob_ = null; } return entityReconciliationJobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,45 +764,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .CreateEntityReconciliationJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntityReconciliationJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntityReconciliationJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,8 +810,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java new file mode 100644 index 000000000000..c437208b775b --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/CreateEntityReconciliationJobRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface CreateEntityReconciliationJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.CreateEntityReconciliationJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the Location to create the
+   * EntityReconciliationJob in. Format:
+   * `projects/{project}/locations/{location}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The resource name of the Location to create the
+   * EntityReconciliationJob in. Format:
+   * `projects/{project}/locations/{location}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The EntityReconciliationJob to create.
+   * 
+ * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the entityReconciliationJob field is set. + */ + boolean hasEntityReconciliationJob(); + /** + *
+   * Required. The EntityReconciliationJob to create.
+   * 
+ * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The entityReconciliationJob. + */ + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJob(); + /** + *
+   * Required. The EntityReconciliationJob to create.
+   * 
+ * + * .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_job = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobOrBuilder(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java similarity index 51% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java index 7b7c3f2fe1e8..2661a6874d59 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequest.java @@ -1,91 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Request message for DeleteEntityReconciliationJob.
  * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest} */ -public final class DeleteEntityReconciliationJobRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteEntityReconciliationJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) DeleteEntityReconciliationJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteEntityReconciliationJobRequest.newBuilder() to construct. - private DeleteEntityReconciliationJobRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteEntityReconciliationJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteEntityReconciliationJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteEntityReconciliationJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,17 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest other = - (com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) obj; + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest other = (com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,147 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteEntityReconciliationJob.
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - .class, - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -344,23 +295,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - build() { - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest result = - buildPartial(); + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest build() { + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -368,11 +315,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest result = - new com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest( - this); + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest result = new com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -382,54 +326,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) - other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -460,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,45 +534,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .DeleteEntityReconciliationJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEntityReconciliationJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEntityReconciliationJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,8 +580,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java new file mode 100644 index 000000000000..ada398d574bf --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteEntityReconciliationJobRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface DeleteEntityReconciliationJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.DeleteEntityReconciliationJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java similarity index 61% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java index ab7ef3a5a34e..deb22bf27cfb 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadata.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Details of operations that perform deletes of any entities.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata} */ -public final class DeleteOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteOperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) DeleteOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteOperationMetadata.newBuilder() to construct. private DeleteOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeleteOperationMetadata() {} + private DeleteOperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteOperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.class, - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.class, com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.Builder.class); } public static final int COMMON_METADATA_FIELD_NUMBER = 1; private com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata commonMetadata_; /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return Whether the commonMetadata field is set. */ @java.lang.Override @@ -84,41 +62,30 @@ public boolean hasCommonMetadata() { return commonMetadata_ != null; } /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return The commonMetadata. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getCommonMetadata() { - return commonMetadata_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { return getCommonMetadata(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commonMetadata_ != null) { output.writeMessage(1, getCommonMetadata()); } @@ -144,7 +112,8 @@ public int getSerializedSize() { size = 0; if (commonMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommonMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommonMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -154,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata other = - (com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) obj; + com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata other = (com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) obj; if (hasCommonMetadata() != other.hasCommonMetadata()) return false; if (hasCommonMetadata()) { - if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; + if (!getCommonMetadata() + .equals(other.getCommonMetadata())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -187,138 +156,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata 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 com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of operations that perform deletes of any entities.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.class, - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.class, com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,16 +292,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.getDefaultInstance(); } @java.lang.Override @@ -355,8 +313,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata buil @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata result = - new com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata(this); + com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata result = new com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata(this); if (commonMetadataBuilder_ == null) { result.commonMetadata_ = commonMetadata_; } else { @@ -370,51 +327,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata.getDefaultInstance()) return this; if (other.hasCommonMetadata()) { mergeCommonMetadata(other.getCommonMetadata()); } @@ -444,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommonMetadataFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,60 +421,41 @@ public Builder mergeFrom( private com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata commonMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder> - commonMetadataBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder> commonMetadataBuilder_; /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return Whether the commonMetadata field is set. */ public boolean hasCommonMetadata() { return commonMetadataBuilder_ != null || commonMetadata_ != null; } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return The commonMetadata. */ - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - getCommonMetadata() { + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getCommonMetadata() { if (commonMetadataBuilder_ == null) { - return commonMetadata_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - .getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } else { return commonMetadataBuilder_.getMessage(); } } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ - public Builder setCommonMetadata( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata value) { + public Builder setCommonMetadata(com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -536,18 +469,14 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ public Builder setCommonMetadata( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder builderForValue) { if (commonMetadataBuilder_ == null) { commonMetadata_ = builderForValue.build(); onChanged(); @@ -558,24 +487,17 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ - public Builder mergeCommonMetadata( - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata value) { + public Builder mergeCommonMetadata(com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { if (commonMetadata_ != null) { commonMetadata_ = - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.newBuilder( - commonMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.newBuilder(commonMetadata_).mergeFrom(value).buildPartial(); } else { commonMetadata_ = value; } @@ -587,14 +509,11 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ public Builder clearCommonMetadata() { if (commonMetadataBuilder_ == null) { @@ -608,71 +527,55 @@ public Builder clearCommonMetadata() { return this; } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder - getCommonMetadataBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder getCommonMetadataBuilder() { + onChanged(); return getCommonMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { if (commonMetadataBuilder_ != null) { return commonMetadataBuilder_.getMessageOrBuilder(); } else { - return commonMetadata_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata - .getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } } /** - * - * *
      * The common part of the operation metadata.
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder> getCommonMetadataFieldBuilder() { if (commonMetadataBuilder_ == null) { - commonMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder>( - getCommonMetadata(), getParentForChildren(), isClean()); + commonMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata.Builder, com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder>( + getCommonMetadata(), + getParentForChildren(), + isClean()); commonMetadata_ = null; } return commonMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,43 +585,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) - private static final com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -730,8 +631,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java similarity index 54% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java index 8b475d292229..c43036358e67 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/DeleteOperationMetadataOrBuilder.java @@ -1,64 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface DeleteOperationMetadataOrBuilder - extends +public interface DeleteOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.DeleteOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return Whether the commonMetadata field is set. */ boolean hasCommonMetadata(); /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; * @return The commonMetadata. */ com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata getCommonMetadata(); /** - * - * *
    * The common part of the operation metadata.
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadata common_metadata = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder(); + com.google.cloud.enterpriseknowledgegraph.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java similarity index 64% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java index 22f8c49840ab..a7947fcee3cf 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJob.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Entity reconciliation job message.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob} */ -public final class EntityReconciliationJob extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EntityReconciliationJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) EntityReconciliationJobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EntityReconciliationJob.newBuilder() to construct. private EntityReconciliationJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntityReconciliationJob() { name_ = ""; state_ = 0; @@ -44,41 +26,37 @@ private EntityReconciliationJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EntityReconciliationJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of the EntityReconciliationJob.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. Resource name of the EntityReconciliationJob.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,16 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.enterpriseknowledgegraph.v1.InputConfig inputConfig_; /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inputConfig field is set. */ @java.lang.Override @@ -137,54 +110,37 @@ public boolean hasInputConfig() { return inputConfig_ != null; } /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inputConfig. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig getInputConfig() { - return inputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() - : inputConfig_; + return inputConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() : inputConfig_; } /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder - getInputConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder getInputConfigOrBuilder() { return getInputConfig(); } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig outputConfig_; /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -192,95 +148,65 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); } public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * Output only. The detailed state of the job.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The detailed state of the job.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.JobState getState() { + @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.JobState getState() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.JobState result = - com.google.cloud.enterpriseknowledgegraph.v1.JobState.valueOf(state_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.JobState.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.JobState result = com.google.cloud.enterpriseknowledgegraph.v1.JobState.valueOf(state_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.JobState.UNRECOGNIZED : result; } public static final int ERROR_FIELD_NUMBER = 5; private com.google.rpc.Status error_; /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -288,15 +214,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ @java.lang.Override @@ -304,8 +227,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
@@ -321,15 +242,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -337,15 +254,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -353,14 +266,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -370,17 +280,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -388,17 +294,13 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -406,16 +308,13 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -425,16 +324,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -442,16 +337,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -459,15 +350,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -477,16 +365,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RECON_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig reconConfig_; /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the reconConfig field is set. */ @java.lang.Override @@ -494,43 +377,30 @@ public boolean hasReconConfig() { return reconConfig_ != null; } /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The reconConfig. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig getReconConfig() { - return reconConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() - : reconConfig_; + return reconConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() : reconConfig_; } /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder - getReconConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder getReconConfigOrBuilder() { return getReconConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,7 +412,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -552,9 +423,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (outputConfig_ != null) { output.writeMessage(3, getOutputConfig()); } - if (state_ - != com.google.cloud.enterpriseknowledgegraph.v1.JobState.JOB_STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.enterpriseknowledgegraph.v1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (error_ != null) { @@ -585,30 +454,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (inputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInputConfig()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputConfig()); } - if (state_ - != com.google.cloud.enterpriseknowledgegraph.v1.JobState.JOB_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.enterpriseknowledgegraph.v1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getError()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEndTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (reconConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getReconConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getReconConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -618,43 +493,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob other = - (com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) obj; + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob other = (com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasInputConfig() != other.hasInputConfig()) return false; if (hasInputConfig()) { - if (!getInputConfig().equals(other.getInputConfig())) return false; + if (!getInputConfig() + .equals(other.getInputConfig())) return false; } if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } if (state_ != other.state_) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasReconConfig() != other.hasReconConfig()) return false; if (hasReconConfig()) { - if (!getReconConfig().equals(other.getReconConfig())) return false; + if (!getReconConfig() + .equals(other.getReconConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -705,138 +587,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - 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 com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob 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 com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entity reconciliation job message.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.class, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -890,16 +763,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance(); } @java.lang.Override @@ -913,8 +784,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob buil @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob result = - new com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob(this); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob result = new com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob(this); result.name_ = name_; if (inputConfigBuilder_ == null) { result.inputConfig_ = inputConfig_; @@ -960,51 +830,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1059,67 +924,71 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getInputConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - state_ = input.readEnum(); - - break; - } // case 32 - case 42: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 58: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - input.readMessage(getReconConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getInputConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + state_ = input.readEnum(); + + break; + } // case 32 + case 42: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 74: { + input.readMessage( + getReconConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1132,20 +1001,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of the EntityReconciliationJob.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1154,21 +1021,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of the EntityReconciliationJob.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1176,61 +1042,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of the EntityReconciliationJob.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of the EntityReconciliationJob.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of the EntityReconciliationJob.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1238,58 +1097,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.enterpriseknowledgegraph.v1.InputConfig inputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder> - inputConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder> inputConfigBuilder_; /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inputConfig field is set. */ public boolean hasInputConfig() { return inputConfigBuilder_ != null || inputConfig_ != null; } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inputConfig. */ public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig getInputConfig() { if (inputConfigBuilder_ == null) { - return inputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() - : inputConfig_; + return inputConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() : inputConfig_; } else { return inputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInputConfig(com.google.cloud.enterpriseknowledgegraph.v1.InputConfig value) { if (inputConfigBuilder_ == null) { @@ -1305,15 +1145,11 @@ public Builder setInputConfig(com.google.cloud.enterpriseknowledgegraph.v1.Input return this; } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInputConfig( com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder builderForValue) { @@ -1327,24 +1163,17 @@ public Builder setInputConfig( return this; } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInputConfig( - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig value) { + public Builder mergeInputConfig(com.google.cloud.enterpriseknowledgegraph.v1.InputConfig value) { if (inputConfigBuilder_ == null) { if (inputConfig_ != null) { inputConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.newBuilder(inputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.newBuilder(inputConfig_).mergeFrom(value).buildPartial(); } else { inputConfig_ = value; } @@ -1356,15 +1185,11 @@ public Builder mergeInputConfig( return this; } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInputConfig() { if (inputConfigBuilder_ == null) { @@ -1378,66 +1203,48 @@ public Builder clearInputConfig() { return this; } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder - getInputConfigBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder getInputConfigBuilder() { + onChanged(); return getInputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder - getInputConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder getInputConfigOrBuilder() { if (inputConfigBuilder_ != null) { return inputConfigBuilder_.getMessageOrBuilder(); } else { - return inputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() - : inputConfig_; + return inputConfig_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance() : inputConfig_; } } /** - * - * *
      * Required. Information about the input BigQuery tables.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder> getInputConfigFieldBuilder() { if (inputConfigBuilder_ == null) { - inputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder>( - getInputConfig(), getParentForChildren(), isClean()); + inputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig, com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder>( + getInputConfig(), + getParentForChildren(), + isClean()); inputConfig_ = null; } return inputConfigBuilder_; @@ -1445,61 +1252,41 @@ public Builder clearInputConfig() { private com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOutputConfig( - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig value) { + public Builder setOutputConfig(com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1513,15 +1300,11 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig( com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder builderForValue) { @@ -1535,24 +1318,17 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOutputConfig( - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig value) { + public Builder mergeOutputConfig(com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -1564,15 +1340,11 @@ public Builder mergeOutputConfig( return this; } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1586,66 +1358,48 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder - getOutputConfigBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Required. The desired output location.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; @@ -1653,75 +1407,51 @@ public Builder clearOutputConfig() { private int state_ = 0; /** - * - * *
      * Output only. The detailed state of the job.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The detailed state of the job.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The detailed state of the job.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.JobState getState() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.JobState result = - com.google.cloud.enterpriseknowledgegraph.v1.JobState.valueOf(state_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.JobState.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.JobState result = com.google.cloud.enterpriseknowledgegraph.v1.JobState.valueOf(state_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.JobState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The detailed state of the job.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1729,26 +1459,21 @@ public Builder setState(com.google.cloud.enterpriseknowledgegraph.v1.JobState va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The detailed state of the job.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1756,33 +1481,26 @@ public Builder clearState() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
      * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1793,8 +1511,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1816,8 +1532,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1825,7 +1539,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
         onChanged();
@@ -1836,8 +1551,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1848,7 +1561,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
         if (error_ != null) {
-          error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+          error_ =
+            com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
         } else {
           error_ = value;
         }
@@ -1860,8 +1574,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1881,8 +1593,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1891,13 +1601,11 @@ public Builder clearError() {
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getErrorBuilder() {
-
+      
       onChanged();
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1909,12 +1617,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. Only populated when the job's state is JOB_STATE_FAILED or
      * JOB_STATE_CANCELLED.
@@ -1923,14 +1630,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1938,58 +1645,39 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2005,17 +1693,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2026,21 +1711,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2052,15 +1733,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2074,64 +1751,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2139,39 +1800,28 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2182,16 +1832,13 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2207,18 +1854,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -2229,22 +1874,19 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2256,16 +1898,13 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -2279,65 +1918,54 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob entered any of the
      * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
      * `JOB_STATE_CANCELLED`.
      * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2345,61 +1973,42 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2415,18 +2024,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2437,22 +2043,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2464,16 +2066,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2487,67 +2085,51 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Time when the EntityReconciliationJob was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2555,58 +2137,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig reconConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder> - reconConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder> reconConfigBuilder_; /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the reconConfig field is set. */ public boolean hasReconConfig() { return reconConfigBuilder_ != null || reconConfig_ != null; } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The reconConfig. */ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig getReconConfig() { if (reconConfigBuilder_ == null) { - return reconConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() - : reconConfig_; + return reconConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() : reconConfig_; } else { return reconConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReconConfig(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig value) { if (reconConfigBuilder_ == null) { @@ -2622,15 +2185,11 @@ public Builder setReconConfig(com.google.cloud.enterpriseknowledgegraph.v1.Recon return this; } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReconConfig( com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder builderForValue) { @@ -2644,24 +2203,17 @@ public Builder setReconConfig( return this; } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeReconConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig value) { + public Builder mergeReconConfig(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig value) { if (reconConfigBuilder_ == null) { if (reconConfig_ != null) { reconConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.newBuilder(reconConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.newBuilder(reconConfig_).mergeFrom(value).buildPartial(); } else { reconConfig_ = value; } @@ -2673,15 +2225,11 @@ public Builder mergeReconConfig( return this; } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReconConfig() { if (reconConfigBuilder_ == null) { @@ -2695,73 +2243,55 @@ public Builder clearReconConfig() { return this; } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder - getReconConfigBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder getReconConfigBuilder() { + onChanged(); return getReconConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder - getReconConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder getReconConfigOrBuilder() { if (reconConfigBuilder_ != null) { return reconConfigBuilder_.getMessageOrBuilder(); } else { - return reconConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() - : reconConfig_; + return reconConfig_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance() : reconConfig_; } } /** - * - * *
      * Optional. Recon configs to adjust the clustering behavior.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder> getReconConfigFieldBuilder() { if (reconConfigBuilder_ == null) { - reconConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder>( - getReconConfig(), getParentForChildren(), isClean()); + reconConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder>( + getReconConfig(), + getParentForChildren(), + isClean()); reconConfig_ = null; } return reconConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2771,43 +2301,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) - private static final com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityReconciliationJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityReconciliationJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2819,8 +2347,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobName.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobName.java similarity index 100% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobName.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobName.java diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java similarity index 67% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java index 2e645d2bdc9f..e48173c935d2 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/EntityReconciliationJobOrBuilder.java @@ -1,193 +1,126 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface EntityReconciliationJobOrBuilder - extends +public interface EntityReconciliationJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of the EntityReconciliationJob.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of the EntityReconciliationJob.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the inputConfig field is set. */ boolean hasInputConfig(); /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The inputConfig. */ com.google.cloud.enterpriseknowledgegraph.v1.InputConfig getInputConfig(); /** - * - * *
    * Required. Information about the input BigQuery tables.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder getInputConfigOrBuilder(); /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig getOutputConfig(); /** - * - * *
    * Required. The desired output location.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.enterpriseknowledgegraph.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** - * - * *
    * Output only. The detailed state of the job.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The detailed state of the job.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.JobState state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.enterpriseknowledgegraph.v1.JobState getState(); /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
    * 
* * .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Output only. Only populated when the job's state is JOB_STATE_FAILED or
    * JOB_STATE_CANCELLED.
@@ -198,166 +131,119 @@ public interface EntityReconciliationJobOrBuilder
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob entered any of the
    * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`,
    * `JOB_STATE_CANCELLED`.
    * 
* - * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time when the EntityReconciliationJob was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the reconConfig field is set. */ boolean hasReconConfig(); /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The reconConfig. */ com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig getReconConfig(); /** - * - * *
    * Optional. Recon configs to adjust the clustering behavior.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig recon_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder getReconConfigOrBuilder(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java similarity index 52% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java index 3116762153c5..7924b3f52766 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequest.java @@ -1,89 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Request message for GetEntityReconciliationJob.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest} */ -public final class GetEntityReconciliationJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEntityReconciliationJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) GetEntityReconciliationJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEntityReconciliationJobRequest.newBuilder() to construct. - private GetEntityReconciliationJobRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetEntityReconciliationJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEntityReconciliationJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEntityReconciliationJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.Builder - .class); + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the EntityReconciliationJob resource.
    * Format:
    * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,17 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest other = - (com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) obj; + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest other = (com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,146 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetEntityReconciliationJob.
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.Builder - .class); + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -341,22 +295,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest build() { - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest result = - buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -364,10 +315,8 @@ public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRe } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest result = - new com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest(this); + public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest result = new com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -377,53 +326,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -454,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -479,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -505,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -531,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob resource.
      * Format:
      * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,45 +534,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .GetEntityReconciliationJobRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntityReconciliationJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntityReconciliationJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +580,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java new file mode 100644 index 000000000000..d3fa303d76af --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/GetEntityReconciliationJobRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public interface GetEntityReconciliationJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.GetEntityReconciliationJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the EntityReconciliationJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/entityReconciliationJobs/{entity_reconciliation_job}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java similarity index 63% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java index 1e7183d20300..df5a3c52c5f7 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * The desired input location and metadata.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.InputConfig} */ -public final class InputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.InputConfig) InputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InputConfig.newBuilder() to construct. private InputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InputConfig() { bigqueryInputConfigs_ = java.util.Collections.emptyList(); entityType_ = 0; @@ -45,33 +27,30 @@ private InputConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder.class); } /** - * - * *
    * The type of entities we will support. Currently, we only support people,
    * establishment, property, and product types. If the type is
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType}
    */
-  public enum EntityType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EntityType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default value.
      * 
@@ -92,8 +70,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ ENTITY_TYPE_UNSPECIFIED(0), /** - * - * *
      * People entity.
      * 
@@ -103,8 +79,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated PEOPLE(1), /** - * - * *
      * Establishment entity.
      * 
@@ -114,8 +88,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated ESTABLISHMENT(2), /** - * - * *
      * Property entity. e.g. real estate property.
      * 
@@ -125,8 +97,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated PROPERTY(3), /** - * - * *
      * Product entity.
      * 
@@ -135,8 +105,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ PRODUCT(4), /** - * - * *
      * Organization entity.
      * 
@@ -145,8 +113,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ ORGANIZATION(5), /** - * - * *
      * Local Business entity.
      * 
@@ -155,8 +121,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ LOCAL_BUSINESS(6), /** - * - * *
      * Person entity.
      * 
@@ -168,8 +132,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value.
      * 
@@ -178,8 +140,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * People entity.
      * 
@@ -188,8 +148,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int PEOPLE_VALUE = 1; /** - * - * *
      * Establishment entity.
      * 
@@ -198,8 +156,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int ESTABLISHMENT_VALUE = 2; /** - * - * *
      * Property entity. e.g. real estate property.
      * 
@@ -208,8 +164,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int PROPERTY_VALUE = 3; /** - * - * *
      * Product entity.
      * 
@@ -218,8 +172,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRODUCT_VALUE = 4; /** - * - * *
      * Organization entity.
      * 
@@ -228,8 +180,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORGANIZATION_VALUE = 5; /** - * - * *
      * Local Business entity.
      * 
@@ -238,8 +188,6 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCAL_BUSINESS_VALUE = 6; /** - * - * *
      * Person entity.
      * 
@@ -248,6 +196,7 @@ public enum EntityType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -272,61 +221,54 @@ public static EntityType valueOf(int value) { */ public static EntityType forNumber(int value) { switch (value) { - case 0: - return ENTITY_TYPE_UNSPECIFIED; - case 1: - return PEOPLE; - case 2: - return ESTABLISHMENT; - case 3: - return PROPERTY; - case 4: - return PRODUCT; - case 5: - return ORGANIZATION; - case 6: - return LOCAL_BUSINESS; - case 7: - return PERSON; - default: - return null; + case 0: return ENTITY_TYPE_UNSPECIFIED; + case 1: return PEOPLE; + case 2: return ESTABLISHMENT; + case 3: return PROPERTY; + case 4: return PRODUCT; + case 5: return ORGANIZATION; + case 6: return LOCAL_BUSINESS; + case 7: return PERSON; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EntityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EntityType findValueByNumber(int number) { + return EntityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EntityType findValueByNumber(int number) { - return EntityType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDescriptor().getEnumTypes().get(0); } private static final EntityType[] VALUES = values(); - public static EntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EntityType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -344,142 +286,102 @@ private EntityType(int value) { } public static final int BIGQUERY_INPUT_CONFIGS_FIELD_NUMBER = 1; - private java.util.List - bigqueryInputConfigs_; + private java.util.List bigqueryInputConfigs_; /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ @java.lang.Override - public java.util.List - getBigqueryInputConfigsList() { + public java.util.List getBigqueryInputConfigsList() { return bigqueryInputConfigs_; } /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> + public java.util.List getBigqueryInputConfigsOrBuilderList() { return bigqueryInputConfigs_; } /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ @java.lang.Override public int getBigqueryInputConfigsCount() { return bigqueryInputConfigs_.size(); } /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs( - int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs(int index) { return bigqueryInputConfigs_.get(index); } /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder - getBigqueryInputConfigsOrBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder getBigqueryInputConfigsOrBuilder( + int index) { return bigqueryInputConfigs_.get(index); } public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_; /** - * - * *
    * Entity type
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override - public int getEntityTypeValue() { + @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** - * - * *
    * Entity type
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * * @return The entityType. */ - @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType getEntityType() { + @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType getEntityType() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType result = - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.valueOf(entityType_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType result = com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.valueOf(entityType_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.UNRECOGNIZED : result; } public static final int PREVIOUS_RESULT_BIGQUERY_TABLE_FIELD_NUMBER = 3; private volatile java.lang.Object previousResultBigqueryTable_; /** - * - * *
    * Optional. Provide the bigquery table containing the previous results if
    * cluster ID stability is desired. Format is
    * `projects/*/datasets/*/tables/*`.
    * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The previousResultBigqueryTable. */ @java.lang.Override @@ -488,33 +390,31 @@ public java.lang.String getPreviousResultBigqueryTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResultBigqueryTable_ = s; return s; } } /** - * - * *
    * Optional. Provide the bigquery table containing the previous results if
    * cluster ID stability is desired. Format is
    * `projects/*/datasets/*/tables/*`.
    * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for previousResultBigqueryTable. */ @java.lang.Override - public com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes() { + public com.google.protobuf.ByteString + getPreviousResultBigqueryTableBytes() { java.lang.Object ref = previousResultBigqueryTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); previousResultBigqueryTable_ = b; return b; } else { @@ -523,7 +423,6 @@ public com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,14 +434,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < bigqueryInputConfigs_.size(); i++) { output.writeMessage(1, bigqueryInputConfigs_.get(i)); } - if (entityType_ - != com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType - .ENTITY_TYPE_UNSPECIFIED - .getNumber()) { + if (entityType_ != com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, entityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousResultBigqueryTable_)) { @@ -558,18 +455,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < bigqueryInputConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, bigqueryInputConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, bigqueryInputConfigs_.get(i)); } - if (entityType_ - != com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType - .ENTITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityType_); + if (entityType_ != com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.ENTITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, entityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(previousResultBigqueryTable_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(3, previousResultBigqueryTable_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, previousResultBigqueryTable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -579,18 +473,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.InputConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.InputConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.InputConfig) obj; - if (!getBigqueryInputConfigsList().equals(other.getBigqueryInputConfigsList())) return false; + if (!getBigqueryInputConfigsList() + .equals(other.getBigqueryInputConfigsList())) return false; if (entityType_ != other.entityType_) return false; - if (!getPreviousResultBigqueryTable().equals(other.getPreviousResultBigqueryTable())) - return false; + if (!getPreviousResultBigqueryTable() + .equals(other.getPreviousResultBigqueryTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -616,136 +510,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.InputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The desired input location and metadata.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.InputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.InputConfig) com.google.cloud.enterpriseknowledgegraph.v1.InputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder.class); } // Construct using com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -764,9 +651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; } @java.lang.Override @@ -785,8 +672,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig build() { @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.InputConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.InputConfig(this); int from_bitField0_ = bitField0_; if (bigqueryInputConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -807,39 +693,38 @@ public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.InputConfig) { - return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.InputConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.InputConfig)other); } else { super.mergeFrom(other); return this; @@ -847,8 +732,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.InputConfig other) { - if (other == com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.getDefaultInstance()) return this; if (bigqueryInputConfigsBuilder_ == null) { if (!other.bigqueryInputConfigs_.isEmpty()) { if (bigqueryInputConfigs_.isEmpty()) { @@ -867,10 +751,9 @@ public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.InputConfi bigqueryInputConfigsBuilder_ = null; bigqueryInputConfigs_ = other.bigqueryInputConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - bigqueryInputConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBigqueryInputConfigsFieldBuilder() - : null; + bigqueryInputConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBigqueryInputConfigsFieldBuilder() : null; } else { bigqueryInputConfigsBuilder_.addAllMessages(other.bigqueryInputConfigs_); } @@ -909,39 +792,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig m = - input.readMessage( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.parser(), - extensionRegistry); - if (bigqueryInputConfigsBuilder_ == null) { - ensureBigqueryInputConfigsIsMutable(); - bigqueryInputConfigs_.add(m); - } else { - bigqueryInputConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: - { - entityType_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - previousResultBigqueryTable_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig m = + input.readMessage( + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.parser(), + extensionRegistry); + if (bigqueryInputConfigsBuilder_ == null) { + ensureBigqueryInputConfigsIsMutable(); + bigqueryInputConfigs_.add(m); + } else { + bigqueryInputConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + entityType_ = input.readEnum(); + + break; + } // case 16 + case 26: { + previousResultBigqueryTable_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -951,41 +830,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - bigqueryInputConfigs_ = java.util.Collections.emptyList(); - + private java.util.List bigqueryInputConfigs_ = + java.util.Collections.emptyList(); private void ensureBigqueryInputConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - bigqueryInputConfigs_ = - new java.util.ArrayList< - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig>( - bigqueryInputConfigs_); + bigqueryInputConfigs_ = new java.util.ArrayList(bigqueryInputConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> - bigqueryInputConfigsBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> bigqueryInputConfigsBuilder_; /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public java.util.List - getBigqueryInputConfigsList() { + public java.util.List getBigqueryInputConfigsList() { if (bigqueryInputConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(bigqueryInputConfigs_); } else { @@ -993,15 +859,11 @@ private void ensureBigqueryInputConfigsIsMutable() { } } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public int getBigqueryInputConfigsCount() { if (bigqueryInputConfigsBuilder_ == null) { @@ -1011,18 +873,13 @@ public int getBigqueryInputConfigsCount() { } } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs( - int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs(int index) { if (bigqueryInputConfigsBuilder_ == null) { return bigqueryInputConfigs_.get(index); } else { @@ -1030,15 +887,11 @@ public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqu } } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder setBigqueryInputConfigs( int index, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig value) { @@ -1055,19 +908,14 @@ public Builder setBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder setBigqueryInputConfigs( - int index, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder builderForValue) { + int index, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder builderForValue) { if (bigqueryInputConfigsBuilder_ == null) { ensureBigqueryInputConfigsIsMutable(); bigqueryInputConfigs_.set(index, builderForValue.build()); @@ -1078,18 +926,13 @@ public Builder setBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public Builder addBigqueryInputConfigs( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig value) { + public Builder addBigqueryInputConfigs(com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig value) { if (bigqueryInputConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1103,15 +946,11 @@ public Builder addBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder addBigqueryInputConfigs( int index, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig value) { @@ -1128,15 +967,11 @@ public Builder addBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder addBigqueryInputConfigs( com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder builderForValue) { @@ -1150,19 +985,14 @@ public Builder addBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder addBigqueryInputConfigs( - int index, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder builderForValue) { + int index, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder builderForValue) { if (bigqueryInputConfigsBuilder_ == null) { ensureBigqueryInputConfigsIsMutable(); bigqueryInputConfigs_.add(index, builderForValue.build()); @@ -1173,23 +1003,18 @@ public Builder addBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder addAllBigqueryInputConfigs( - java.lang.Iterable< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig> - values) { + java.lang.Iterable values) { if (bigqueryInputConfigsBuilder_ == null) { ensureBigqueryInputConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryInputConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bigqueryInputConfigs_); onChanged(); } else { bigqueryInputConfigsBuilder_.addAllMessages(values); @@ -1197,15 +1022,11 @@ public Builder addAllBigqueryInputConfigs( return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder clearBigqueryInputConfigs() { if (bigqueryInputConfigsBuilder_ == null) { @@ -1218,15 +1039,11 @@ public Builder clearBigqueryInputConfigs() { return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ public Builder removeBigqueryInputConfigs(int index) { if (bigqueryInputConfigsBuilder_ == null) { @@ -1239,53 +1056,39 @@ public Builder removeBigqueryInputConfigs(int index) { return this; } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder - getBigqueryInputConfigsBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder getBigqueryInputConfigsBuilder( + int index) { return getBigqueryInputConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder - getBigqueryInputConfigsOrBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder getBigqueryInputConfigsOrBuilder( + int index) { if (bigqueryInputConfigsBuilder_ == null) { - return bigqueryInputConfigs_.get(index); - } else { + return bigqueryInputConfigs_.get(index); } else { return bigqueryInputConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> - getBigqueryInputConfigsOrBuilderList() { + public java.util.List + getBigqueryInputConfigsOrBuilderList() { if (bigqueryInputConfigsBuilder_ != null) { return bigqueryInputConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -1293,69 +1096,45 @@ public Builder removeBigqueryInputConfigs(int index) { } } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder - addBigqueryInputConfigsBuilder() { - return getBigqueryInputConfigsFieldBuilder() - .addBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - .getDefaultInstance()); + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder() { + return getBigqueryInputConfigsFieldBuilder().addBuilder( + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.getDefaultInstance()); } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder - addBigqueryInputConfigsBuilder(int index) { - return getBigqueryInputConfigsFieldBuilder() - .addBuilder( - index, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig - .getDefaultInstance()); + public com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder( + int index) { + return getBigqueryInputConfigsFieldBuilder().addBuilder( + index, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.getDefaultInstance()); } /** - * - * *
      * Set of input BigQuery tables.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - public java.util.List - getBigqueryInputConfigsBuilderList() { + public java.util.List + getBigqueryInputConfigsBuilderList() { return getBigqueryInputConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> getBigqueryInputConfigsFieldBuilder() { if (bigqueryInputConfigsBuilder_ == null) { - bigqueryInputConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder>( + bigqueryInputConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder>( bigqueryInputConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1367,98 +1146,73 @@ public Builder removeBigqueryInputConfigs(int index) { private int entityType_ = 0; /** - * - * *
      * Entity type
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ - @java.lang.Override - public int getEntityTypeValue() { + @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** - * - * *
      * Entity type
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ public Builder setEntityTypeValue(int value) { - + entityType_ = value; onChanged(); return this; } /** - * - * *
      * Entity type
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; * @return The entityType. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType getEntityType() { @SuppressWarnings("deprecation") - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType result = - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.valueOf(entityType_); - return result == null - ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.UNRECOGNIZED - : result; + com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType result = com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.valueOf(entityType_); + return result == null ? com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType.UNRECOGNIZED : result; } /** - * - * *
      * Entity type
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; * @param value The entityType to set. * @return This builder for chaining. */ - public Builder setEntityType( - com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType value) { + public Builder setEntityType(com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType value) { if (value == null) { throw new NullPointerException(); } - + entityType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Entity type
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; * @return This builder for chaining. */ public Builder clearEntityType() { - + entityType_ = 0; onChanged(); return this; @@ -1466,24 +1220,20 @@ public Builder clearEntityType() { private java.lang.Object previousResultBigqueryTable_ = ""; /** - * - * *
      * Optional. Provide the bigquery table containing the previous results if
      * cluster ID stability is desired. Format is
      * `projects/*/datasets/*/tables/*`.
      * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The previousResultBigqueryTable. */ public java.lang.String getPreviousResultBigqueryTable() { java.lang.Object ref = previousResultBigqueryTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousResultBigqueryTable_ = s; return s; @@ -1492,25 +1242,22 @@ public java.lang.String getPreviousResultBigqueryTable() { } } /** - * - * *
      * Optional. Provide the bigquery table containing the previous results if
      * cluster ID stability is desired. Format is
      * `projects/*/datasets/*/tables/*`.
      * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for previousResultBigqueryTable. */ - public com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes() { + public com.google.protobuf.ByteString + getPreviousResultBigqueryTableBytes() { java.lang.Object ref = previousResultBigqueryTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); previousResultBigqueryTable_ = b; return b; } else { @@ -1518,80 +1265,67 @@ public com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes() { } } /** - * - * *
      * Optional. Provide the bigquery table containing the previous results if
      * cluster ID stability is desired. Format is
      * `projects/*/datasets/*/tables/*`.
      * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The previousResultBigqueryTable to set. * @return This builder for chaining. */ - public Builder setPreviousResultBigqueryTable(java.lang.String value) { + public Builder setPreviousResultBigqueryTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + previousResultBigqueryTable_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Provide the bigquery table containing the previous results if
      * cluster ID stability is desired. Format is
      * `projects/*/datasets/*/tables/*`.
      * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearPreviousResultBigqueryTable() { - + previousResultBigqueryTable_ = getDefaultInstance().getPreviousResultBigqueryTable(); onChanged(); return this; } /** - * - * *
      * Optional. Provide the bigquery table containing the previous results if
      * cluster ID stability is desired. Format is
      * `projects/*/datasets/*/tables/*`.
      * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for previousResultBigqueryTable to set. * @return This builder for chaining. */ - public Builder setPreviousResultBigqueryTableBytes(com.google.protobuf.ByteString value) { + public Builder setPreviousResultBigqueryTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + previousResultBigqueryTable_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1601,12 +1335,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.InputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.InputConfig) private static final com.google.cloud.enterpriseknowledgegraph.v1.InputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.InputConfig(); } @@ -1615,27 +1349,27 @@ public static com.google.cloud.enterpriseknowledgegraph.v1.InputConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1650,4 +1384,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.enterpriseknowledgegraph.v1.InputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java similarity index 51% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java index 5dde7c691345..bf5617045764 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/InputConfigOrBuilder.java @@ -1,149 +1,96 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface InputConfigOrBuilder - extends +public interface InputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.InputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - java.util.List + java.util.List getBigqueryInputConfigsList(); /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs( - int index); + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig getBigqueryInputConfigs(int index); /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ int getBigqueryInputConfigsCount(); /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder> + java.util.List getBigqueryInputConfigsOrBuilderList(); /** - * - * *
    * Set of input BigQuery tables.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder - getBigqueryInputConfigsOrBuilder(int index); + com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder getBigqueryInputConfigsOrBuilder( + int index); /** - * - * *
    * Entity type
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** - * - * *
    * Entity type
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2; - * * @return The entityType. */ com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType getEntityType(); /** - * - * *
    * Optional. Provide the bigquery table containing the previous results if
    * cluster ID stability is desired. Format is
    * `projects/*/datasets/*/tables/*`.
    * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The previousResultBigqueryTable. */ java.lang.String getPreviousResultBigqueryTable(); /** - * - * *
    * Optional. Provide the bigquery table containing the previous results if
    * cluster ID stability is desired. Format is
    * `projects/*/datasets/*/tables/*`.
    * 
* - * - * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for previousResultBigqueryTable. */ - com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes(); + com.google.protobuf.ByteString + getPreviousResultBigqueryTableBytes(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java similarity index 72% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java index 1bdd7840b623..43d9927c3346 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/job_state.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Describes the state of a job.
  * 
* * Protobuf enum {@code google.cloud.enterpriseknowledgegraph.v1.JobState} */ -public enum JobState implements com.google.protobuf.ProtocolMessageEnum { +public enum JobState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The job state is unspecified.
    * 
@@ -39,8 +21,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_UNSPECIFIED(0), /** - * - * *
    * The service is preparing to run the job.
    * 
@@ -49,8 +29,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_PENDING(9), /** - * - * *
    * The job is in progress.
    * 
@@ -59,8 +37,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_RUNNING(1), /** - * - * *
    * The job completed successfully.
    * 
@@ -69,8 +45,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_SUCCEEDED(2), /** - * - * *
    * The job failed.
    * 
@@ -79,8 +53,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_FAILED(3), /** - * - * *
    * The job has been cancelled.
    * 
@@ -89,8 +61,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_CANCELLED(4), /** - * - * *
    * Entity Recon API: The knowledge extraction job is running.
    * 
@@ -99,8 +69,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_KNOWLEDGE_EXTRACTION(5), /** - * - * *
    * Entity Recon API: The preprocessing job is running.
    * 
@@ -109,8 +77,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_RECON_PREPROCESSING(6), /** - * - * *
    * Entity Recon API: The clustering job is running.
    * 
@@ -119,8 +85,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_CLUSTERING(7), /** - * - * *
    * Entity Recon API: The exporting clusters job is running.
    * 
@@ -132,8 +96,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The job state is unspecified.
    * 
@@ -142,8 +104,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The service is preparing to run the job.
    * 
@@ -152,8 +112,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_PENDING_VALUE = 9; /** - * - * *
    * The job is in progress.
    * 
@@ -162,8 +120,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_RUNNING_VALUE = 1; /** - * - * *
    * The job completed successfully.
    * 
@@ -172,8 +128,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_SUCCEEDED_VALUE = 2; /** - * - * *
    * The job failed.
    * 
@@ -182,8 +136,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_FAILED_VALUE = 3; /** - * - * *
    * The job has been cancelled.
    * 
@@ -192,8 +144,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_CANCELLED_VALUE = 4; /** - * - * *
    * Entity Recon API: The knowledge extraction job is running.
    * 
@@ -202,8 +152,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_KNOWLEDGE_EXTRACTION_VALUE = 5; /** - * - * *
    * Entity Recon API: The preprocessing job is running.
    * 
@@ -212,8 +160,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_RECON_PREPROCESSING_VALUE = 6; /** - * - * *
    * Entity Recon API: The clustering job is running.
    * 
@@ -222,8 +168,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_CLUSTERING_VALUE = 7; /** - * - * *
    * Entity Recon API: The exporting clusters job is running.
    * 
@@ -232,6 +176,7 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_EXPORTING_CLUSTERS_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -256,65 +201,56 @@ public static JobState valueOf(int value) { */ public static JobState forNumber(int value) { switch (value) { - case 0: - return JOB_STATE_UNSPECIFIED; - case 9: - return JOB_STATE_PENDING; - case 1: - return JOB_STATE_RUNNING; - case 2: - return JOB_STATE_SUCCEEDED; - case 3: - return JOB_STATE_FAILED; - case 4: - return JOB_STATE_CANCELLED; - case 5: - return JOB_STATE_KNOWLEDGE_EXTRACTION; - case 6: - return JOB_STATE_RECON_PREPROCESSING; - case 7: - return JOB_STATE_CLUSTERING; - case 8: - return JOB_STATE_EXPORTING_CLUSTERS; - default: - return null; + case 0: return JOB_STATE_UNSPECIFIED; + case 9: return JOB_STATE_PENDING; + case 1: return JOB_STATE_RUNNING; + case 2: return JOB_STATE_SUCCEEDED; + case 3: return JOB_STATE_FAILED; + case 4: return JOB_STATE_CANCELLED; + case 5: return JOB_STATE_KNOWLEDGE_EXTRACTION; + case 6: return JOB_STATE_RECON_PREPROCESSING; + case 7: return JOB_STATE_CLUSTERING; + case 8: return JOB_STATE_EXPORTING_CLUSTERS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + JobState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobState findValueByNumber(int number) { + return JobState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobState findValueByNumber(int number) { - return JobState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.JobStateProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.JobStateProto.getDescriptor().getEnumTypes().get(0); } private static final JobState[] VALUES = values(); - public static JobState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -330,3 +266,4 @@ private JobState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.enterpriseknowledgegraph.v1.JobState) } + diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java new file mode 100644 index 000000000000..84b91618181b --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java @@ -0,0 +1,52 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/job_state.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public final class JobStateProto { + private JobStateProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/enterpriseknowledgegraph/" + + "v1/job_state.proto\022(google.cloud.enterpr" + + "iseknowledgegraph.v1*\236\002\n\010JobState\022\031\n\025JOB" + + "_STATE_UNSPECIFIED\020\000\022\025\n\021JOB_STATE_PENDIN" + + "G\020\t\022\025\n\021JOB_STATE_RUNNING\020\001\022\027\n\023JOB_STATE_" + + "SUCCEEDED\020\002\022\024\n\020JOB_STATE_FAILED\020\003\022\027\n\023JOB" + + "_STATE_CANCELLED\020\004\022\"\n\036JOB_STATE_KNOWLEDG" + + "E_EXTRACTION\020\005\022!\n\035JOB_STATE_RECON_PREPRO" + + "CESSING\020\006\022\030\n\024JOB_STATE_CLUSTERING\020\007\022 \n\034J" + + "OB_STATE_EXPORTING_CLUSTERS\020\010B\245\002\n,com.go" + + "ogle.cloud.enterpriseknowledgegraph.v1B\r" + + "JobStateProtoP\001Z`google.golang.org/genpr" + + "oto/googleapis/cloud/enterpriseknowledge" + + "graph/v1;enterpriseknowledgegraph\252\002(Goog" + + "le.Cloud.EnterpriseKnowledgeGraph.V1\312\002(G" + + "oogle\\Cloud\\EnterpriseKnowledgeGraph\\V1\352" + + "\002+Google::Cloud::EnterpriseKnowledgeGrap" + + "h::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java similarity index 60% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java index d131212a7c60..12c143b227df 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequest.java @@ -1,46 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Request message for
  * [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
  * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest} */ -public final class ListEntityReconciliationJobsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntityReconciliationJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) ListEntityReconciliationJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntityReconciliationJobsRequest.newBuilder() to construct. - private ListEntityReconciliationJobsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListEntityReconciliationJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntityReconciliationJobsRequest() { parent_ = ""; filter_ = ""; @@ -49,45 +28,38 @@ private ListEntityReconciliationJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntityReconciliationJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.class, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.Builder - .class); + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the EntityReconciliationJob's parent resource.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the EntityReconciliationJob's parent resource.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,15 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. For field names
    * both snake_case and camelCase are supported.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -149,30 +116,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression for filtering the results of the request. For field names
    * both snake_case and camelCase are supported.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -183,14 +150,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The standard list page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -201,14 +165,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -217,29 +178,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -248,7 +209,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +220,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -302,20 +264,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest other = - (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest other = (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,148 +303,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - .class, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.class, com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,23 +443,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - build() { - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest result = - buildPartial(); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest build() { + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -521,11 +463,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest result = - new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest( - this); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest result = new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -538,54 +477,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) - other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -627,37 +558,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -670,23 +596,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the EntityReconciliationJob's parent resource.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -695,24 +617,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob's parent resource.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -720,70 +639,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the EntityReconciliationJob's parent resource.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob's parent resource.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the EntityReconciliationJob's parent resource.
      * Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -791,21 +697,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. For field names
      * both snake_case and camelCase are supported.
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -814,22 +718,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. For field names
      * both snake_case and camelCase are supported.
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -837,79 +740,69 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. For field names
      * both snake_case and camelCase are supported.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. For field names
      * both snake_case and camelCase are supported.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. For field names
      * both snake_case and camelCase are supported.
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -917,36 +810,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The standard list page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -954,20 +841,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -976,21 +861,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -998,68 +882,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The standard list page token.
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,45 +946,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntityReconciliationJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntityReconciliationJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,8 +992,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java similarity index 59% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java index 745b2703322c..cda427c1a817 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsRequestOrBuilder.java @@ -1,121 +1,83 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface ListEntityReconciliationJobsRequestOrBuilder - extends +public interface ListEntityReconciliationJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the EntityReconciliationJob's parent resource.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the EntityReconciliationJob's parent resource.
    * Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. For field names
    * both snake_case and camelCase are supported.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. For field names
    * both snake_case and camelCase are supported.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The standard list page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The standard list page token.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java similarity index 56% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java index 4abde1736f7a..135719eaca39 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponse.java @@ -1,46 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Response message for
  * [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
  * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse} */ -public final class ListEntityReconciliationJobsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntityReconciliationJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) ListEntityReconciliationJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntityReconciliationJobsResponse.newBuilder() to construct. - private ListEntityReconciliationJobsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListEntityReconciliationJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntityReconciliationJobsResponse() { entityReconciliationJobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -48,131 +27,102 @@ private ListEntityReconciliationJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntityReconciliationJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.class, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.class, com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.Builder.class); } public static final int ENTITY_RECONCILIATION_JOBS_FIELD_NUMBER = 1; - private java.util.List - entityReconciliationJobs_; + private java.util.List entityReconciliationJobs_; /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ @java.lang.Override - public java.util.List - getEntityReconciliationJobsList() { + public java.util.List getEntityReconciliationJobsList() { return entityReconciliationJobs_; } /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> + public java.util.List getEntityReconciliationJobsOrBuilderList() { return entityReconciliationJobs_; } /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ @java.lang.Override public int getEntityReconciliationJobsCount() { return entityReconciliationJobs_.size(); } /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getEntityReconciliationJobs(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJobs(int index) { return entityReconciliationJobs_.get(index); } /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobsOrBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobsOrBuilder( + int index) { return entityReconciliationJobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -181,29 +131,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -212,7 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entityReconciliationJobs_.size(); i++) { output.writeMessage(1, entityReconciliationJobs_.get(i)); } @@ -241,9 +191,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entityReconciliationJobs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, entityReconciliationJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entityReconciliationJobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -256,19 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse)) { + if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse other = - (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse other = (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) obj; - if (!getEntityReconciliationJobsList().equals(other.getEntityReconciliationJobsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntityReconciliationJobsList() + .equals(other.getEntityReconciliationJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,148 +238,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse 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 com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs].
    * 
* - * Protobuf type {@code - * google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse} + * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - .class, - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - .Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.class, com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -449,23 +379,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - build() { - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse result = - buildPartial(); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse build() { + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -473,16 +399,12 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse result = - new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse( - this); + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse buildPartial() { + com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse result = new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse(this); int from_bitField0_ = bitField0_; if (entityReconciliationJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - entityReconciliationJobs_ = - java.util.Collections.unmodifiableList(entityReconciliationJobs_); + entityReconciliationJobs_ = java.util.Collections.unmodifiableList(entityReconciliationJobs_); bitField0_ = (bitField0_ & ~0x00000001); } result.entityReconciliationJobs_ = entityReconciliationJobs_; @@ -498,54 +420,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) - other); + if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) { + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse.getDefaultInstance()) return this; if (entityReconciliationJobsBuilder_ == null) { if (!other.entityReconciliationJobs_.isEmpty()) { if (entityReconciliationJobs_.isEmpty()) { @@ -564,10 +478,9 @@ public Builder mergeFrom( entityReconciliationJobsBuilder_ = null; entityReconciliationJobs_ = other.entityReconciliationJobs_; bitField0_ = (bitField0_ & ~0x00000001); - entityReconciliationJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntityReconciliationJobsFieldBuilder() - : null; + entityReconciliationJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntityReconciliationJobsFieldBuilder() : null; } else { entityReconciliationJobsBuilder_.addAllMessages(other.entityReconciliationJobs_); } @@ -603,34 +516,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob m = - input.readMessage( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .parser(), - extensionRegistry); - if (entityReconciliationJobsBuilder_ == null) { - ensureEntityReconciliationJobsIsMutable(); - entityReconciliationJobs_.add(m); - } else { - entityReconciliationJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob m = + input.readMessage( + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.parser(), + extensionRegistry); + if (entityReconciliationJobsBuilder_ == null) { + ensureEntityReconciliationJobsIsMutable(); + entityReconciliationJobs_.add(m); + } else { + entityReconciliationJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -640,42 +549,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - entityReconciliationJobs_ = java.util.Collections.emptyList(); - + private java.util.List entityReconciliationJobs_ = + java.util.Collections.emptyList(); private void ensureEntityReconciliationJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entityReconciliationJobs_ = - new java.util.ArrayList< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob>( - entityReconciliationJobs_); + entityReconciliationJobs_ = new java.util.ArrayList(entityReconciliationJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> - entityReconciliationJobsBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> entityReconciliationJobsBuilder_; /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public java.util.List - getEntityReconciliationJobsList() { + public java.util.List getEntityReconciliationJobsList() { if (entityReconciliationJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(entityReconciliationJobs_); } else { @@ -683,16 +579,12 @@ private void ensureEntityReconciliationJobsIsMutable() { } } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public int getEntityReconciliationJobsCount() { if (entityReconciliationJobsBuilder_ == null) { @@ -702,19 +594,14 @@ public int getEntityReconciliationJobsCount() { } } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - getEntityReconciliationJobs(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJobs(int index) { if (entityReconciliationJobsBuilder_ == null) { return entityReconciliationJobs_.get(index); } else { @@ -722,16 +609,12 @@ public int getEntityReconciliationJobsCount() { } } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder setEntityReconciliationJobs( int index, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { @@ -748,21 +631,15 @@ public Builder setEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder setEntityReconciliationJobs( - int index, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - builderForValue) { + int index, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder builderForValue) { if (entityReconciliationJobsBuilder_ == null) { ensureEntityReconciliationJobsIsMutable(); entityReconciliationJobs_.set(index, builderForValue.build()); @@ -773,19 +650,14 @@ public Builder setEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public Builder addEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { + public Builder addEntityReconciliationJobs(com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { if (entityReconciliationJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -799,16 +671,12 @@ public Builder addEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder addEntityReconciliationJobs( int index, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob value) { @@ -825,20 +693,15 @@ public Builder addEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder addEntityReconciliationJobs( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder builderForValue) { if (entityReconciliationJobsBuilder_ == null) { ensureEntityReconciliationJobsIsMutable(); entityReconciliationJobs_.add(builderForValue.build()); @@ -849,21 +712,15 @@ public Builder addEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder addEntityReconciliationJobs( - int index, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - builderForValue) { + int index, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder builderForValue) { if (entityReconciliationJobsBuilder_ == null) { ensureEntityReconciliationJobsIsMutable(); entityReconciliationJobs_.add(index, builderForValue.build()); @@ -874,24 +731,19 @@ public Builder addEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder addAllEntityReconciliationJobs( - java.lang.Iterable< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob> - values) { + java.lang.Iterable values) { if (entityReconciliationJobsBuilder_ == null) { ensureEntityReconciliationJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entityReconciliationJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entityReconciliationJobs_); onChanged(); } else { entityReconciliationJobsBuilder_.addAllMessages(values); @@ -899,16 +751,12 @@ public Builder addAllEntityReconciliationJobs( return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder clearEntityReconciliationJobs() { if (entityReconciliationJobsBuilder_ == null) { @@ -921,16 +769,12 @@ public Builder clearEntityReconciliationJobs() { return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ public Builder removeEntityReconciliationJobs(int index) { if (entityReconciliationJobsBuilder_ == null) { @@ -943,56 +787,42 @@ public Builder removeEntityReconciliationJobs(int index) { return this; } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - getEntityReconciliationJobsBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder getEntityReconciliationJobsBuilder( + int index) { return getEntityReconciliationJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobsOrBuilder(int index) { + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobsOrBuilder( + int index) { if (entityReconciliationJobsBuilder_ == null) { - return entityReconciliationJobs_.get(index); - } else { + return entityReconciliationJobs_.get(index); } else { return entityReconciliationJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> - getEntityReconciliationJobsOrBuilderList() { + public java.util.List + getEntityReconciliationJobsOrBuilderList() { if (entityReconciliationJobsBuilder_ != null) { return entityReconciliationJobsBuilder_.getMessageOrBuilderList(); } else { @@ -1000,73 +830,48 @@ public Builder removeEntityReconciliationJobs(int index) { } } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - addEntityReconciliationJobsBuilder() { - return getEntityReconciliationJobsFieldBuilder() - .addBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance()); + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder addEntityReconciliationJobsBuilder() { + return getEntityReconciliationJobsFieldBuilder().addBuilder( + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance()); } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder - addEntityReconciliationJobsBuilder(int index) { - return getEntityReconciliationJobsFieldBuilder() - .addBuilder( - index, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob - .getDefaultInstance()); + public com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder addEntityReconciliationJobsBuilder( + int index) { + return getEntityReconciliationJobsFieldBuilder().addBuilder( + index, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.getDefaultInstance()); } /** - * - * *
      * A list of EntityReconciliationJobs that matches the specified filter in the
      * request.
      * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - public java.util.List< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder> - getEntityReconciliationJobsBuilderList() { + public java.util.List + getEntityReconciliationJobsBuilderList() { return getEntityReconciliationJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> getEntityReconciliationJobsFieldBuilder() { if (entityReconciliationJobsBuilder_ == null) { - entityReconciliationJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder>( + entityReconciliationJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob.Builder, com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder>( entityReconciliationJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1078,20 +883,18 @@ public Builder removeEntityReconciliationJobs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1100,21 +903,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1122,68 +924,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1193,45 +988,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) - private static final com.google.cloud.enterpriseknowledgegraph.v1 - .ListEntityReconciliationJobsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntityReconciliationJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntityReconciliationJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1243,8 +1034,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java similarity index 50% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java index 53dd4050f796..18ded24dbf93 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ListEntityReconciliationJobsResponseOrBuilder.java @@ -1,121 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface ListEntityReconciliationJobsResponseOrBuilder - extends +public interface ListEntityReconciliationJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ListEntityReconciliationJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - java.util.List + java.util.List getEntityReconciliationJobsList(); /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJobs( - int index); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob getEntityReconciliationJobs(int index); /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ int getEntityReconciliationJobsCount(); /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - java.util.List< - ? extends com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder> + java.util.List getEntityReconciliationJobsOrBuilderList(); /** - * - * *
    * A list of EntityReconciliationJobs that matches the specified filter in the
    * request.
    * 
* - * - * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; - * + * repeated .google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJob entity_reconciliation_jobs = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder - getEntityReconciliationJobsOrBuilder(int index); + com.google.cloud.enterpriseknowledgegraph.v1.EntityReconciliationJobOrBuilder getEntityReconciliationJobsOrBuilder( + int index); /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/LocationName.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/LocationName.java similarity index 100% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/LocationName.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/LocationName.java diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java new file mode 100644 index 000000000000..f1b8744e3844 --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public final class OperationMetadataProto { + private OperationMetadataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nAgoogle/cloud/enterpriseknowledgegraph/" + + "v1/operation_metadata.proto\022(google.clou" + + "d.enterpriseknowledgegraph.v1\032\037google/pr" + + "otobuf/timestamp.proto\"\307\002\n\027CommonOperati" + + "onMetadata\022V\n\005state\030\001 \001(\0162G.google.cloud" + + ".enterpriseknowledgegraph.v1.CommonOpera" + + "tionMetadata.State\022/\n\013create_time\030\002 \001(\0132" + + "\032.google.protobuf.Timestamp\022/\n\013update_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"r\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020" + + "\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAIL" + + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\256\002\n,com" + + ".google.cloud.enterpriseknowledgegraph.v" + + "1B\026OperationMetadataProtoP\001Z`google.gola" + + "ng.org/genproto/googleapis/cloud/enterpr" + + "iseknowledgegraph/v1;enterpriseknowledge" + + "graph\252\002(Google.Cloud.EnterpriseKnowledge" + + "Graph.V1\312\002(Google\\Cloud\\EnterpriseKnowle" + + "dgeGraph\\V1\352\002+Google::Cloud::EnterpriseK" + + "nowledgeGraph::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_enterpriseknowledgegraph_v1_CommonOperationMetadata_descriptor, + new java.lang.String[] { "State", "CreateTime", "UpdateTime", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java similarity index 66% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java index 28eda8ad3807..f9cbefcf508b 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfig.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * The desired output location and metadata.
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.OutputConfig} */ -public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.OutputConfig) OutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputConfig() { bigqueryDataset_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder.class); } public static final int BIGQUERY_DATASET_FIELD_NUMBER = 1; private volatile java.lang.Object bigqueryDataset_; /** - * - * *
    * Format is “projects/*/datasets/*”.
    * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bigqueryDataset. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getBigqueryDataset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigqueryDataset_ = s; return s; } } /** - * - * *
    * Format is “projects/*/datasets/*”.
    * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for bigqueryDataset. */ @java.lang.Override - public com.google.protobuf.ByteString getBigqueryDatasetBytes() { + public com.google.protobuf.ByteString + getBigqueryDatasetBytes() { java.lang.Object ref = bigqueryDataset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigqueryDataset_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getBigqueryDatasetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bigqueryDataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bigqueryDataset_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig) obj; - if (!getBigqueryDataset().equals(other.getBigqueryDataset())) return false; + if (!getBigqueryDataset() + .equals(other.getBigqueryDataset())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,136 +159,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The desired output location and metadata.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.OutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.OutputConfig) com.google.cloud.enterpriseknowledgegraph.v1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.Builder.class); } // Construct using com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; } @java.lang.Override @@ -341,8 +312,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig build() { @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig(this); result.bigqueryDataset_ = bigqueryDataset_; onBuilt(); return result; @@ -352,39 +322,38 @@ public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig) { - return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig)other); } else { super.mergeFrom(other); return this; @@ -392,8 +361,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig other) { - if (other == com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig.getDefaultInstance()) return this; if (!other.getBigqueryDataset().isEmpty()) { bigqueryDataset_ = other.bigqueryDataset_; onChanged(); @@ -424,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - bigqueryDataset_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + bigqueryDataset_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object bigqueryDataset_ = ""; /** - * - * *
      * Format is “projects/*/datasets/*”.
      * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bigqueryDataset. */ public java.lang.String getBigqueryDataset() { java.lang.Object ref = bigqueryDataset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bigqueryDataset_ = s; return s; @@ -471,21 +435,20 @@ public java.lang.String getBigqueryDataset() { } } /** - * - * *
      * Format is “projects/*/datasets/*”.
      * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for bigqueryDataset. */ - public com.google.protobuf.ByteString getBigqueryDatasetBytes() { + public com.google.protobuf.ByteString + getBigqueryDatasetBytes() { java.lang.Object ref = bigqueryDataset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bigqueryDataset_ = b; return b; } else { @@ -493,68 +456,61 @@ public com.google.protobuf.ByteString getBigqueryDatasetBytes() { } } /** - * - * *
      * Format is “projects/*/datasets/*”.
      * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bigqueryDataset to set. * @return This builder for chaining. */ - public Builder setBigqueryDataset(java.lang.String value) { + public Builder setBigqueryDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bigqueryDataset_ = value; onChanged(); return this; } /** - * - * *
      * Format is “projects/*/datasets/*”.
      * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBigqueryDataset() { - + bigqueryDataset_ = getDefaultInstance().getBigqueryDataset(); onChanged(); return this; } /** - * - * *
      * Format is “projects/*/datasets/*”.
      * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for bigqueryDataset to set. * @return This builder for chaining. */ - public Builder setBigqueryDatasetBytes(com.google.protobuf.ByteString value) { + public Builder setBigqueryDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bigqueryDataset_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.OutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.OutputConfig) private static final com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig(); } @@ -578,27 +534,27 @@ public static com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,4 +569,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.enterpriseknowledgegraph.v1.OutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java similarity index 52% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java index d5a9f52db6a7..62871c6311c2 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OutputConfigOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface OutputConfigOrBuilder - extends +public interface OutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.OutputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Format is “projects/*/datasets/*”.
    * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bigqueryDataset. */ java.lang.String getBigqueryDataset(); /** - * - * *
    * Format is “projects/*/datasets/*”.
    * 
* * string bigquery_dataset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for bigqueryDataset. */ - com.google.protobuf.ByteString getBigqueryDatasetBytes(); + com.google.protobuf.ByteString + getBigqueryDatasetBytes(); } diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java similarity index 65% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java index f294a2cf7d6f..2de3077e21c5 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfig.java @@ -1,78 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; /** - * - * *
  * Recon configs
  * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig} */ -public final class ReconConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReconConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig) ReconConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReconConfig.newBuilder() to construct. private ReconConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReconConfig() {} + private ReconConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReconConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder.class); } - public interface OptionsOrBuilder - extends + public interface OptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If true, separate clusters by their geographic region (from geocoding).
      * Uses the following entity features:
@@ -83,63 +62,57 @@ public interface OptionsOrBuilder
      * 
* * bool enable_geocoding_separation = 100; - * * @return The enableGeocodingSeparation. */ boolean getEnableGeocodingSeparation(); } /** - * - * *
    * Options for experimental changes on entity clustering behavior.
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options} */ - public static final class Options extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Options extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Options() {} + private Options() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder.class); } public static final int ENABLE_GEOCODING_SEPARATION_FIELD_NUMBER = 100; private boolean enableGeocodingSeparation_; /** - * - * *
      * If true, separate clusters by their geographic region (from geocoding).
      * Uses the following entity features:
@@ -150,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool enable_geocoding_separation = 100; - * * @return The enableGeocodingSeparation. */ @java.lang.Override @@ -159,7 +131,6 @@ public boolean getEnableGeocodingSeparation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableGeocodingSeparation_ != false) { output.writeBool(100, enableGeocodingSeparation_); } @@ -185,8 +157,8 @@ public int getSerializedSize() { size = 0; if (enableGeocodingSeparation_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(100, enableGeocodingSeparation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(100, enableGeocodingSeparation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -196,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options other = - (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options other = (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) obj; - if (getEnableGeocodingSeparation() != other.getEnableGeocodingSeparation()) return false; + if (getEnableGeocodingSeparation() + != other.getEnableGeocodingSeparation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -217,102 +189,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_GEOCODING_SEPARATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableGeocodingSeparation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableGeocodingSeparation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - 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 com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options 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 com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -322,42 +287,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for experimental changes on entity clustering behavior.
      * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -367,16 +329,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance(); } @java.lang.Override @@ -390,8 +350,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options build() @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options result = - new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options(this); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options result = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options(this); result.enableGeocodingSeparation_ = enableGeocodingSeparation_; onBuilt(); return result; @@ -401,53 +360,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance()) return this; if (other.getEnableGeocodingSeparation() != false) { setEnableGeocodingSeparation(other.getEnableGeocodingSeparation()); } @@ -477,19 +429,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 800: - { - enableGeocodingSeparation_ = input.readBool(); - - break; - } // case 800 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 800: { + enableGeocodingSeparation_ = input.readBool(); + + break; + } // case 800 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,10 +450,8 @@ public Builder mergeFrom( return this; } - private boolean enableGeocodingSeparation_; + private boolean enableGeocodingSeparation_ ; /** - * - * *
        * If true, separate clusters by their geographic region (from geocoding).
        * Uses the following entity features:
@@ -514,7 +462,6 @@ public Builder mergeFrom(
        * 
* * bool enable_geocoding_separation = 100; - * * @return The enableGeocodingSeparation. */ @java.lang.Override @@ -522,8 +469,6 @@ public boolean getEnableGeocodingSeparation() { return enableGeocodingSeparation_; } /** - * - * *
        * If true, separate clusters by their geographic region (from geocoding).
        * Uses the following entity features:
@@ -534,19 +479,16 @@ public boolean getEnableGeocodingSeparation() {
        * 
* * bool enable_geocoding_separation = 100; - * * @param value The enableGeocodingSeparation to set. * @return This builder for chaining. */ public Builder setEnableGeocodingSeparation(boolean value) { - + enableGeocodingSeparation_ = value; onChanged(); return this; } /** - * - * *
        * If true, separate clusters by their geographic region (from geocoding).
        * Uses the following entity features:
@@ -557,16 +499,14 @@ public Builder setEnableGeocodingSeparation(boolean value) {
        * 
* * bool enable_geocoding_separation = 100; - * * @return This builder for chaining. */ public Builder clearEnableGeocodingSeparation() { - + enableGeocodingSeparation_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -579,44 +519,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options) - private static final com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,90 +565,76 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ModelConfigOrBuilder - extends + public interface ModelConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Model name. Refer to external documentation for valid names.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string model_name = 1; - * * @return The modelName. */ java.lang.String getModelName(); /** - * - * *
      * Model name. Refer to external documentation for valid names.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - com.google.protobuf.ByteString getModelNameBytes(); + com.google.protobuf.ByteString + getModelNameBytes(); /** - * - * *
      * Model version tag. Refer to external documentation for valid tags.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string version_tag = 2; - * * @return The versionTag. */ java.lang.String getVersionTag(); /** - * - * *
      * Model version tag. Refer to external documentation for valid tags.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string version_tag = 2; - * * @return The bytes for versionTag. */ - com.google.protobuf.ByteString getVersionTagBytes(); + com.google.protobuf.ByteString + getVersionTagBytes(); } /** - * - * *
    * Model Configs
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig} */ - public static final class ModelConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ModelConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) ModelConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ModelConfig.newBuilder() to construct. private ModelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ModelConfig() { modelName_ = ""; versionTag_ = ""; @@ -719,42 +642,38 @@ private ModelConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ModelConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder.class); } public static final int MODEL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object modelName_; /** - * - * *
      * Model name. Refer to external documentation for valid names.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string model_name = 1; - * * @return The modelName. */ @java.lang.Override @@ -763,30 +682,30 @@ public java.lang.String getModelName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); modelName_ = s; return s; } } /** - * - * *
      * Model name. Refer to external documentation for valid names.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string model_name = 1; - * * @return The bytes for modelName. */ @java.lang.Override - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); modelName_ = b; return b; } else { @@ -797,15 +716,12 @@ public com.google.protobuf.ByteString getModelNameBytes() { public static final int VERSION_TAG_FIELD_NUMBER = 2; private volatile java.lang.Object versionTag_; /** - * - * *
      * Model version tag. Refer to external documentation for valid tags.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string version_tag = 2; - * * @return The versionTag. */ @java.lang.Override @@ -814,30 +730,30 @@ public java.lang.String getVersionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; } } /** - * - * *
      * Model version tag. Refer to external documentation for valid tags.
      * If unspecified, it defaults to the one mentioned in the documentation.
      * 
* * string version_tag = 2; - * * @return The bytes for versionTag. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionTagBytes() { + public com.google.protobuf.ByteString + getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionTag_ = b; return b; } else { @@ -846,7 +762,6 @@ public com.google.protobuf.ByteString getVersionTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -858,7 +773,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, modelName_); } @@ -888,16 +804,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) obj; - if (!getModelName().equals(other.getModelName())) return false; - if (!getVersionTag().equals(other.getVersionTag())) return false; + if (!getModelName() + .equals(other.getModelName())) return false; + if (!getVersionTag() + .equals(other.getVersionTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -919,95 +836,87 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - 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 com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig 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 com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1017,42 +926,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Model Configs
      * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder.class); } - // Construct using - // com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1064,22 +970,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - getDefaultInstanceForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - .getDefaultInstance(); + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getDefaultInstanceForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig build() { - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig result = - buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1088,8 +991,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig buil @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig(this); result.modelName_ = modelName_; result.versionTag_ = versionTag_; onBuilt(); @@ -1100,53 +1002,46 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) { - return mergeFrom( - (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig other) { - if (other - == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig other) { + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance()) return this; if (!other.getModelName().isEmpty()) { modelName_ = other.modelName_; onChanged(); @@ -1181,25 +1076,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - modelName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - versionTag_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + modelName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + versionTag_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1212,21 +1104,19 @@ public Builder mergeFrom( private java.lang.Object modelName_ = ""; /** - * - * *
        * Model name. Refer to external documentation for valid names.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string model_name = 1; - * * @return The modelName. */ public java.lang.String getModelName() { java.lang.Object ref = modelName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); modelName_ = s; return s; @@ -1235,22 +1125,21 @@ public java.lang.String getModelName() { } } /** - * - * *
        * Model name. Refer to external documentation for valid names.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string model_name = 1; - * * @return The bytes for modelName. */ - public com.google.protobuf.ByteString getModelNameBytes() { + public com.google.protobuf.ByteString + getModelNameBytes() { java.lang.Object ref = modelName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); modelName_ = b; return b; } else { @@ -1258,64 +1147,57 @@ public com.google.protobuf.ByteString getModelNameBytes() { } } /** - * - * *
        * Model name. Refer to external documentation for valid names.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string model_name = 1; - * * @param value The modelName to set. * @return This builder for chaining. */ - public Builder setModelName(java.lang.String value) { + public Builder setModelName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + modelName_ = value; onChanged(); return this; } /** - * - * *
        * Model name. Refer to external documentation for valid names.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string model_name = 1; - * * @return This builder for chaining. */ public Builder clearModelName() { - + modelName_ = getDefaultInstance().getModelName(); onChanged(); return this; } /** - * - * *
        * Model name. Refer to external documentation for valid names.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string model_name = 1; - * * @param value The bytes for modelName to set. * @return This builder for chaining. */ - public Builder setModelNameBytes(com.google.protobuf.ByteString value) { + public Builder setModelNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelName_ = value; onChanged(); return this; @@ -1323,21 +1205,19 @@ public Builder setModelNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object versionTag_ = ""; /** - * - * *
        * Model version tag. Refer to external documentation for valid tags.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string version_tag = 2; - * * @return The versionTag. */ public java.lang.String getVersionTag() { java.lang.Object ref = versionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionTag_ = s; return s; @@ -1346,22 +1226,21 @@ public java.lang.String getVersionTag() { } } /** - * - * *
        * Model version tag. Refer to external documentation for valid tags.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string version_tag = 2; - * * @return The bytes for versionTag. */ - public com.google.protobuf.ByteString getVersionTagBytes() { + public com.google.protobuf.ByteString + getVersionTagBytes() { java.lang.Object ref = versionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionTag_ = b; return b; } else { @@ -1369,69 +1248,61 @@ public com.google.protobuf.ByteString getVersionTagBytes() { } } /** - * - * *
        * Model version tag. Refer to external documentation for valid tags.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string version_tag = 2; - * * @param value The versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTag(java.lang.String value) { + public Builder setVersionTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionTag_ = value; onChanged(); return this; } /** - * - * *
        * Model version tag. Refer to external documentation for valid tags.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string version_tag = 2; - * * @return This builder for chaining. */ public Builder clearVersionTag() { - + versionTag_ = getDefaultInstance().getVersionTag(); onChanged(); return this; } /** - * - * *
        * Model version tag. Refer to external documentation for valid tags.
        * If unspecified, it defaults to the one mentioned in the documentation.
        * 
* * string version_tag = 2; - * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { + public Builder setVersionTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionTag_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1444,44 +1315,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig) - private static final com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig(); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - getDefaultInstance() { + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModelConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1493,24 +1361,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - getDefaultInstanceForType() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int clusteringConfigCase_ = 0; private java.lang.Object clusteringConfig_; - public enum ClusteringConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONNECTED_COMPONENTS_CONFIG(1), AFFINITY_CLUSTERING_CONFIG(2), CLUSTERINGCONFIG_NOT_SET(0); private final int value; - private ClusteringConfigCase(int value) { this.value = value; } @@ -1526,38 +1391,30 @@ public static ClusteringConfigCase valueOf(int value) { public static ClusteringConfigCase forNumber(int value) { switch (value) { - case 1: - return CONNECTED_COMPONENTS_CONFIG; - case 2: - return AFFINITY_CLUSTERING_CONFIG; - case 0: - return CLUSTERINGCONFIG_NOT_SET; - default: - return null; + case 1: return CONNECTED_COMPONENTS_CONFIG; + case 2: return AFFINITY_CLUSTERING_CONFIG; + case 0: return CLUSTERINGCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ClusteringConfigCase getClusteringConfigCase() { - return ClusteringConfigCase.forNumber(clusteringConfigCase_); + public ClusteringConfigCase + getClusteringConfigCase() { + return ClusteringConfigCase.forNumber( + clusteringConfigCase_); } public static final int CONNECTED_COMPONENTS_CONFIG_FIELD_NUMBER = 1; /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return Whether the connectedComponentsConfig field is set. */ @java.lang.Override @@ -1565,62 +1422,42 @@ public boolean hasConnectedComponentsConfig() { return clusteringConfigCase_ == 1; } /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return The connectedComponentsConfig. */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getConnectedComponentsConfig() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getConnectedComponentsConfig() { if (clusteringConfigCase_ == 1) { - return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder - getConnectedComponentsConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder getConnectedComponentsConfigOrBuilder() { if (clusteringConfigCase_ == 1) { - return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } public static final int AFFINITY_CLUSTERING_CONFIG_FIELD_NUMBER = 2; /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return Whether the affinityClusteringConfig field is set. */ @java.lang.Override @@ -1628,61 +1465,43 @@ public boolean hasAffinityClusteringConfig() { return clusteringConfigCase_ == 2; } /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return The affinityClusteringConfig. */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getAffinityClusteringConfig() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getAffinityClusteringConfig() { if (clusteringConfigCase_ == 2) { - return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder - getAffinityClusteringConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder getAffinityClusteringConfigOrBuilder() { if (clusteringConfigCase_ == 2) { - return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } public static final int OPTIONS_FIELD_NUMBER = 3; private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options_; /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return Whether the options field is set. */ @java.lang.Override @@ -1690,25 +1509,18 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return The options. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getOptions() { - return options_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() : options_; } /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
@@ -1716,23 +1528,18 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getOptio * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } public static final int MODEL_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig modelConfig_; /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return Whether the modelConfig field is set. */ @java.lang.Override @@ -1740,41 +1547,30 @@ public boolean hasModelConfig() { return modelConfig_ != null; } /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return The modelConfig. */ @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getModelConfig() { - return modelConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance() - : modelConfig_; + return modelConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance() : modelConfig_; } /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder - getModelConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder getModelConfigOrBuilder() { return getModelConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1786,18 +1582,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (clusteringConfigCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_); + output.writeMessage(1, (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_); } if (clusteringConfigCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_); + output.writeMessage(2, (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_); } if (options_ != null) { output.writeMessage(3, getOptions()); @@ -1815,24 +1606,20 @@ public int getSerializedSize() { size = 0; if (clusteringConfigCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_); } if (clusteringConfigCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOptions()); } if (modelConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getModelConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getModelConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1842,31 +1629,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig)) { return super.equals(obj); } - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig other = - (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig) obj; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig other = (com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig) obj; if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; } if (hasModelConfig() != other.hasModelConfig()) return false; if (hasModelConfig()) { - if (!getModelConfig().equals(other.getModelConfig())) return false; + if (!getModelConfig() + .equals(other.getModelConfig())) return false; } if (!getClusteringConfigCase().equals(other.getClusteringConfigCase())) return false; switch (clusteringConfigCase_) { case 1: - if (!getConnectedComponentsConfig().equals(other.getConnectedComponentsConfig())) - return false; + if (!getConnectedComponentsConfig() + .equals(other.getConnectedComponentsConfig())) return false; break; case 2: - if (!getAffinityClusteringConfig().equals(other.getAffinityClusteringConfig())) - return false; + if (!getAffinityClusteringConfig() + .equals(other.getAffinityClusteringConfig())) return false; break; case 0: default: @@ -1908,136 +1696,129 @@ public int hashCode() { } public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig prototype) { + public static Builder newBuilder(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Recon configs
    * 
* * Protobuf type {@code google.cloud.enterpriseknowledgegraph.v1.ReconConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.enterpriseknowledgegraph.v1.ReconConfig) com.google.cloud.enterpriseknowledgegraph.v1.ReconConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.class, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder.class); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.class, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Builder.class); } // Construct using com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2065,9 +1846,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto - .internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.enterpriseknowledgegraph.v1.ServiceProto.internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; } @java.lang.Override @@ -2086,8 +1867,7 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig build() { @java.lang.Override public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig buildPartial() { - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig result = - new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig(this); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig result = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig(this); if (clusteringConfigCase_ == 1) { if (connectedComponentsConfigBuilder_ == null) { result.clusteringConfig_ = clusteringConfig_; @@ -2121,39 +1901,38 @@ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig) { - return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig) other); + return mergeFrom((com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig)other); } else { super.mergeFrom(other); return this; @@ -2161,8 +1940,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig other) { - if (other == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.getDefaultInstance()) return this; if (other.hasOptions()) { mergeOptions(other.getOptions()); } @@ -2170,20 +1948,17 @@ public Builder mergeFrom(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfi mergeModelConfig(other.getModelConfig()); } switch (other.getClusteringConfigCase()) { - case CONNECTED_COMPONENTS_CONFIG: - { - mergeConnectedComponentsConfig(other.getConnectedComponentsConfig()); - break; - } - case AFFINITY_CLUSTERING_CONFIG: - { - mergeAffinityClusteringConfig(other.getAffinityClusteringConfig()); - break; - } - case CLUSTERINGCONFIG_NOT_SET: - { - break; - } + case CONNECTED_COMPONENTS_CONFIG: { + mergeConnectedComponentsConfig(other.getConnectedComponentsConfig()); + break; + } + case AFFINITY_CLUSTERING_CONFIG: { + mergeAffinityClusteringConfig(other.getAffinityClusteringConfig()); + break; + } + case CLUSTERINGCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2211,39 +1986,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getConnectedComponentsConfigFieldBuilder().getBuilder(), extensionRegistry); - clusteringConfigCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getAffinityClusteringConfigFieldBuilder().getBuilder(), extensionRegistry); - clusteringConfigCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getConnectedComponentsConfigFieldBuilder().getBuilder(), + extensionRegistry); + clusteringConfigCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getAffinityClusteringConfigFieldBuilder().getBuilder(), + extensionRegistry); + clusteringConfigCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getOptionsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getModelConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getModelConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2253,12 +2029,12 @@ public Builder mergeFrom( } // finally return this; } - private int clusteringConfigCase_ = 0; private java.lang.Object clusteringConfig_; - - public ClusteringConfigCase getClusteringConfigCase() { - return ClusteringConfigCase.forNumber(clusteringConfigCase_); + public ClusteringConfigCase + getClusteringConfigCase() { + return ClusteringConfigCase.forNumber( + clusteringConfigCase_); } public Builder clearClusteringConfig() { @@ -2268,22 +2044,15 @@ public Builder clearClusteringConfig() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder> - connectedComponentsConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder> connectedComponentsConfigBuilder_; /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return Whether the connectedComponentsConfig field is set. */ @java.lang.Override @@ -2291,49 +2060,35 @@ public boolean hasConnectedComponentsConfig() { return clusteringConfigCase_ == 1; } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return The connectedComponentsConfig. */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getConnectedComponentsConfig() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getConnectedComponentsConfig() { if (connectedComponentsConfigBuilder_ == null) { if (clusteringConfigCase_ == 1) { - return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } else { if (clusteringConfigCase_ == 1) { return connectedComponentsConfigBuilder_.getMessage(); } - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ - public Builder setConnectedComponentsConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig value) { + public Builder setConnectedComponentsConfig(com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig value) { if (connectedComponentsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2347,19 +2102,14 @@ public Builder setConnectedComponentsConfig( return this; } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ public Builder setConnectedComponentsConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder builderForValue) { if (connectedComponentsConfigBuilder_ == null) { clusteringConfig_ = builderForValue.build(); onChanged(); @@ -2370,29 +2120,18 @@ public Builder setConnectedComponentsConfig( return this; } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ - public Builder mergeConnectedComponentsConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig value) { + public Builder mergeConnectedComponentsConfig(com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig value) { if (connectedComponentsConfigBuilder_ == null) { - if (clusteringConfigCase_ == 1 - && clusteringConfig_ - != com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance()) { - clusteringConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.newBuilder( - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_) - .mergeFrom(value) - .buildPartial(); + if (clusteringConfigCase_ == 1 && + clusteringConfig_ != com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance()) { + clusteringConfig_ = com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.newBuilder((com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_) + .mergeFrom(value).buildPartial(); } else { clusteringConfig_ = value; } @@ -2408,15 +2147,11 @@ public Builder mergeConnectedComponentsConfig( return this; } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ public Builder clearConnectedComponentsConfig() { if (connectedComponentsConfigBuilder_ == null) { @@ -2435,100 +2170,67 @@ public Builder clearConnectedComponentsConfig() { return this; } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder - getConnectedComponentsConfigBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder getConnectedComponentsConfigBuilder() { return getConnectedComponentsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder - getConnectedComponentsConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder getConnectedComponentsConfigOrBuilder() { if ((clusteringConfigCase_ == 1) && (connectedComponentsConfigBuilder_ != null)) { return connectedComponentsConfigBuilder_.getMessageOrBuilder(); } else { if (clusteringConfigCase_ == 1) { - return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } } /** - * - * *
      * Configs for connected components.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder> getConnectedComponentsConfigFieldBuilder() { if (connectedComponentsConfigBuilder_ == null) { if (!(clusteringConfigCase_ == 1)) { - clusteringConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - .getDefaultInstance(); + clusteringConfig_ = com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.getDefaultInstance(); } - connectedComponentsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder>( - (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) - clusteringConfig_, + connectedComponentsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder>( + (com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig) clusteringConfig_, getParentForChildren(), isClean()); clusteringConfig_ = null; } clusteringConfigCase_ = 1; - onChanged(); - ; + onChanged();; return connectedComponentsConfigBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder> - affinityClusteringConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder> affinityClusteringConfigBuilder_; /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return Whether the affinityClusteringConfig field is set. */ @java.lang.Override @@ -2536,49 +2238,35 @@ public boolean hasAffinityClusteringConfig() { return clusteringConfigCase_ == 2; } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return The affinityClusteringConfig. */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getAffinityClusteringConfig() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getAffinityClusteringConfig() { if (affinityClusteringConfigBuilder_ == null) { if (clusteringConfigCase_ == 2) { - return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } else { if (clusteringConfigCase_ == 2) { return affinityClusteringConfigBuilder_.getMessage(); } - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ - public Builder setAffinityClusteringConfig( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig value) { + public Builder setAffinityClusteringConfig(com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig value) { if (affinityClusteringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2592,19 +2280,14 @@ public Builder setAffinityClusteringConfig( return this; } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ public Builder setAffinityClusteringConfig( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder builderForValue) { if (affinityClusteringConfigBuilder_ == null) { clusteringConfig_ = builderForValue.build(); onChanged(); @@ -2615,29 +2298,18 @@ public Builder setAffinityClusteringConfig( return this; } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ - public Builder mergeAffinityClusteringConfig( - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig value) { + public Builder mergeAffinityClusteringConfig(com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig value) { if (affinityClusteringConfigBuilder_ == null) { - if (clusteringConfigCase_ == 2 - && clusteringConfig_ - != com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance()) { - clusteringConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.newBuilder( - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_) - .mergeFrom(value) - .buildPartial(); + if (clusteringConfigCase_ == 2 && + clusteringConfig_ != com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance()) { + clusteringConfig_ = com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.newBuilder((com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_) + .mergeFrom(value).buildPartial(); } else { clusteringConfig_ = value; } @@ -2653,15 +2325,11 @@ public Builder mergeAffinityClusteringConfig( return this; } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ public Builder clearAffinityClusteringConfig() { if (affinityClusteringConfigBuilder_ == null) { @@ -2680,135 +2348,96 @@ public Builder clearAffinityClusteringConfig() { return this; } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder - getAffinityClusteringConfigBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder getAffinityClusteringConfigBuilder() { return getAffinityClusteringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ @java.lang.Override - public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder - getAffinityClusteringConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder getAffinityClusteringConfigOrBuilder() { if ((clusteringConfigCase_ == 2) && (affinityClusteringConfigBuilder_ != null)) { return affinityClusteringConfigBuilder_.getMessageOrBuilder(); } else { if (clusteringConfigCase_ == 2) { - return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_; + return (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_; } - return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + return com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } } /** - * - * *
      * Configs for affinity clustering.
      * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder> getAffinityClusteringConfigFieldBuilder() { if (affinityClusteringConfigBuilder_ == null) { if (!(clusteringConfigCase_ == 2)) { - clusteringConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - .getDefaultInstance(); + clusteringConfig_ = com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.getDefaultInstance(); } - affinityClusteringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder>( - (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) - clusteringConfig_, + affinityClusteringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder>( + (com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig) clusteringConfig_, getParentForChildren(), isClean()); clusteringConfig_ = null; } clusteringConfigCase_ = 2; - onChanged(); - ; + onChanged();; return affinityClusteringConfigBuilder_; } private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder> - optionsBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return The options. */ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ - public Builder setOptions( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options value) { + public Builder setOptions(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2822,8 +2451,6 @@ public Builder setOptions( return this; } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
@@ -2842,22 +2469,17 @@ public Builder setOptions( return this; } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ - public Builder mergeOptions( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options value) { + public Builder mergeOptions(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.newBuilder(options_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -2869,8 +2491,6 @@ public Builder mergeOptions( return this; } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
@@ -2889,42 +2509,33 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder - getOptionsBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder getOptionsBuilder() { + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() - : options_; + return options_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.getDefaultInstance() : options_; } } /** - * - * *
      * Extra options that affect entity clustering behavior.
      * 
@@ -2932,17 +2543,14 @@ public Builder clearOptions() { * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -2950,59 +2558,41 @@ public Builder clearOptions() { private com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig modelConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder> - modelConfigBuilder_; + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder> modelConfigBuilder_; /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return Whether the modelConfig field is set. */ public boolean hasModelConfig() { return modelConfigBuilder_ != null || modelConfig_ != null; } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return The modelConfig. */ public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getModelConfig() { if (modelConfigBuilder_ == null) { - return modelConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - .getDefaultInstance() - : modelConfig_; + return modelConfig_ == null ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance() : modelConfig_; } else { return modelConfigBuilder_.getMessage(); } } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ - public Builder setModelConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig value) { + public Builder setModelConfig(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig value) { if (modelConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3016,18 +2606,14 @@ public Builder setModelConfig( return this; } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ public Builder setModelConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder - builderForValue) { + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder builderForValue) { if (modelConfigBuilder_ == null) { modelConfig_ = builderForValue.build(); onChanged(); @@ -3038,24 +2624,17 @@ public Builder setModelConfig( return this; } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ - public Builder mergeModelConfig( - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig value) { + public Builder mergeModelConfig(com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig value) { if (modelConfigBuilder_ == null) { if (modelConfig_ != null) { modelConfig_ = - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.newBuilder( - modelConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.newBuilder(modelConfig_).mergeFrom(value).buildPartial(); } else { modelConfig_ = value; } @@ -3067,14 +2646,11 @@ public Builder mergeModelConfig( return this; } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ public Builder clearModelConfig() { if (modelConfigBuilder_ == null) { @@ -3088,71 +2664,55 @@ public Builder clearModelConfig() { return this; } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder - getModelConfigBuilder() { - + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder getModelConfigBuilder() { + onChanged(); return getModelConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder - getModelConfigOrBuilder() { + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder getModelConfigOrBuilder() { if (modelConfigBuilder_ != null) { return modelConfigBuilder_.getMessageOrBuilder(); } else { - return modelConfig_ == null - ? com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig - .getDefaultInstance() - : modelConfig_; + return modelConfig_ == null ? + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.getDefaultInstance() : modelConfig_; } } /** - * - * *
      * Model Configs
      * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder> + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder> getModelConfigFieldBuilder() { if (modelConfigBuilder_ == null) { - modelConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder>( - getModelConfig(), getParentForChildren(), isClean()); + modelConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig.Builder, com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder>( + getModelConfig(), + getParentForChildren(), + isClean()); modelConfig_ = null; } return modelConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3162,12 +2722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig) } // @@protoc_insertion_point(class_scope:google.cloud.enterpriseknowledgegraph.v1.ReconConfig) private static final com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig(); } @@ -3176,27 +2736,27 @@ public static com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReconConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3211,4 +2771,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java similarity index 58% rename from java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java rename to owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java index 6257e80834d3..7c7443c8cc45 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ReconConfigOrBuilder.java @@ -1,141 +1,85 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/enterpriseknowledgegraph/v1/service.proto package com.google.cloud.enterpriseknowledgegraph.v1; -public interface ReconConfigOrBuilder - extends +public interface ReconConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.enterpriseknowledgegraph.v1.ReconConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return Whether the connectedComponentsConfig field is set. */ boolean hasConnectedComponentsConfig(); /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; * @return The connectedComponentsConfig. */ - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig - getConnectedComponentsConfig(); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig getConnectedComponentsConfig(); /** - * - * *
    * Configs for connected components.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; - * + * .google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1; */ - com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder - getConnectedComponentsConfigOrBuilder(); + com.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfigOrBuilder getConnectedComponentsConfigOrBuilder(); /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return Whether the affinityClusteringConfig field is set. */ boolean hasAffinityClusteringConfig(); /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; * @return The affinityClusteringConfig. */ - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig - getAffinityClusteringConfig(); + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig getAffinityClusteringConfig(); /** - * - * *
    * Configs for affinity clustering.
    * 
* - * - * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; - * + * .google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2; */ - com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder - getAffinityClusteringConfigOrBuilder(); + com.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfigOrBuilder getAffinityClusteringConfigOrBuilder(); /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
* * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3; - * * @return The options. */ com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options getOptions(); /** - * - * *
    * Extra options that affect entity clustering behavior.
    * 
@@ -145,44 +89,31 @@ public interface ReconConfigOrBuilder com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.OptionsOrBuilder getOptionsOrBuilder(); /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return Whether the modelConfig field is set. */ boolean hasModelConfig(); /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; * @return The modelConfig. */ com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig getModelConfig(); /** - * - * *
    * Model Configs
    * 
* - * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; - * + * .google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4; */ - com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder - getModelConfigOrBuilder(); + com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfigOrBuilder getModelConfigOrBuilder(); - public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ClusteringConfigCase - getClusteringConfigCase(); + public com.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ClusteringConfigCase getClusteringConfigCase(); } diff --git a/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java new file mode 100644 index 000000000000..4e63dc5980be --- /dev/null +++ b/owl-bot-staging/java-enterpriseknowledgegraph/v1/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java @@ -0,0 +1,375 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/enterpriseknowledgegraph/v1/service.proto + +package com.google.cloud.enterpriseknowledgegraph.v1; + +public final class ServiceProto { + private ServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_InputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_BigQueryInputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ReconConfig_ModelConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ConnectedComponentsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_AffinityClusteringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_CreateEntityReconciliationJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_GetEntityReconciliationJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_ListEntityReconciliationJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_CancelEntityReconciliationJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_DeleteEntityReconciliationJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_enterpriseknowledgegraph_v1_EntityReconciliationJob_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/cloud/enterpriseknowledgegraph/" + + "v1/service.proto\022(google.cloud.enterpris" + + "eknowledgegraph.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032\031google/api/r" + + "esource.proto\0328google/cloud/enterprisekn" + + "owledgegraph/v1/job_state.proto\032Agoogle/" + + "cloud/enterpriseknowledgegraph/v1/operat" + + "ion_metadata.proto\032\033google/protobuf/empt" + + "y.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\"\266\003\n\013InputConfi" + + "g\022]\n\026bigquery_input_configs\030\001 \003(\0132=.goog" + + "le.cloud.enterpriseknowledgegraph.v1.Big" + + "QueryInputConfig\022U\n\013entity_type\030\002 \001(\0162@." + + "google.cloud.enterpriseknowledgegraph.v1" + + ".InputConfig.EntityType\022M\n\036previous_resu" + + "lt_bigquery_table\030\003 \001(\tB%\340A\001\372A\037\n\035bigquer" + + "y.googleapis.com/Table\"\241\001\n\nEntityType\022\033\n" + + "\027ENTITY_TYPE_UNSPECIFIED\020\000\022\016\n\006PEOPLE\020\001\032\002" + + "\010\001\022\025\n\rESTABLISHMENT\020\002\032\002\010\001\022\020\n\010PROPERTY\020\003\032" + + "\002\010\001\022\013\n\007PRODUCT\020\004\022\020\n\014ORGANIZATION\020\005\022\022\n\016LO" + + "CAL_BUSINESS\020\006\022\n\n\006PERSON\020\007\"j\n\023BigQueryIn" + + "putConfig\022=\n\016bigquery_table\030\001 \001(\tB%\340A\002\372A" + + "\037\n\035bigquery.googleapis.com/Table\022\024\n\007gcs_" + + "uri\030\002 \001(\tB\003\340A\002\"N\n\014OutputConfig\022>\n\020bigque" + + "ry_dataset\030\001 \001(\tB$\372A!\n\037bigquery.googleap" + + "is.com/Dataset\"\211\004\n\013ReconConfig\022j\n\033connec" + + "ted_components_config\030\001 \001(\0132C.google.clo" + + "ud.enterpriseknowledgegraph.v1.Connected" + + "ComponentsConfigH\000\022h\n\032affinity_clusterin" + + "g_config\030\002 \001(\0132B.google.cloud.enterprise" + + "knowledgegraph.v1.AffinityClusteringConf" + + "igH\000\022N\n\007options\030\003 \001(\0132=.google.cloud.ent" + + "erpriseknowledgegraph.v1.ReconConfig.Opt" + + "ions\022W\n\014model_config\030\004 \001(\0132A.google.clou" + + "d.enterpriseknowledgegraph.v1.ReconConfi" + + "g.ModelConfig\032.\n\007Options\022#\n\033enable_geoco" + + "ding_separation\030d \001(\010\0326\n\013ModelConfig\022\022\n\n" + + "model_name\030\001 \001(\t\022\023\n\013version_tag\030\002 \001(\tB\023\n" + + "\021clustering_config\"5\n\031ConnectedComponent" + + "sConfig\022\030\n\020weight_threshold\030\001 \001(\002\";\n\030Aff" + + "inityClusteringConfig\022\037\n\027compression_rou" + + "nd_count\030\001 \001(\003\"u\n\027DeleteOperationMetadat" + + "a\022Z\n\017common_metadata\030\001 \001(\0132A.google.clou" + + "d.enterpriseknowledgegraph.v1.CommonOper" + + "ationMetadata\"\352\001\n$CreateEntityReconcilia" + + "tionJobRequest\022W\n\006parent\030\001 \001(\tBG\340A\002\372AA\022?" + + "enterpriseknowledgegraph.googleapis.com/" + + "EntityReconciliationJob\022i\n\031entity_reconc" + + "iliation_job\030\002 \001(\0132A.google.cloud.enterp" + + "riseknowledgegraph.v1.EntityReconciliati" + + "onJobB\003\340A\002\"z\n!GetEntityReconciliationJob" + + "Request\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?enterpris" + + "eknowledgegraph.googleapis.com/EntityRec" + + "onciliationJob\"\265\001\n#ListEntityReconciliat" + + "ionJobsRequest\022W\n\006parent\030\001 \001(\tBG\340A\002\372AA\022?" + + "enterpriseknowledgegraph.googleapis.com/" + + "EntityReconciliationJob\022\016\n\006filter\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\246" + + "\001\n$ListEntityReconciliationJobsResponse\022" + + "e\n\032entity_reconciliation_jobs\030\001 \003(\0132A.go" + + "ogle.cloud.enterpriseknowledgegraph.v1.E" + + "ntityReconciliationJob\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"}\n$CancelEntityReconciliationJob" + + "Request\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?enterpris" + + "eknowledgegraph.googleapis.com/EntityRec" + + "onciliationJob\"}\n$DeleteEntityReconcilia" + + "tionJobRequest\022U\n\004name\030\001 \001(\tBG\340A\002\372AA\n?en" + + "terpriseknowledgegraph.googleapis.com/En" + + "tityReconciliationJob\"\331\005\n\027EntityReconcil" + + "iationJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022P\n\014input_co" + + "nfig\030\002 \001(\01325.google.cloud.enterpriseknow" + + "ledgegraph.v1.InputConfigB\003\340A\002\022R\n\routput" + + "_config\030\003 \001(\01326.google.cloud.enterprisek" + + "nowledgegraph.v1.OutputConfigB\003\340A\002\022F\n\005st" + + "ate\030\004 \001(\01622.google.cloud.enterpriseknowl" + + "edgegraph.v1.JobStateB\003\340A\003\022&\n\005error\030\005 \001(" + + "\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013create_tim" + + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0221\n\010end_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022P\n\014recon_confi" + + "g\030\t \001(\01325.google.cloud.enterpriseknowled" + + "gegraph.v1.ReconConfigB\003\340A\001:\243\001\352A\237\001\n?ente" + + "rpriseknowledgegraph.googleapis.com/Enti" + + "tyReconciliationJob\022\\projects/{project}/" + + "locations/{location}/entityReconciliatio" + + "nJobs/{entity_reconciliation_job}2\373\n\n\037En" + + "terpriseKnowledgeGraphService\022\267\002\n\035Create" + + "EntityReconciliationJob\022N.google.cloud.e" + + "nterpriseknowledgegraph.v1.CreateEntityR" + + "econciliationJobRequest\032A.google.cloud.e" + + "nterpriseknowledgegraph.v1.EntityReconci" + + "liationJob\"\202\001\202\323\344\223\002Y\"\022\022*