diff --git a/src/main/java/io/weaviate/client6/v1/api/collections/query/Where.java b/src/main/java/io/weaviate/client6/v1/api/collections/query/Where.java index bde53a695..3f7ef0734 100644 --- a/src/main/java/io/weaviate/client6/v1/api/collections/query/Where.java +++ b/src/main/java/io/weaviate/client6/v1/api/collections/query/Where.java @@ -13,6 +13,7 @@ private enum Operator { // Logical operators AND("And", WeaviateProtoBase.Filters.Operator.OPERATOR_AND), OR("Or", WeaviateProtoBase.Filters.Operator.OPERATOR_OR), + NOT("Noe", WeaviateProtoBase.Filters.Operator.OPERATOR_NOT), // Comparison operators EQUAL("Equal", WeaviateProtoBase.Filters.Operator.OPERATOR_EQUAL), @@ -24,6 +25,7 @@ private enum Operator { LIKE("Like", WeaviateProtoBase.Filters.Operator.OPERATOR_LIKE), CONTAINS_ANY("ContainsAny", WeaviateProtoBase.Filters.Operator.OPERATOR_CONTAINS_ANY), CONTAINS_ALL("ContainsAll", WeaviateProtoBase.Filters.Operator.OPERATOR_CONTAINS_ALL), + CONTAINS_NONE("ContainsNone", WeaviateProtoBase.Filters.Operator.OPERATOR_CONTAINS_NONE), WITHIN_GEO_RANGE("WithinGeoRange", WeaviateProtoBase.Filters.Operator.OPERATOR_WITHIN_GEO_RANGE); /** String representation for better debug logs. */ @@ -62,35 +64,47 @@ private Where(Operator operator, List operands) { @Override public boolean isEmpty() { - // Guard against Where.and(Where.or(), Where.and()) situation. + // Guard against Where.and(Where.or(), Where.and(), Where.not()) situation. return operands.isEmpty() - || operands.stream().allMatch(operator -> operator.isEmpty()); + || operands.stream().allMatch(operator -> operator == null | operator.isEmpty()); } @Override public String toString() { + if (operator == Operator.NOT) { + return "%s %s".formatted(operator, operands.get(0)); + } var operandStrings = operands.stream().map(Object::toString).toList(); return "Where(" + String.join(" " + operator.toString() + " ", operandStrings) + ")"; } // Logical operators return a complete operand. // -------------------------------------------------------------------------- - public static Where and(WhereOperand... operands) { + public static Where and(final WhereOperand... operands) { return new Where(Operator.AND, operands); } - public static Where and(List operands) { + public static Where and(final List operands) { return new Where(Operator.AND, operands); } - public static Where or(WhereOperand... operands) { + public static Where or(final WhereOperand... operands) { return new Where(Operator.OR, operands); } - public static Where or(List operands) { + public static Where or(final List operands) { return new Where(Operator.OR, operands); } + public static Where not(final WhereOperand operand) { + return new Where(Operator.NOT, operand); + } + + /** Negate this expression. */ + public Where not() { + return not(this); + } + // Comparison operators return fluid builder. // -------------------------------------------------------------------------- @@ -463,6 +477,32 @@ public Where containsAll(OffsetDateTime... values) { return new Where(Operator.CONTAINS_ALL, left, new DateArrayOperand(values)); } + // ContainsNone + // ------------------------------------------------------------------------ + public Where containsNone(String value) { + return new Where(Operator.CONTAINS_NONE, left, new TextOperand(value)); + } + + public Where containsNone(String... values) { + return new Where(Operator.CONTAINS_NONE, left, new TextArrayOperand(values)); + } + + public Where containsNone(Boolean... values) { + return new Where(Operator.CONTAINS_NONE, left, new BooleanArrayOperand(values)); + } + + public Where containsNone(Long... values) { + return new Where(Operator.CONTAINS_NONE, left, new IntegerArrayOperand(values)); + } + + public Where containsNone(Double... values) { + return new Where(Operator.CONTAINS_NONE, left, new NumberArrayOperand(values)); + } + + public Where containsNone(OffsetDateTime... values) { + return new Where(Operator.CONTAINS_NONE, left, new DateArrayOperand(values)); + } + // WithinGeoRange // ------------------------------------------------------------------------ public Where withinGeoRange(float lat, float lon, float maxDistance) { @@ -475,25 +515,19 @@ public void appendTo(WeaviateProtoBase.Filters.Builder where) { if (isEmpty()) { return; } - switch (operands.size()) { - case 0: - return; - case 1: // no need for operator - operands.get(0).appendTo(where); - return; - default: - if (operator.equals(Operator.AND) || operator.equals(Operator.OR)) { - operands.forEach(op -> { - Filters.Builder nested = Filters.newBuilder(); - op.appendTo(nested); - where.addFilters(nested); - }); - } else { - // Comparison operators: eq, gt, lt, like, etc. - operands.forEach(op -> op.appendTo(where)); - } - } + operator.appendTo(where); + + if (operator == Operator.AND || operator == Operator.OR || operator == Operator.NOT) { + operands.forEach(op -> { + var nested = Filters.newBuilder(); + op.appendTo(nested); + where.addFilters(nested); + }); + } else { + // Comparison operators: eq, gt, lt, like, etc. + operands.forEach(op -> op.appendTo(where)); + } } @SuppressWarnings("unchecked") @@ -522,13 +556,13 @@ static WhereOperand fromObject(Object value) { return new NumberArrayOperand(dblarr); } else if (value instanceof OffsetDateTime[] datearr) { return new DateArrayOperand(datearr); - } else if (value instanceof List) { - if (((List) value).isEmpty()) { + } else if (value instanceof List list) { + if (list.isEmpty()) { throw new IllegalArgumentException( "Filter with non-reifiable type (List) cannot be empty, use an array instead"); } - Object first = ((List) value).get(0); + Object first = list.get(0); if (first instanceof String) { return new TextArrayOperand((List) value); } else if (first instanceof Boolean) { diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/FileReplicationServiceGrpc.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/FileReplicationServiceGrpc.java new file mode 100644 index 000000000..1db25a027 --- /dev/null +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/FileReplicationServiceGrpc.java @@ -0,0 +1,557 @@ +package io.weaviate.client6.v1.internal.grpc.protocol; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.58.0)", + comments = "Source: v1/file_replication.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class FileReplicationServiceGrpc { + + private FileReplicationServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "weaviate.v1.FileReplicationService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getPauseFileActivityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PauseFileActivity", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPauseFileActivityMethod() { + io.grpc.MethodDescriptor getPauseFileActivityMethod; + if ((getPauseFileActivityMethod = FileReplicationServiceGrpc.getPauseFileActivityMethod) == null) { + synchronized (FileReplicationServiceGrpc.class) { + if ((getPauseFileActivityMethod = FileReplicationServiceGrpc.getPauseFileActivityMethod) == null) { + FileReplicationServiceGrpc.getPauseFileActivityMethod = getPauseFileActivityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseFileActivity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.getDefaultInstance())) + .setSchemaDescriptor(new FileReplicationServiceMethodDescriptorSupplier("PauseFileActivity")) + .build(); + } + } + } + return getPauseFileActivityMethod; + } + + private static volatile io.grpc.MethodDescriptor getResumeFileActivityMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResumeFileActivity", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResumeFileActivityMethod() { + io.grpc.MethodDescriptor getResumeFileActivityMethod; + if ((getResumeFileActivityMethod = FileReplicationServiceGrpc.getResumeFileActivityMethod) == null) { + synchronized (FileReplicationServiceGrpc.class) { + if ((getResumeFileActivityMethod = FileReplicationServiceGrpc.getResumeFileActivityMethod) == null) { + FileReplicationServiceGrpc.getResumeFileActivityMethod = getResumeFileActivityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeFileActivity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.getDefaultInstance())) + .setSchemaDescriptor(new FileReplicationServiceMethodDescriptorSupplier("ResumeFileActivity")) + .build(); + } + } + } + return getResumeFileActivityMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = FileReplicationServiceGrpc.getListFilesMethod) == null) { + synchronized (FileReplicationServiceGrpc.class) { + if ((getListFilesMethod = FileReplicationServiceGrpc.getListFilesMethod) == null) { + FileReplicationServiceGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new FileReplicationServiceMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMetadataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFileMetadata", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor getGetFileMetadataMethod() { + io.grpc.MethodDescriptor getGetFileMetadataMethod; + if ((getGetFileMetadataMethod = FileReplicationServiceGrpc.getGetFileMetadataMethod) == null) { + synchronized (FileReplicationServiceGrpc.class) { + if ((getGetFileMetadataMethod = FileReplicationServiceGrpc.getGetFileMetadataMethod) == null) { + FileReplicationServiceGrpc.getGetFileMetadataMethod = getGetFileMetadataMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFileMetadata")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.getDefaultInstance())) + .setSchemaDescriptor(new FileReplicationServiceMethodDescriptorSupplier("GetFileMetadata")) + .build(); + } + } + } + return getGetFileMetadataMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = FileReplicationServiceGrpc.getGetFileMethod) == null) { + synchronized (FileReplicationServiceGrpc.class) { + if ((getGetFileMethod = FileReplicationServiceGrpc.getGetFileMethod) == null) { + FileReplicationServiceGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.getDefaultInstance())) + .setSchemaDescriptor(new FileReplicationServiceMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static FileReplicationServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FileReplicationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceStub(channel, callOptions); + } + }; + return FileReplicationServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static FileReplicationServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FileReplicationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceBlockingStub(channel, callOptions); + } + }; + return FileReplicationServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static FileReplicationServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FileReplicationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceFutureStub(channel, callOptions); + } + }; + return FileReplicationServiceFutureStub.newStub(factory, channel); + } + + /** + */ + public interface AsyncService { + + /** + */ + default void pauseFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseFileActivityMethod(), responseObserver); + } + + /** + */ + default void resumeFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeFileActivityMethod(), responseObserver); + } + + /** + */ + default void listFiles(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + */ + default io.grpc.stub.StreamObserver getFileMetadata( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getGetFileMetadataMethod(), responseObserver); + } + + /** + */ + default io.grpc.stub.StreamObserver getFile( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getGetFileMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service FileReplicationService. + */ + public static abstract class FileReplicationServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return FileReplicationServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service FileReplicationService. + */ + public static final class FileReplicationServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private FileReplicationServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FileReplicationServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceStub(channel, callOptions); + } + + /** + */ + public void pauseFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPauseFileActivityMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void resumeFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResumeFileActivityMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void listFiles(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public io.grpc.stub.StreamObserver getFileMetadata( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getGetFileMetadataMethod(), getCallOptions()), responseObserver); + } + + /** + */ + public io.grpc.stub.StreamObserver getFile( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service FileReplicationService. + */ + public static final class FileReplicationServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private FileReplicationServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FileReplicationServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceBlockingStub(channel, callOptions); + } + + /** + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse pauseFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPauseFileActivityMethod(), getCallOptions(), request); + } + + /** + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse resumeFileActivity(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResumeFileActivityMethod(), getCallOptions(), request); + } + + /** + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse listFiles(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service FileReplicationService. + */ + public static final class FileReplicationServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private FileReplicationServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FileReplicationServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FileReplicationServiceFutureStub(channel, callOptions); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture pauseFileActivity( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPauseFileActivityMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture resumeFileActivity( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResumeFileActivityMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_PAUSE_FILE_ACTIVITY = 0; + private static final int METHODID_RESUME_FILE_ACTIVITY = 1; + private static final int METHODID_LIST_FILES = 2; + private static final int METHODID_GET_FILE_METADATA = 3; + private static final int METHODID_GET_FILE = 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_PAUSE_FILE_ACTIVITY: + serviceImpl.pauseFileActivity((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESUME_FILE_ACTIVITY: + serviceImpl.resumeFileActivity((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest) 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) { + case METHODID_GET_FILE_METADATA: + return (io.grpc.stub.StreamObserver) serviceImpl.getFileMetadata( + (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_GET_FILE: + return (io.grpc.stub.StreamObserver) serviceImpl.getFile( + (io.grpc.stub.StreamObserver) responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getPauseFileActivityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse>( + service, METHODID_PAUSE_FILE_ACTIVITY))) + .addMethod( + getResumeFileActivityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse>( + service, METHODID_RESUME_FILE_ACTIVITY))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse>( + service, METHODID_LIST_FILES))) + .addMethod( + getGetFileMetadataMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata>( + service, METHODID_GET_FILE_METADATA))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk>( + service, METHODID_GET_FILE))) + .build(); + } + + private static abstract class FileReplicationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FileReplicationServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("FileReplicationService"); + } + } + + private static final class FileReplicationServiceFileDescriptorSupplier + extends FileReplicationServiceBaseDescriptorSupplier { + FileReplicationServiceFileDescriptorSupplier() {} + } + + private static final class FileReplicationServiceMethodDescriptorSupplier + extends FileReplicationServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + FileReplicationServiceMethodDescriptorSupplier(java.lang.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 (FileReplicationServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FileReplicationServiceFileDescriptorSupplier()) + .addMethod(getPauseFileActivityMethod()) + .addMethod(getResumeFileActivityMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMetadataMethod()) + .addMethod(getGetFileMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateGrpc.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateGrpc.java index 378eea665..1813f2c4c 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateGrpc.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateGrpc.java @@ -77,6 +77,37 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsRep return getBatchObjectsMethod; } + private static volatile io.grpc.MethodDescriptor getBatchReferencesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchReferences", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchReferencesMethod() { + io.grpc.MethodDescriptor getBatchReferencesMethod; + if ((getBatchReferencesMethod = WeaviateGrpc.getBatchReferencesMethod) == null) { + synchronized (WeaviateGrpc.class) { + if ((getBatchReferencesMethod = WeaviateGrpc.getBatchReferencesMethod) == null) { + WeaviateGrpc.getBatchReferencesMethod = getBatchReferencesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchReferences")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.getDefaultInstance())) + .setSchemaDescriptor(new WeaviateMethodDescriptorSupplier("BatchReferences")) + .build(); + } + } + } + return getBatchReferencesMethod; + } + private static volatile io.grpc.MethodDescriptor getBatchDeleteMethod; @@ -170,6 +201,68 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoAggregate.AggregateRe return getAggregateMethod; } + private static volatile io.grpc.MethodDescriptor getBatchSendMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchSend", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchSendMethod() { + io.grpc.MethodDescriptor getBatchSendMethod; + if ((getBatchSendMethod = WeaviateGrpc.getBatchSendMethod) == null) { + synchronized (WeaviateGrpc.class) { + if ((getBatchSendMethod = WeaviateGrpc.getBatchSendMethod) == null) { + WeaviateGrpc.getBatchSendMethod = getBatchSendMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchSend")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.getDefaultInstance())) + .setSchemaDescriptor(new WeaviateMethodDescriptorSupplier("BatchSend")) + .build(); + } + } + } + return getBatchSendMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchStream", + requestType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.class, + responseType = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getBatchStreamMethod() { + io.grpc.MethodDescriptor getBatchStreamMethod; + if ((getBatchStreamMethod = WeaviateGrpc.getBatchStreamMethod) == null) { + synchronized (WeaviateGrpc.class) { + if ((getBatchStreamMethod = WeaviateGrpc.getBatchStreamMethod) == null) { + WeaviateGrpc.getBatchStreamMethod = getBatchStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.getDefaultInstance())) + .setSchemaDescriptor(new WeaviateMethodDescriptorSupplier("BatchStream")) + .build(); + } + } + } + return getBatchStreamMethod; + } + /** * Creates a new async stub that supports all call types for the service */ @@ -232,6 +325,13 @@ default void batchObjects(io.weaviate.client6.v1.internal.grpc.protocol.Weaviate io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchObjectsMethod(), responseObserver); } + /** + */ + default void batchReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchReferencesMethod(), responseObserver); + } + /** */ default void batchDelete(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatchDelete.BatchDeleteRequest request, @@ -252,6 +352,20 @@ default void aggregate(io.weaviate.client6.v1.internal.grpc.protocol.WeaviatePro io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAggregateMethod(), responseObserver); } + + /** + */ + default void batchSend(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchSendMethod(), responseObserver); + } + + /** + */ + default void batchStream(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchStreamMethod(), responseObserver); + } } /** @@ -297,6 +411,14 @@ public void batchObjects(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP getChannel().newCall(getBatchObjectsMethod(), getCallOptions()), request, responseObserver); } + /** + */ + public void batchReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchReferencesMethod(), getCallOptions()), request, responseObserver); + } + /** */ public void batchDelete(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatchDelete.BatchDeleteRequest request, @@ -320,6 +442,22 @@ public void aggregate(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProt io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAggregateMethod(), getCallOptions()), request, responseObserver); } + + /** + */ + public void batchSend(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchSendMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void batchStream(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getBatchStreamMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -352,6 +490,13 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj getChannel(), getBatchObjectsMethod(), getCallOptions(), request); } + /** + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply batchReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchReferencesMethod(), getCallOptions(), request); + } + /** */ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatchDelete.BatchDeleteReply batchDelete(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatchDelete.BatchDeleteRequest request) { @@ -372,6 +517,21 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoAggregate.Aggr return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAggregateMethod(), getCallOptions(), request); } + + /** + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply batchSend(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchSendMethod(), getCallOptions(), request); + } + + /** + */ + public java.util.Iterator batchStream( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getBatchStreamMethod(), getCallOptions(), request); + } } /** @@ -406,6 +566,14 @@ public com.google.common.util.concurrent.ListenableFuture batchReferences( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchReferencesMethod(), getCallOptions()), request); + } + /** */ public com.google.common.util.concurrent.ListenableFuture batchDelete( @@ -429,13 +597,24 @@ public com.google.common.util.concurrent.ListenableFuture batchSend( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchSendMethod(), getCallOptions()), request); + } } private static final int METHODID_SEARCH = 0; private static final int METHODID_BATCH_OBJECTS = 1; - private static final int METHODID_BATCH_DELETE = 2; - private static final int METHODID_TENANTS_GET = 3; - private static final int METHODID_AGGREGATE = 4; + private static final int METHODID_BATCH_REFERENCES = 2; + private static final int METHODID_BATCH_DELETE = 3; + private static final int METHODID_TENANTS_GET = 4; + private static final int METHODID_AGGREGATE = 5; + private static final int METHODID_BATCH_SEND = 6; + private static final int METHODID_BATCH_STREAM = 7; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -462,6 +641,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.batchObjects((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_BATCH_REFERENCES: + serviceImpl.batchReferences((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_BATCH_DELETE: serviceImpl.batchDelete((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatchDelete.BatchDeleteRequest) request, (io.grpc.stub.StreamObserver) responseObserver); @@ -474,6 +657,14 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.aggregate((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoAggregate.AggregateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_BATCH_SEND: + serviceImpl.batchSend((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_STREAM: + serviceImpl.batchStream((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -506,6 +697,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsRequest, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply>( service, METHODID_BATCH_OBJECTS))) + .addMethod( + getBatchReferencesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply>( + service, METHODID_BATCH_REFERENCES))) .addMethod( getBatchDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -527,6 +725,20 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoAggregate.AggregateRequest, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoAggregate.AggregateReply>( service, METHODID_AGGREGATE))) + .addMethod( + getBatchSendMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply>( + service, METHODID_BATCH_SEND))) + .addMethod( + getBatchStreamMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest, + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage>( + service, METHODID_BATCH_STREAM))) .build(); } @@ -577,9 +789,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .setSchemaDescriptor(new WeaviateFileDescriptorSupplier()) .addMethod(getSearchMethod()) .addMethod(getBatchObjectsMethod()) + .addMethod(getBatchReferencesMethod()) .addMethod(getBatchDeleteMethod()) .addMethod(getTenantsGetMethod()) .addMethod(getAggregateMethod()) + .addMethod(getBatchSendMethod()) + .addMethod(getBatchStreamMethod()) .build(); } } diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProto.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProto.java index 8c94d1e6b..688c1e769 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProto.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProto.java @@ -26,18 +26,25 @@ public static void registerAllExtensions( "\n\021v1/weaviate.proto\022\013weaviate.v1\032\022v1/agg" + "regate.proto\032\016v1/batch.proto\032\025v1/batch_d" + "elete.proto\032\023v1/search_get.proto\032\020v1/ten" + - "ants.proto2\212\003\n\010Weaviate\022@\n\006Search\022\032.weav" + + "ants.proto2\207\005\n\010Weaviate\022@\n\006Search\022\032.weav" + "iate.v1.SearchRequest\032\030.weaviate.v1.Sear" + "chReply\"\000\022R\n\014BatchObjects\022 .weaviate.v1." + "BatchObjectsRequest\032\036.weaviate.v1.BatchO" + - "bjectsReply\"\000\022O\n\013BatchDelete\022\037.weaviate." + - "v1.BatchDeleteRequest\032\035.weaviate.v1.Batc" + - "hDeleteReply\"\000\022L\n\nTenantsGet\022\036.weaviate." + - "v1.TenantsGetRequest\032\034.weaviate.v1.Tenan" + - "tsGetReply\"\000\022I\n\tAggregate\022\035.weaviate.v1." + - "AggregateRequest\032\033.weaviate.v1.Aggregate" + - "Reply\"\000B>\n-io.weaviate.client6.v1.intern" + - "al.grpc.protocolB\rWeaviateProtob\006proto3" + "bjectsReply\"\000\022[\n\017BatchReferences\022#.weavi" + + "ate.v1.BatchReferencesRequest\032!.weaviate" + + ".v1.BatchReferencesReply\"\000\022O\n\013BatchDelet" + + "e\022\037.weaviate.v1.BatchDeleteRequest\032\035.wea" + + "viate.v1.BatchDeleteReply\"\000\022L\n\nTenantsGe" + + "t\022\036.weaviate.v1.TenantsGetRequest\032\034.weav" + + "iate.v1.TenantsGetReply\"\000\022I\n\tAggregate\022\035" + + ".weaviate.v1.AggregateRequest\032\033.weaviate" + + ".v1.AggregateReply\"\000\022I\n\tBatchSend\022\035.weav" + + "iate.v1.BatchSendRequest\032\033.weaviate.v1.B" + + "atchSendReply\"\000\022S\n\013BatchStream\022\037.weaviat" + + "e.v1.BatchStreamRequest\032\037.weaviate.v1.Ba" + + "tchStreamMessage\"\0000\001B>\n-io.weaviate.clie" + + "nt6.v1.internal.grpc.protocolB\rWeaviateP" + + "rotob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBase.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBase.java index 84cbf872a..c0ae534aa 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBase.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBase.java @@ -147,33 +147,36 @@ public interface NumberArrayPropertiesOrBuilder extends /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return A list containing the values. */ @java.lang.Deprecated java.util.List getValuesList(); /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return The count of values. */ @java.lang.Deprecated int getValuesCount(); /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param index The index of the element to return. * @return The values at the given index. */ @@ -242,11 +245,12 @@ protected java.lang.Object newInstance( /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return A list containing the values. */ @java.lang.Override @@ -257,11 +261,12 @@ protected java.lang.Object newInstance( /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return The count of values. */ @java.lang.Deprecated public int getValuesCount() { @@ -270,11 +275,12 @@ protected java.lang.Object newInstance( /** *
      * will be removed in the future, use vector_bytes
+     * go client 5.4.1 depends on this field. Only remove after go client is deprecated
      * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param index The index of the element to return. * @return The values at the given index. */ @@ -756,11 +762,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return A list containing the values. */ @java.lang.Deprecated public java.util.List @@ -771,11 +778,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return The count of values. */ @java.lang.Deprecated public int getValuesCount() { @@ -784,11 +792,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param index The index of the element to return. * @return The values at the given index. */ @@ -798,11 +807,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. @@ -819,11 +829,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param value The values to add. * @return This builder for chaining. */ @@ -838,11 +849,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @param values The values to add. * @return This builder for chaining. */ @@ -858,11 +870,12 @@ private void ensureValuesIsMutable(int capacity) { /** *
        * will be removed in the future, use vector_bytes
+       * go client 5.4.1 depends on this field. Only remove after go client is deprecated
        * 
* * repeated double values = 1 [deprecated = true]; * @deprecated weaviate.v1.NumberArrayProperties.values is deprecated. - * See v1/base.proto;l=16 + * See v1/base.proto;l=18 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearValues() { @@ -10503,7 +10516,7 @@ public interface FiltersOrBuilder extends * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return A list containing the on. */ @java.lang.Deprecated java.util.List @@ -10515,7 +10528,7 @@ public interface FiltersOrBuilder extends * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return The count of on. */ @java.lang.Deprecated int getOnCount(); @@ -10526,7 +10539,7 @@ public interface FiltersOrBuilder extends * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the element to return. * @return The on at the given index. */ @@ -10538,7 +10551,7 @@ public interface FiltersOrBuilder extends * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the value to return. * @return The bytes of the on at the given index. */ @@ -10823,6 +10836,14 @@ public enum Operator * OPERATOR_CONTAINS_ALL = 13; */ OPERATOR_CONTAINS_ALL(13), + /** + * OPERATOR_CONTAINS_NONE = 14; + */ + OPERATOR_CONTAINS_NONE(14), + /** + * OPERATOR_NOT = 15; + */ + OPERATOR_NOT(15), UNRECOGNIZED(-1), ; @@ -10882,6 +10903,14 @@ public enum Operator * OPERATOR_CONTAINS_ALL = 13; */ public static final int OPERATOR_CONTAINS_ALL_VALUE = 13; + /** + * OPERATOR_CONTAINS_NONE = 14; + */ + public static final int OPERATOR_CONTAINS_NONE_VALUE = 14; + /** + * OPERATOR_NOT = 15; + */ + public static final int OPERATOR_NOT_VALUE = 15; public final int getNumber() { @@ -10922,6 +10951,8 @@ public static Operator forNumber(int value) { case 11: return OPERATOR_IS_NULL; case 12: return OPERATOR_CONTAINS_ANY; case 13: return OPERATOR_CONTAINS_ALL; + case 14: return OPERATOR_CONTAINS_NONE; + case 15: return OPERATOR_NOT; default: return null; } } @@ -11064,7 +11095,7 @@ public int getNumber() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return A list containing the on. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -11078,7 +11109,7 @@ public int getNumber() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return The count of on. */ @java.lang.Deprecated public int getOnCount() { @@ -11091,7 +11122,7 @@ public int getNumber() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the element to return. * @return The on at the given index. */ @@ -11105,7 +11136,7 @@ public int getNumber() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the value to return. * @return The bytes of the on at the given index. */ @@ -12322,7 +12353,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return A list containing the on. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -12337,7 +12368,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return The count of on. */ @java.lang.Deprecated public int getOnCount() { @@ -12350,7 +12381,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the element to return. * @return The on at the given index. */ @@ -12364,7 +12395,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index of the value to return. * @return The bytes of the on at the given index. */ @@ -12379,7 +12410,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param index The index to set the value at. * @param value The on to set. * @return This builder for chaining. @@ -12400,7 +12431,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param value The on to add. * @return This builder for chaining. */ @@ -12420,7 +12451,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param values The on to add. * @return This builder for chaining. */ @@ -12440,7 +12471,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearOn() { @@ -12457,7 +12488,7 @@ private void ensureOnIsMutable() { * * repeated string on = 2 [deprecated = true]; * @deprecated weaviate.v1.Filters.on is deprecated. - * See v1/base.proto;l=94 + * See v1/base.proto;l=98 * @param value The bytes of the on to add. * @return This builder for chaining. */ @@ -18070,7 +18101,7 @@ public interface VectorsOrBuilder extends * * uint64 index = 2 [deprecated = true]; * @deprecated weaviate.v1.Vectors.index is deprecated. - * See v1/base.proto;l=147 + * See v1/base.proto;l=151 * @return The index. */ @java.lang.Deprecated long getIndex(); @@ -18295,7 +18326,7 @@ public java.lang.String getName() { * * uint64 index = 2 [deprecated = true]; * @deprecated weaviate.v1.Vectors.index is deprecated. - * See v1/base.proto;l=147 + * See v1/base.proto;l=151 * @return The index. */ @java.lang.Override @@ -18807,7 +18838,7 @@ public Builder setNameBytes( * * uint64 index = 2 [deprecated = true]; * @deprecated weaviate.v1.Vectors.index is deprecated. - * See v1/base.proto;l=147 + * See v1/base.proto;l=151 * @return The index. */ @java.lang.Override @@ -18821,7 +18852,7 @@ public Builder setNameBytes( * * uint64 index = 2 [deprecated = true]; * @deprecated weaviate.v1.Vectors.index is deprecated. - * See v1/base.proto;l=147 + * See v1/base.proto;l=151 * @param value The index to set. * @return This builder for chaining. */ @@ -18839,7 +18870,7 @@ public Builder setNameBytes( * * uint64 index = 2 [deprecated = true]; * @deprecated weaviate.v1.Vectors.index is deprecated. - * See v1/base.proto;l=147 + * See v1/base.proto;l=151 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearIndex() { @@ -19124,7 +19155,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors g "\030\002 \001(\t\"\033\n\tTextArray\022\016\n\006values\030\001 \003(\t\"\032\n\010I" + "ntArray\022\016\n\006values\030\001 \003(\003\"\035\n\013NumberArray\022\016" + "\n\006values\030\001 \003(\001\"\036\n\014BooleanArray\022\016\n\006values" + - "\030\001 \003(\010\"\374\006\n\007Filters\022/\n\010operator\030\001 \001(\0162\035.w" + + "\030\001 \003(\010\"\252\007\n\007Filters\022/\n\010operator\030\001 \001(\0162\035.w" + "eaviate.v1.Filters.Operator\022\016\n\002on\030\002 \003(\tB" + "\002\030\001\022%\n\007filters\030\003 \003(\0132\024.weaviate.v1.Filte" + "rs\022\024\n\nvalue_text\030\004 \001(\tH\000\022\023\n\tvalue_int\030\005 " + @@ -19137,7 +19168,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors g "(\0132\030.weaviate.v1.NumberArrayH\000\0226\n\tvalue_" + "geo\030\r \001(\0132!.weaviate.v1.GeoCoordinatesFi" + "lterH\000\022)\n\006target\030\024 \001(\0132\031.weaviate.v1.Fil" + - "terTarget\"\343\002\n\010Operator\022\030\n\024OPERATOR_UNSPE" + + "terTarget\"\221\003\n\010Operator\022\030\n\024OPERATOR_UNSPE" + "CIFIED\020\000\022\022\n\016OPERATOR_EQUAL\020\001\022\026\n\022OPERATOR" + "_NOT_EQUAL\020\002\022\031\n\025OPERATOR_GREATER_THAN\020\003\022" + "\037\n\033OPERATOR_GREATER_THAN_EQUAL\020\004\022\026\n\022OPER" + @@ -19146,31 +19177,33 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors g "\010\022\035\n\031OPERATOR_WITHIN_GEO_RANGE\020\t\022\021\n\rOPER" + "ATOR_LIKE\020\n\022\024\n\020OPERATOR_IS_NULL\020\013\022\031\n\025OPE" + "RATOR_CONTAINS_ANY\020\014\022\031\n\025OPERATOR_CONTAIN" + - "S_ALL\020\rB\014\n\ntest_value\"T\n\033FilterReference" + - "SingleTarget\022\n\n\002on\030\001 \001(\t\022)\n\006target\030\002 \001(\013" + - "2\031.weaviate.v1.FilterTarget\"n\n\032FilterRef" + - "erenceMultiTarget\022\n\n\002on\030\001 \001(\t\022)\n\006target\030" + - "\002 \001(\0132\031.weaviate.v1.FilterTarget\022\031\n\021targ" + - "et_collection\030\003 \001(\t\"\"\n\024FilterReferenceCo" + - "unt\022\n\n\002on\030\001 \001(\t\"\344\001\n\014FilterTarget\022\022\n\010prop" + - "erty\030\001 \001(\tH\000\022A\n\rsingle_target\030\002 \001(\0132(.we" + - "aviate.v1.FilterReferenceSingleTargetH\000\022" + - "?\n\014multi_target\030\003 \001(\0132\'.weaviate.v1.Filt" + - "erReferenceMultiTargetH\000\0222\n\005count\030\004 \001(\0132" + - "!.weaviate.v1.FilterReferenceCountH\000B\010\n\006" + - "target\"M\n\024GeoCoordinatesFilter\022\020\n\010latitu" + - "de\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022\020\n\010distance\030" + - "\003 \001(\002\"\323\001\n\007Vectors\022\014\n\004name\030\001 \001(\t\022\021\n\005index" + - "\030\002 \001(\004B\002\030\001\022\024\n\014vector_bytes\030\003 \001(\014\022-\n\004type" + - "\030\004 \001(\0162\037.weaviate.v1.Vectors.VectorType\"" + - "b\n\nVectorType\022\033\n\027VECTOR_TYPE_UNSPECIFIED" + - "\020\000\022\033\n\027VECTOR_TYPE_SINGLE_FP32\020\001\022\032\n\026VECTO" + - "R_TYPE_MULTI_FP32\020\002*\211\001\n\020ConsistencyLevel" + - "\022!\n\035CONSISTENCY_LEVEL_UNSPECIFIED\020\000\022\031\n\025C" + - "ONSISTENCY_LEVEL_ONE\020\001\022\034\n\030CONSISTENCY_LE" + - "VEL_QUORUM\020\002\022\031\n\025CONSISTENCY_LEVEL_ALL\020\003B" + - "B\n-io.weaviate.client6.v1.internal.grpc." + - "protocolB\021WeaviateProtoBaseb\006proto3" + "S_ALL\020\r\022\032\n\026OPERATOR_CONTAINS_NONE\020\016\022\020\n\014O" + + "PERATOR_NOT\020\017B\014\n\ntest_value\"T\n\033FilterRef" + + "erenceSingleTarget\022\n\n\002on\030\001 \001(\t\022)\n\006target" + + "\030\002 \001(\0132\031.weaviate.v1.FilterTarget\"n\n\032Fil" + + "terReferenceMultiTarget\022\n\n\002on\030\001 \001(\t\022)\n\006t" + + "arget\030\002 \001(\0132\031.weaviate.v1.FilterTarget\022\031" + + "\n\021target_collection\030\003 \001(\t\"\"\n\024FilterRefer" + + "enceCount\022\n\n\002on\030\001 \001(\t\"\344\001\n\014FilterTarget\022\022" + + "\n\010property\030\001 \001(\tH\000\022A\n\rsingle_target\030\002 \001(" + + "\0132(.weaviate.v1.FilterReferenceSingleTar" + + "getH\000\022?\n\014multi_target\030\003 \001(\0132\'.weaviate.v" + + "1.FilterReferenceMultiTargetH\000\0222\n\005count\030" + + "\004 \001(\0132!.weaviate.v1.FilterReferenceCount" + + "H\000B\010\n\006target\"M\n\024GeoCoordinatesFilter\022\020\n\010" + + "latitude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022\020\n\010dis" + + "tance\030\003 \001(\002\"\323\001\n\007Vectors\022\014\n\004name\030\001 \001(\t\022\021\n" + + "\005index\030\002 \001(\004B\002\030\001\022\024\n\014vector_bytes\030\003 \001(\014\022-" + + "\n\004type\030\004 \001(\0162\037.weaviate.v1.Vectors.Vecto" + + "rType\"b\n\nVectorType\022\033\n\027VECTOR_TYPE_UNSPE" + + "CIFIED\020\000\022\033\n\027VECTOR_TYPE_SINGLE_FP32\020\001\022\032\n" + + "\026VECTOR_TYPE_MULTI_FP32\020\002*\211\001\n\020Consistenc" + + "yLevel\022!\n\035CONSISTENCY_LEVEL_UNSPECIFIED\020" + + "\000\022\031\n\025CONSISTENCY_LEVEL_ONE\020\001\022\034\n\030CONSISTE" + + "NCY_LEVEL_QUORUM\020\002\022\031\n\025CONSISTENCY_LEVEL_" + + "ALL\020\003BB\n-io.weaviate.client6.v1.internal" + + ".grpc.protocolB\021WeaviateProtoBaseb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBaseSearch.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBaseSearch.java index ed1a5c5b4..ceefa3660 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBaseSearch.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBaseSearch.java @@ -824,58 +824,6 @@ public interface TargetsOrBuilder extends */ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.CombinationMethod getCombination(); - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated int getWeightsCount(); - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated boolean containsWeights( - java.lang.String key); - /** - * Use {@link #getWeightsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getWeights(); - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated java.util.Map - getWeightsMap(); - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated float getWeightsOrDefault( - java.lang.String key, - float defaultValue); - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated float getWeightsOrThrow( - java.lang.String key); - /** * repeated .weaviate.v1.WeightsForTarget weights_for_targets = 4; */ @@ -931,18 +879,6 @@ protected java.lang.Object newInstance( return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.internal_static_weaviate_v1_Targets_descriptor; } - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetWeights(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -1006,99 +942,6 @@ public java.lang.String getTargetVectors(int index) { return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.CombinationMethod.UNRECOGNIZED : result; } - public static final int WEIGHTS_FIELD_NUMBER = 3; - private static final class WeightsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Float> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.internal_static_weaviate_v1_Targets_WeightsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.FLOAT, - 0F); - } - @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Float> weights_; - private com.google.protobuf.MapField - internalGetWeights() { - if (weights_ == null) { - return com.google.protobuf.MapField.emptyMapField( - WeightsDefaultEntryHolder.defaultEntry); - } - return weights_; - } - @java.lang.Deprecated public int getWeightsCount() { - return internalGetWeights().getMap().size(); - } - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public boolean containsWeights( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetWeights().getMap().containsKey(key); - } - /** - * Use {@link #getWeightsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getWeights() { - return getWeightsMap(); - } - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.Map getWeightsMap() { - return internalGetWeights().getMap(); - } - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public float getWeightsOrDefault( - java.lang.String key, - float defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetWeights().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * deprecated in 1.26.2 - use weights_for_targets
-     * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public float getWeightsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetWeights().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - public static final int WEIGHTS_FOR_TARGETS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List weightsForTargets_; @@ -1160,12 +1003,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (combination_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.CombinationMethod.COMBINATION_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(2, combination_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetWeights(), - WeightsDefaultEntryHolder.defaultEntry, - 3); for (int i = 0; i < weightsForTargets_.size(); i++) { output.writeMessage(4, weightsForTargets_.get(i)); } @@ -1190,16 +1027,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, combination_); } - for (java.util.Map.Entry entry - : internalGetWeights().getMap().entrySet()) { - com.google.protobuf.MapEntry - weights__ = WeightsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, weights__); - } for (int i = 0; i < weightsForTargets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, weightsForTargets_.get(i)); @@ -1222,8 +1049,6 @@ public boolean equals(final java.lang.Object obj) { if (!getTargetVectorsList() .equals(other.getTargetVectorsList())) return false; if (combination_ != other.combination_) return false; - if (!internalGetWeights().equals( - other.internalGetWeights())) return false; if (!getWeightsForTargetsList() .equals(other.getWeightsForTargetsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1243,10 +1068,6 @@ public int hashCode() { } hash = (37 * hash) + COMBINATION_FIELD_NUMBER; hash = (53 * hash) + combination_; - if (!internalGetWeights().getMap().isEmpty()) { - hash = (37 * hash) + WEIGHTS_FIELD_NUMBER; - hash = (53 * hash) + internalGetWeights().hashCode(); - } if (getWeightsForTargetsCount() > 0) { hash = (37 * hash) + WEIGHTS_FOR_TARGETS_FIELD_NUMBER; hash = (53 * hash) + getWeightsForTargetsList().hashCode(); @@ -1360,28 +1181,6 @@ public static final class Builder extends return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.internal_static_weaviate_v1_Targets_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetWeights(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 3: - return internalGetMutableWeights(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -1407,14 +1206,13 @@ public Builder clear() { targetVectors_ = com.google.protobuf.LazyStringArrayList.emptyList(); combination_ = 0; - internalGetMutableWeights().clear(); if (weightsForTargetsBuilder_ == null) { weightsForTargets_ = java.util.Collections.emptyList(); } else { weightsForTargets_ = null; weightsForTargetsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -1449,9 +1247,9 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.Tar private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.Targets result) { if (weightsForTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { weightsForTargets_ = java.util.Collections.unmodifiableList(weightsForTargets_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } result.weightsForTargets_ = weightsForTargets_; } else { @@ -1468,10 +1266,6 @@ private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.Weaviat if (((from_bitField0_ & 0x00000002) != 0)) { result.combination_ = combination_; } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.weights_ = internalGetWeights(); - result.weights_.makeImmutable(); - } } @java.lang.Override @@ -1531,14 +1325,11 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP if (other.combination_ != 0) { setCombinationValue(other.getCombinationValue()); } - internalGetMutableWeights().mergeFrom( - other.internalGetWeights()); - bitField0_ |= 0x00000004; if (weightsForTargetsBuilder_ == null) { if (!other.weightsForTargets_.isEmpty()) { if (weightsForTargets_.isEmpty()) { weightsForTargets_ = other.weightsForTargets_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureWeightsForTargetsIsMutable(); weightsForTargets_.addAll(other.weightsForTargets_); @@ -1551,7 +1342,7 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP weightsForTargetsBuilder_.dispose(); weightsForTargetsBuilder_ = null; weightsForTargets_ = other.weightsForTargets_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); weightsForTargetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWeightsForTargetsFieldBuilder() : null; @@ -1597,15 +1388,6 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 16 - case 26: { - com.google.protobuf.MapEntry - weights__ = input.readMessage( - WeightsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableWeights().getMutableMap().put( - weights__.getKey(), weights__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 case 34: { io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.WeightsForTarget m = input.readMessage( @@ -1800,165 +1582,12 @@ public Builder clearCombination() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Float> weights_; - @java.lang.Deprecated private com.google.protobuf.MapField - internalGetWeights() { - if (weights_ == null) { - return com.google.protobuf.MapField.emptyMapField( - WeightsDefaultEntryHolder.defaultEntry); - } - return weights_; - } - @java.lang.Deprecated private com.google.protobuf.MapField - internalGetMutableWeights() { - if (weights_ == null) { - weights_ = com.google.protobuf.MapField.newMapField( - WeightsDefaultEntryHolder.defaultEntry); - } - if (!weights_.isMutable()) { - weights_ = weights_.copy(); - } - bitField0_ |= 0x00000004; - onChanged(); - return weights_; - } - @java.lang.Deprecated public int getWeightsCount() { - return internalGetWeights().getMap().size(); - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public boolean containsWeights( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetWeights().getMap().containsKey(key); - } - /** - * Use {@link #getWeightsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getWeights() { - return getWeightsMap(); - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.Map getWeightsMap() { - return internalGetWeights().getMap(); - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public float getWeightsOrDefault( - java.lang.String key, - float defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetWeights().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public float getWeightsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetWeights().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - @java.lang.Deprecated public Builder clearWeights() { - bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableWeights().getMutableMap() - .clear(); - return this; - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeWeights( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableWeights().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableWeights() { - bitField0_ |= 0x00000004; - return internalGetMutableWeights().getMutableMap(); - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder putWeights( - java.lang.String key, - float value) { - if (key == null) { throw new NullPointerException("map key"); } - - internalGetMutableWeights().getMutableMap() - .put(key, value); - bitField0_ |= 0x00000004; - return this; - } - /** - *
-       * deprecated in 1.26.2 - use weights_for_targets
-       * 
- * - * map<string, float> weights = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder putAllWeights( - java.util.Map values) { - internalGetMutableWeights().getMutableMap() - .putAll(values); - bitField0_ |= 0x00000004; - return this; - } - private java.util.List weightsForTargets_ = java.util.Collections.emptyList(); private void ensureWeightsForTargetsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { weightsForTargets_ = new java.util.ArrayList(weightsForTargets_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } } @@ -2108,7 +1737,7 @@ public Builder addAllWeightsForTargets( public Builder clearWeightsForTargets() { if (weightsForTargetsBuilder_ == null) { weightsForTargets_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { weightsForTargetsBuilder_.clear(); @@ -2185,7 +1814,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.Wei weightsForTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.WeightsForTarget, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.WeightsForTarget.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.WeightsForTargetOrBuilder>( weightsForTargets_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); weightsForTargets_ = null; @@ -22546,11 +22175,6 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.BM2 private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_weaviate_v1_Targets_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_weaviate_v1_Targets_WeightsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_weaviate_v1_Targets_WeightsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_weaviate_v1_VectorForTarget_descriptor; private static final @@ -22637,98 +22261,96 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.BM2 java.lang.String[] descriptorData = { "\n\024v1/base_search.proto\022\013weaviate.v1\032\rv1/" + "base.proto\"2\n\020WeightsForTarget\022\016\n\006target" + - "\030\001 \001(\t\022\016\n\006weight\030\002 \001(\002\"\372\001\n\007Targets\022\026\n\016ta" + + "\030\001 \001(\t\022\016\n\006weight\030\002 \001(\002\"\230\001\n\007Targets\022\026\n\016ta" + "rget_vectors\030\001 \003(\t\0223\n\013combination\030\002 \001(\0162" + - "\036.weaviate.v1.CombinationMethod\0226\n\007weigh" + - "ts\030\003 \003(\0132!.weaviate.v1.Targets.WeightsEn" + - "tryB\002\030\001\022:\n\023weights_for_targets\030\004 \003(\0132\035.w" + - "eaviate.v1.WeightsForTarget\032.\n\014WeightsEn" + - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\002:\0028\001\"`\n\017V" + - "ectorForTarget\022\014\n\004name\030\001 \001(\t\022\030\n\014vector_b" + - "ytes\030\002 \001(\014B\002\030\001\022%\n\007vectors\030\003 \003(\0132\024.weavia" + - "te.v1.Vectors\"\341\001\n\025SearchOperatorOptions\022" + - "=\n\010operator\030\001 \001(\0162+.weaviate.v1.SearchOp" + - "eratorOptions.Operator\022$\n\027minimum_or_tok" + - "ens_match\030\002 \001(\005H\000\210\001\001\"G\n\010Operator\022\030\n\024OPER" + - "ATOR_UNSPECIFIED\020\000\022\017\n\013OPERATOR_OR\020\001\022\020\n\014O" + - "PERATOR_AND\020\002B\032\n\030_minimum_or_tokens_matc" + - "h\"\320\004\n\006Hybrid\022\r\n\005query\030\001 \001(\t\022\022\n\npropertie" + - "s\030\002 \003(\t\022\022\n\006vector\030\003 \003(\002B\002\030\001\022\r\n\005alpha\030\004 \001" + - "(\002\0223\n\013fusion_type\030\005 \001(\0162\036.weaviate.v1.Hy" + - "brid.FusionType\022\030\n\014vector_bytes\030\006 \001(\014B\002\030" + - "\001\022\032\n\016target_vectors\030\007 \003(\tB\002\030\001\022.\n\tnear_te" + - "xt\030\010 \001(\0132\033.weaviate.v1.NearTextSearch\022,\n" + - "\013near_vector\030\t \001(\0132\027.weaviate.v1.NearVec" + - "tor\022%\n\007targets\030\n \001(\0132\024.weaviate.v1.Targe" + - "ts\022E\n\024bm25_search_operator\030\013 \001(\0132\".weavi" + - "ate.v1.SearchOperatorOptionsH\001\210\001\001\022\031\n\017vec" + - "tor_distance\030\024 \001(\002H\000\022%\n\007vectors\030\025 \003(\0132\024." + - "weaviate.v1.Vectors\"a\n\nFusionType\022\033\n\027FUS" + - "ION_TYPE_UNSPECIFIED\020\000\022\026\n\022FUSION_TYPE_RA" + - "NKED\020\001\022\036\n\032FUSION_TYPE_RELATIVE_SCORE\020\002B\013" + - "\n\tthresholdB\027\n\025_bm25_search_operator\"\255\003\n" + - "\nNearVector\022\022\n\006vector\030\001 \003(\002B\002\030\001\022\026\n\tcerta" + - "inty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\030" + - "\n\014vector_bytes\030\004 \001(\014B\002\030\001\022\032\n\016target_vecto" + - "rs\030\005 \003(\tB\002\030\001\022%\n\007targets\030\006 \001(\0132\024.weaviate" + - ".v1.Targets\022K\n\021vector_per_target\030\007 \003(\0132," + - ".weaviate.v1.NearVector.VectorPerTargetE" + - "ntryB\002\030\001\0228\n\022vector_for_targets\030\010 \003(\0132\034.w" + - "eaviate.v1.VectorForTarget\022%\n\007vectors\030\t " + - "\003(\0132\024.weaviate.v1.Vectors\0326\n\024VectorPerTa" + - "rgetEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028" + - "\001B\014\n\n_certaintyB\013\n\t_distance\"\245\001\n\nNearObj" + - "ect\022\n\n\002id\030\001 \001(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022" + - "\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n\016target_vectors" + - "\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.weaviate.v" + - "1.TargetsB\014\n\n_certaintyB\013\n\t_distance\"\360\002\n" + - "\016NearTextSearch\022\r\n\005query\030\001 \003(\t\022\026\n\tcertai" + - "nty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\0226\n" + - "\007move_to\030\004 \001(\0132 .weaviate.v1.NearTextSea" + - "rch.MoveH\002\210\001\001\0228\n\tmove_away\030\005 \001(\0132 .weavi" + - "ate.v1.NearTextSearch.MoveH\003\210\001\001\022\032\n\016targe" + - "t_vectors\030\006 \003(\tB\002\030\001\022%\n\007targets\030\007 \001(\0132\024.w" + - "eaviate.v1.Targets\0326\n\004Move\022\r\n\005force\030\001 \001(" + - "\002\022\020\n\010concepts\030\002 \003(\t\022\r\n\005uuids\030\003 \003(\tB\014\n\n_c" + - "ertaintyB\013\n\t_distanceB\n\n\010_move_toB\014\n\n_mo" + - "ve_away\"\255\001\n\017NearImageSearch\022\r\n\005image\030\001 \001" + - "(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003" + - " \001(\001H\001\210\001\001\022\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n" + - "\007targets\030\005 \001(\0132\024.weaviate.v1.TargetsB\014\n\n" + - "_certaintyB\013\n\t_distance\"\255\001\n\017NearAudioSea" + - "rch\022\r\n\005audio\030\001 \001(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210" + - "\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n\016target_vect" + - "ors\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.weaviat" + - "e.v1.TargetsB\014\n\n_certaintyB\013\n\t_distance\"" + - "\255\001\n\017NearVideoSearch\022\r\n\005video\030\001 \001(\t\022\026\n\tce" + - "rtainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001" + - "\001\022\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n\007targets" + - "\030\005 \001(\0132\024.weaviate.v1.TargetsB\014\n\n_certain" + - "tyB\013\n\t_distance\"\255\001\n\017NearDepthSearch\022\r\n\005d" + - "epth\030\001 \001(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010di" + - "stance\030\003 \001(\001H\001\210\001\001\022\032\n\016target_vectors\030\004 \003(" + - "\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.weaviate.v1.Tar" + - "getsB\014\n\n_certaintyB\013\n\t_distance\"\261\001\n\021Near" + - "ThermalSearch\022\017\n\007thermal\030\001 \001(\t\022\026\n\tcertai" + - "nty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n" + - "\016target_vectors\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001" + - "(\0132\024.weaviate.v1.TargetsB\014\n\n_certaintyB\013" + - "\n\t_distance\"\251\001\n\rNearIMUSearch\022\013\n\003imu\030\001 \001" + - "(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003" + - " \001(\001H\001\210\001\001\022\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n" + - "\007targets\030\005 \001(\0132\024.weaviate.v1.TargetsB\014\n\n" + - "_certaintyB\013\n\t_distance\"\177\n\004BM25\022\r\n\005query" + - "\030\001 \001(\t\022\022\n\nproperties\030\002 \003(\t\022@\n\017search_ope" + - "rator\030\003 \001(\0132\".weaviate.v1.SearchOperator" + - "OptionsH\000\210\001\001B\022\n\020_search_operator*\356\001\n\021Com" + - "binationMethod\022\"\n\036COMBINATION_METHOD_UNS" + - "PECIFIED\020\000\022\037\n\033COMBINATION_METHOD_TYPE_SU" + - "M\020\001\022\037\n\033COMBINATION_METHOD_TYPE_MIN\020\002\022#\n\037" + - "COMBINATION_METHOD_TYPE_AVERAGE\020\003\022*\n&COM" + - "BINATION_METHOD_TYPE_RELATIVE_SCORE\020\004\022\"\n" + - "\036COMBINATION_METHOD_TYPE_MANUAL\020\005BH\n-io." + - "weaviate.client6.v1.internal.grpc.protoc" + - "olB\027WeaviateProtoBaseSearchb\006proto3" + "\036.weaviate.v1.CombinationMethod\022:\n\023weigh" + + "ts_for_targets\030\004 \003(\0132\035.weaviate.v1.Weigh" + + "tsForTargetJ\004\010\003\020\004\"`\n\017VectorForTarget\022\014\n\004" + + "name\030\001 \001(\t\022\030\n\014vector_bytes\030\002 \001(\014B\002\030\001\022%\n\007" + + "vectors\030\003 \003(\0132\024.weaviate.v1.Vectors\"\341\001\n\025" + + "SearchOperatorOptions\022=\n\010operator\030\001 \001(\0162" + + "+.weaviate.v1.SearchOperatorOptions.Oper" + + "ator\022$\n\027minimum_or_tokens_match\030\002 \001(\005H\000\210" + + "\001\001\"G\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000" + + "\022\017\n\013OPERATOR_OR\020\001\022\020\n\014OPERATOR_AND\020\002B\032\n\030_" + + "minimum_or_tokens_match\"\320\004\n\006Hybrid\022\r\n\005qu" + + "ery\030\001 \001(\t\022\022\n\nproperties\030\002 \003(\t\022\022\n\006vector\030" + + "\003 \003(\002B\002\030\001\022\r\n\005alpha\030\004 \001(\002\0223\n\013fusion_type\030" + + "\005 \001(\0162\036.weaviate.v1.Hybrid.FusionType\022\030\n" + + "\014vector_bytes\030\006 \001(\014B\002\030\001\022\032\n\016target_vector" + + "s\030\007 \003(\tB\002\030\001\022.\n\tnear_text\030\010 \001(\0132\033.weaviat" + + "e.v1.NearTextSearch\022,\n\013near_vector\030\t \001(\013" + + "2\027.weaviate.v1.NearVector\022%\n\007targets\030\n \001" + + "(\0132\024.weaviate.v1.Targets\022E\n\024bm25_search_" + + "operator\030\013 \001(\0132\".weaviate.v1.SearchOpera" + + "torOptionsH\001\210\001\001\022\031\n\017vector_distance\030\024 \001(\002" + + "H\000\022%\n\007vectors\030\025 \003(\0132\024.weaviate.v1.Vector" + + "s\"a\n\nFusionType\022\033\n\027FUSION_TYPE_UNSPECIFI" + + "ED\020\000\022\026\n\022FUSION_TYPE_RANKED\020\001\022\036\n\032FUSION_T" + + "YPE_RELATIVE_SCORE\020\002B\013\n\tthresholdB\027\n\025_bm" + + "25_search_operator\"\255\003\n\nNearVector\022\022\n\006vec" + + "tor\030\001 \003(\002B\002\030\001\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n" + + "\010distance\030\003 \001(\001H\001\210\001\001\022\030\n\014vector_bytes\030\004 \001" + + "(\014B\002\030\001\022\032\n\016target_vectors\030\005 \003(\tB\002\030\001\022%\n\007ta" + + "rgets\030\006 \001(\0132\024.weaviate.v1.Targets\022K\n\021vec" + + "tor_per_target\030\007 \003(\0132,.weaviate.v1.NearV" + + "ector.VectorPerTargetEntryB\002\030\001\0228\n\022vector" + + "_for_targets\030\010 \003(\0132\034.weaviate.v1.VectorF" + + "orTarget\022%\n\007vectors\030\t \003(\0132\024.weaviate.v1." + + "Vectors\0326\n\024VectorPerTargetEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001B\014\n\n_certaintyB\013\n" + + "\t_distance\"\245\001\n\nNearObject\022\n\n\002id\030\001 \001(\t\022\026\n" + + "\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H" + + "\001\210\001\001\022\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n\007targ" + + "ets\030\005 \001(\0132\024.weaviate.v1.TargetsB\014\n\n_cert" + + "aintyB\013\n\t_distance\"\360\002\n\016NearTextSearch\022\r\n" + + "\005query\030\001 \003(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010" + + "distance\030\003 \001(\001H\001\210\001\001\0226\n\007move_to\030\004 \001(\0132 .w" + + "eaviate.v1.NearTextSearch.MoveH\002\210\001\001\0228\n\tm" + + "ove_away\030\005 \001(\0132 .weaviate.v1.NearTextSea" + + "rch.MoveH\003\210\001\001\022\032\n\016target_vectors\030\006 \003(\tB\002\030" + + "\001\022%\n\007targets\030\007 \001(\0132\024.weaviate.v1.Targets" + + "\0326\n\004Move\022\r\n\005force\030\001 \001(\002\022\020\n\010concepts\030\002 \003(" + + "\t\022\r\n\005uuids\030\003 \003(\tB\014\n\n_certaintyB\013\n\t_dista" + + "nceB\n\n\010_move_toB\014\n\n_move_away\"\255\001\n\017NearIm" + + "ageSearch\022\r\n\005image\030\001 \001(\t\022\026\n\tcertainty\030\002 " + + "\001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n\016targe" + + "t_vectors\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.w" + + "eaviate.v1.TargetsB\014\n\n_certaintyB\013\n\t_dis" + + "tance\"\255\001\n\017NearAudioSearch\022\r\n\005audio\030\001 \001(\t" + + "\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001" + + "(\001H\001\210\001\001\022\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n\007t" + + "argets\030\005 \001(\0132\024.weaviate.v1.TargetsB\014\n\n_c" + + "ertaintyB\013\n\t_distance\"\255\001\n\017NearVideoSearc" + + "h\022\r\n\005video\030\001 \001(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001" + + "\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n\016target_vector" + + "s\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.weaviate." + + "v1.TargetsB\014\n\n_certaintyB\013\n\t_distance\"\255\001" + + "\n\017NearDepthSearch\022\r\n\005depth\030\001 \001(\t\022\026\n\tcert" + + "ainty\030\002 \001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022" + + "\032\n\016target_vectors\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005" + + " \001(\0132\024.weaviate.v1.TargetsB\014\n\n_certainty" + + "B\013\n\t_distance\"\261\001\n\021NearThermalSearch\022\017\n\007t" + + "hermal\030\001 \001(\t\022\026\n\tcertainty\030\002 \001(\001H\000\210\001\001\022\025\n\010" + + "distance\030\003 \001(\001H\001\210\001\001\022\032\n\016target_vectors\030\004 " + + "\003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.weaviate.v1.T" + + "argetsB\014\n\n_certaintyB\013\n\t_distance\"\251\001\n\rNe" + + "arIMUSearch\022\013\n\003imu\030\001 \001(\t\022\026\n\tcertainty\030\002 " + + "\001(\001H\000\210\001\001\022\025\n\010distance\030\003 \001(\001H\001\210\001\001\022\032\n\016targe" + + "t_vectors\030\004 \003(\tB\002\030\001\022%\n\007targets\030\005 \001(\0132\024.w" + + "eaviate.v1.TargetsB\014\n\n_certaintyB\013\n\t_dis" + + "tance\"\177\n\004BM25\022\r\n\005query\030\001 \001(\t\022\022\n\nproperti" + + "es\030\002 \003(\t\022@\n\017search_operator\030\003 \001(\0132\".weav" + + "iate.v1.SearchOperatorOptionsH\000\210\001\001B\022\n\020_s" + + "earch_operator*\356\001\n\021CombinationMethod\022\"\n\036" + + "COMBINATION_METHOD_UNSPECIFIED\020\000\022\037\n\033COMB" + + "INATION_METHOD_TYPE_SUM\020\001\022\037\n\033COMBINATION" + + "_METHOD_TYPE_MIN\020\002\022#\n\037COMBINATION_METHOD" + + "_TYPE_AVERAGE\020\003\022*\n&COMBINATION_METHOD_TY" + + "PE_RELATIVE_SCORE\020\004\022\"\n\036COMBINATION_METHO" + + "D_TYPE_MANUAL\020\005BH\n-io.weaviate.client6.v" + + "1.internal.grpc.protocolB\027WeaviateProtoB" + + "aseSearchb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -22746,13 +22368,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.BM2 internal_static_weaviate_v1_Targets_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_Targets_descriptor, - new java.lang.String[] { "TargetVectors", "Combination", "Weights", "WeightsForTargets", }); - internal_static_weaviate_v1_Targets_WeightsEntry_descriptor = - internal_static_weaviate_v1_Targets_descriptor.getNestedTypes().get(0); - internal_static_weaviate_v1_Targets_WeightsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_weaviate_v1_Targets_WeightsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + new java.lang.String[] { "TargetVectors", "Combination", "WeightsForTargets", }); internal_static_weaviate_v1_VectorForTarget_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_weaviate_v1_VectorForTarget_fieldAccessorTable = new diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBatch.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBatch.java index 9f23fdf29..9048e740a 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBatch.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoBatch.java @@ -929,898 +929,1057 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } - public interface BatchObjectOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject) + public interface BatchReferencesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchReferencesRequest) com.google.protobuf.MessageOrBuilder { /** - * string uuid = 1; - * @return The uuid. + * repeated .weaviate.v1.BatchReference references = 1; */ - java.lang.String getUuid(); + java.util.List + getReferencesList(); /** - * string uuid = 1; - * @return The bytes for uuid. + * repeated .weaviate.v1.BatchReference references = 1; */ - com.google.protobuf.ByteString - getUuidBytes(); - + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getReferences(int index); /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return A list containing the vector. + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Deprecated java.util.List getVectorList(); + int getReferencesCount(); /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return The count of vector. + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Deprecated int getVectorCount(); + java.util.List + getReferencesOrBuilderList(); /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param index The index of the element to return. - * @return The vector at the given index. + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Deprecated float getVector(int index); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getReferencesOrBuilder( + int index); /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return Whether the properties field is set. + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return Whether the consistencyLevel field is set. */ - boolean hasProperties(); + boolean hasConsistencyLevel(); /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return The properties. + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The enum numeric value on the wire for consistencyLevel. */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties(); + int getConsistencyLevelValue(); /** - * .weaviate.v1.BatchObject.Properties properties = 3; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The consistencyLevel. */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder(); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel(); + } + /** + * Protobuf type {@code weaviate.v1.BatchReferencesRequest} + */ + public static final class BatchReferencesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchReferencesRequest) + BatchReferencesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchReferencesRequest.newBuilder() to construct. + private BatchReferencesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchReferencesRequest() { + references_ = java.util.Collections.emptyList(); + consistencyLevel_ = 0; + } - /** - * string collection = 4; - * @return The collection. - */ - java.lang.String getCollection(); - /** - * string collection = 4; - * @return The bytes for collection. - */ - com.google.protobuf.ByteString - getCollectionBytes(); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchReferencesRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.Builder.class); + } + private int bitField0_; + public static final int REFERENCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List references_; /** - * string tenant = 5; - * @return The tenant. + * repeated .weaviate.v1.BatchReference references = 1; */ - java.lang.String getTenant(); + @java.lang.Override + public java.util.List getReferencesList() { + return references_; + } /** - * string tenant = 5; - * @return The bytes for tenant. + * repeated .weaviate.v1.BatchReference references = 1; */ - com.google.protobuf.ByteString - getTenantBytes(); - + @java.lang.Override + public java.util.List + getReferencesOrBuilderList() { + return references_; + } /** - * bytes vector_bytes = 6; - * @return The vectorBytes. + * repeated .weaviate.v1.BatchReference references = 1; */ - com.google.protobuf.ByteString getVectorBytes(); - + @java.lang.Override + public int getReferencesCount() { + return references_.size(); + } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchReference references = 1; */ - java.util.List - getVectorsList(); + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getReferences(int index) { + return references_.get(index); + } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchReference references = 1; */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index); + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getReferencesOrBuilder( + int index) { + return references_.get(index); + } + + public static final int CONSISTENCY_LEVEL_FIELD_NUMBER = 2; + private int consistencyLevel_ = 0; /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return Whether the consistencyLevel field is set. */ - int getVectorsCount(); + @java.lang.Override public boolean hasConsistencyLevel() { + return ((bitField0_ & 0x00000001) != 0); + } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The enum numeric value on the wire for consistencyLevel. */ - java.util.List - getVectorsOrBuilderList(); + @java.lang.Override public int getConsistencyLevelValue() { + return consistencyLevel_; + } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The consistencyLevel. */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( - int index); - } - /** - * Protobuf type {@code weaviate.v1.BatchObject} - */ - public static final class BatchObject extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject) - BatchObjectOrBuilder { - private static final long serialVersionUID = 0L; - // Use BatchObject.newBuilder() to construct. - private BatchObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BatchObject() { - uuid_ = ""; - vector_ = emptyFloatList(); - collection_ = ""; - tenant_ = ""; - vectorBytes_ = com.google.protobuf.ByteString.EMPTY; - vectors_ = java.util.Collections.emptyList(); + @java.lang.Override public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.forNumber(consistencyLevel_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.UNRECOGNIZED : result; } + private byte memoizedIsInitialized = -1; @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new BatchObject(); - } + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; + memoizedIsInitialized = 1; + return true; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder.class); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < references_.size(); i++) { + output.writeMessage(1, references_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(2, consistencyLevel_); + } + getUnknownFields().writeTo(output); } - public interface PropertiesOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.Properties) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return Whether the nonRefProperties field is set. - */ - boolean hasNonRefProperties(); - /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return The nonRefProperties. - */ - com.google.protobuf.Struct getNonRefProperties(); - /** - * .google.protobuf.Struct non_ref_properties = 1; - */ - com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder(); + size = 0; + for (int i = 0; i < references_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, references_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, consistencyLevel_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - java.util.List - getSingleTargetRefPropsList(); - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index); - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - int getSingleTargetRefPropsCount(); - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - java.util.List - getSingleTargetRefPropsOrBuilderList(); - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( - int index); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest) obj; - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - java.util.List - getMultiTargetRefPropsList(); - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index); - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - int getMultiTargetRefPropsCount(); - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - java.util.List - getMultiTargetRefPropsOrBuilderList(); - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( - int index); + if (!getReferencesList() + .equals(other.getReferencesList())) return false; + if (hasConsistencyLevel() != other.hasConsistencyLevel()) return false; + if (hasConsistencyLevel()) { + if (consistencyLevel_ != other.consistencyLevel_) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - java.util.List - getNumberArrayPropertiesList(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - int getNumberArrayPropertiesCount(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - java.util.List - getNumberArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( - int index); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getReferencesCount() > 0) { + hash = (37 * hash) + REFERENCES_FIELD_NUMBER; + hash = (53 * hash) + getReferencesList().hashCode(); + } + if (hasConsistencyLevel()) { + hash = (37 * hash) + CONSISTENCY_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + consistencyLevel_; + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - java.util.List - getIntArrayPropertiesList(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - int getIntArrayPropertiesCount(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - java.util.List - getIntArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - java.util.List - getTextArrayPropertiesList(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - int getTextArrayPropertiesCount(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - java.util.List - getTextArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - java.util.List - getBooleanArrayPropertiesList(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - int getBooleanArrayPropertiesCount(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - java.util.List - getBooleanArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( - int index); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - java.util.List - getObjectPropertiesList(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - int getObjectPropertiesCount(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - java.util.List - getObjectPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( - int index); + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - java.util.List - getObjectArrayPropertiesList(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - int getObjectArrayPropertiesCount(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - java.util.List - getObjectArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index); - - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @return A list containing the emptyListProps. - */ - java.util.List - getEmptyListPropsList(); - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @return The count of emptyListProps. - */ - int getEmptyListPropsCount(); - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @param index The index of the element to return. - * @return The emptyListProps at the given index. - */ - java.lang.String getEmptyListProps(int index); - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @param index The index of the value to return. - * @return The bytes of the emptyListProps at the given index. - */ - com.google.protobuf.ByteString - getEmptyListPropsBytes(int index); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } /** - * Protobuf type {@code weaviate.v1.BatchObject.Properties} + * Protobuf type {@code weaviate.v1.BatchReferencesRequest} */ - public static final class Properties extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.Properties) - PropertiesOrBuilder { - private static final long serialVersionUID = 0L; - // Use Properties.newBuilder() to construct. - private Properties(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Properties() { - singleTargetRefProps_ = java.util.Collections.emptyList(); - multiTargetRefProps_ = java.util.Collections.emptyList(); - numberArrayProperties_ = java.util.Collections.emptyList(); - intArrayProperties_ = java.util.Collections.emptyList(); - textArrayProperties_ = java.util.Collections.emptyList(); - booleanArrayProperties_ = java.util.Collections.emptyList(); - objectProperties_ = java.util.Collections.emptyList(); - objectArrayProperties_ = java.util.Collections.emptyList(); - emptyListProps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Properties(); - } - + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchReferencesRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.Builder.class); } - private int bitField0_; - public static final int NON_REF_PROPERTIES_FIELD_NUMBER = 1; - private com.google.protobuf.Struct nonRefProperties_; - /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return Whether the nonRefProperties field is set. - */ - @java.lang.Override - public boolean hasNonRefProperties() { - return ((bitField0_ & 0x00000001) != 0); + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.newBuilder() + private Builder() { + } - /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return The nonRefProperties. - */ - @java.lang.Override - public com.google.protobuf.Struct getNonRefProperties() { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * .google.protobuf.Struct non_ref_properties = 1; - */ @java.lang.Override - public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (referencesBuilder_ == null) { + references_ = java.util.Collections.emptyList(); + } else { + references_ = null; + referencesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + consistencyLevel_ = 0; + return this; } - public static final int SINGLE_TARGET_REF_PROPS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List singleTargetRefProps_; - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ @java.lang.Override - public java.util.List getSingleTargetRefPropsList() { - return singleTargetRefProps_; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesRequest_descriptor; } - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ + @java.lang.Override - public java.util.List - getSingleTargetRefPropsOrBuilderList() { - return singleTargetRefProps_; + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.getDefaultInstance(); } - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ + @java.lang.Override - public int getSingleTargetRefPropsCount() { - return singleTargetRefProps_.size(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ + @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index) { - return singleTargetRefProps_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( - int index) { - return singleTargetRefProps_.get(index); + + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest result) { + if (referencesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + references_ = java.util.Collections.unmodifiableList(references_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.references_ = references_; + } else { + result.references_ = referencesBuilder_.build(); + } } - public static final int MULTI_TARGET_REF_PROPS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List multiTargetRefProps_; - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ - @java.lang.Override - public java.util.List getMultiTargetRefPropsList() { - return multiTargetRefProps_; + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.consistencyLevel_ = consistencyLevel_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ + @java.lang.Override - public java.util.List - getMultiTargetRefPropsOrBuilderList() { - return multiTargetRefProps_; + public Builder clone() { + return super.clone(); } - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ @java.lang.Override - public int getMultiTargetRefPropsCount() { - return multiTargetRefProps_.size(); + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index) { - return multiTargetRefProps_.get(index); + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; - */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( - int index) { - return multiTargetRefProps_.get(index); + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - - public static final int NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List numberArrayProperties_; - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ @java.lang.Override - public java.util.List getNumberArrayPropertiesList() { - return numberArrayProperties_; + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ @java.lang.Override - public java.util.List - getNumberArrayPropertiesOrBuilderList() { - return numberArrayProperties_; + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ @java.lang.Override - public int getNumberArrayPropertiesCount() { - return numberArrayProperties_.size(); + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest)other); + } else { + super.mergeFrom(other); + return this; + } } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { - return numberArrayProperties_.get(index); + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest.getDefaultInstance()) return this; + if (referencesBuilder_ == null) { + if (!other.references_.isEmpty()) { + if (references_.isEmpty()) { + references_ = other.references_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReferencesIsMutable(); + references_.addAll(other.references_); + } + onChanged(); + } + } else { + if (!other.references_.isEmpty()) { + if (referencesBuilder_.isEmpty()) { + referencesBuilder_.dispose(); + referencesBuilder_ = null; + references_ = other.references_; + bitField0_ = (bitField0_ & ~0x00000001); + referencesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReferencesFieldBuilder() : null; + } else { + referencesBuilder_.addAllMessages(other.references_); + } + } + } + if (other.hasConsistencyLevel()) { + setConsistencyLevel(other.getConsistencyLevel()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; - */ + @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( - int index) { - return numberArrayProperties_.get(index); + public final boolean isInitialized() { + return true; } - public static final int INT_ARRAY_PROPERTIES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List intArrayProperties_; - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ @java.lang.Override - public java.util.List getIntArrayPropertiesList() { - return intArrayProperties_; + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.parser(), + extensionRegistry); + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + references_.add(m); + } else { + referencesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + consistencyLevel_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List references_ = + java.util.Collections.emptyList(); + private void ensureReferencesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + references_ = new java.util.ArrayList(references_); + bitField0_ |= 0x00000001; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder> referencesBuilder_; + /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List - getIntArrayPropertiesOrBuilderList() { - return intArrayProperties_; + public java.util.List getReferencesList() { + if (referencesBuilder_ == null) { + return java.util.Collections.unmodifiableList(references_); + } else { + return referencesBuilder_.getMessageList(); + } } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public int getIntArrayPropertiesCount() { - return intArrayProperties_.size(); + public int getReferencesCount() { + if (referencesBuilder_ == null) { + return references_.size(); + } else { + return referencesBuilder_.getCount(); + } } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { - return intArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getReferences(int index) { + if (referencesBuilder_ == null) { + return references_.get(index); + } else { + return referencesBuilder_.getMessage(index); + } } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index) { - return intArrayProperties_.get(index); + public Builder setReferences( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (referencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReferencesIsMutable(); + references_.set(index, value); + onChanged(); + } else { + referencesBuilder_.setMessage(index, value); + } + return this; } - - public static final int TEXT_ARRAY_PROPERTIES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") - private java.util.List textArrayProperties_; /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List getTextArrayPropertiesList() { - return textArrayProperties_; + public Builder setReferences( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + references_.set(index, builderForValue.build()); + onChanged(); + } else { + referencesBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List - getTextArrayPropertiesOrBuilderList() { - return textArrayProperties_; + public Builder addReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (referencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReferencesIsMutable(); + references_.add(value); + onChanged(); + } else { + referencesBuilder_.addMessage(value); + } + return this; } /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public int getTextArrayPropertiesCount() { - return textArrayProperties_.size(); + public Builder addReferences( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (referencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReferencesIsMutable(); + references_.add(index, value); + onChanged(); + } else { + referencesBuilder_.addMessage(index, value); + } + return this; } /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { - return textArrayProperties_.get(index); + public Builder addReferences( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + references_.add(builderForValue.build()); + onChanged(); + } else { + referencesBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index) { - return textArrayProperties_.get(index); + public Builder addReferences( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + references_.add(index, builderForValue.build()); + onChanged(); + } else { + referencesBuilder_.addMessage(index, builderForValue.build()); + } + return this; } - - public static final int BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private java.util.List booleanArrayProperties_; /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List getBooleanArrayPropertiesList() { - return booleanArrayProperties_; + public Builder addAllReferences( + java.lang.Iterable values) { + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, references_); + onChanged(); + } else { + referencesBuilder_.addAllMessages(values); + } + return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List - getBooleanArrayPropertiesOrBuilderList() { - return booleanArrayProperties_; + public Builder clearReferences() { + if (referencesBuilder_ == null) { + references_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + referencesBuilder_.clear(); + } + return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public int getBooleanArrayPropertiesCount() { - return booleanArrayProperties_.size(); + public Builder removeReferences(int index) { + if (referencesBuilder_ == null) { + ensureReferencesIsMutable(); + references_.remove(index); + onChanged(); + } else { + referencesBuilder_.remove(index); + } + return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { - return booleanArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder getReferencesBuilder( + int index) { + return getReferencesFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getReferencesOrBuilder( int index) { - return booleanArrayProperties_.get(index); + if (referencesBuilder_ == null) { + return references_.get(index); } else { + return referencesBuilder_.getMessageOrBuilder(index); + } } - - public static final int OBJECT_PROPERTIES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") - private java.util.List objectProperties_; /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List getObjectPropertiesList() { - return objectProperties_; + public java.util.List + getReferencesOrBuilderList() { + if (referencesBuilder_ != null) { + return referencesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(references_); + } } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public java.util.List - getObjectPropertiesOrBuilderList() { - return objectProperties_; + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder addReferencesBuilder() { + return getReferencesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance()); } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public int getObjectPropertiesCount() { - return objectProperties_.size(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder addReferencesBuilder( + int index) { + return getReferencesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance()); } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; + * repeated .weaviate.v1.BatchReference references = 1; */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { - return objectProperties_.get(index); + public java.util.List + getReferencesBuilderList() { + return getReferencesFieldBuilder().getBuilderList(); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( - int index) { - return objectProperties_.get(index); + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder> + getReferencesFieldBuilder() { + if (referencesBuilder_ == null) { + referencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder>( + references_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + references_ = null; + } + return referencesBuilder_; } - public static final int OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER = 9; - @SuppressWarnings("serial") - private java.util.List objectArrayProperties_; + private int consistencyLevel_ = 0; /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return Whether the consistencyLevel field is set. */ - @java.lang.Override - public java.util.List getObjectArrayPropertiesList() { - return objectArrayProperties_; + @java.lang.Override public boolean hasConsistencyLevel() { + return ((bitField0_ & 0x00000002) != 0); } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The enum numeric value on the wire for consistencyLevel. */ - @java.lang.Override - public java.util.List - getObjectArrayPropertiesOrBuilderList() { - return objectArrayProperties_; + @java.lang.Override public int getConsistencyLevelValue() { + return consistencyLevel_; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @param value The enum numeric value on the wire for consistencyLevel to set. + * @return This builder for chaining. */ - @java.lang.Override - public int getObjectArrayPropertiesCount() { - return objectArrayProperties_.size(); + public Builder setConsistencyLevelValue(int value) { + consistencyLevel_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return The consistencyLevel. */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { - return objectArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.forNumber(consistencyLevel_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.UNRECOGNIZED : result; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @param value The consistencyLevel to set. + * @return This builder for chaining. */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index) { - return objectArrayProperties_.get(index); + public Builder setConsistencyLevel(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + consistencyLevel_ = value.getNumber(); + onChanged(); + return this; } - - public static final int EMPTY_LIST_PROPS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList emptyListProps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @return A list containing the emptyListProps. + * optional .weaviate.v1.ConsistencyLevel consistency_level = 2; + * @return This builder for chaining. */ - public com.google.protobuf.ProtocolStringList - getEmptyListPropsList() { - return emptyListProps_; + public Builder clearConsistencyLevel() { + bitField0_ = (bitField0_ & ~0x00000002); + consistencyLevel_ = 0; + onChanged(); + return this; } - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @return The count of emptyListProps. - */ - public int getEmptyListPropsCount() { - return emptyListProps_.size(); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @param index The index of the element to return. - * @return The emptyListProps at the given index. - */ - public java.lang.String getEmptyListProps(int index) { - return emptyListProps_.get(index); + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - /** - *
-       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-       * Weaviate can get the datatype from its schema
-       * 
- * - * repeated string empty_list_props = 10; - * @param index The index of the value to return. - * @return The bytes of the emptyListProps at the given index. - */ - public com.google.protobuf.ByteString - getEmptyListPropsBytes(int index) { - return emptyListProps_.getByteString(index); + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchReferencesRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchReferencesRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchReferencesRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchSendRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchSendRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string stream_id = 1; + * @return The streamId. + */ + java.lang.String getStreamId(); + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + com.google.protobuf.ByteString + getStreamIdBytes(); + + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return Whether the objects field is set. + */ + boolean hasObjects(); + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return The objects. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getObjects(); + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder getObjectsOrBuilder(); + + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return Whether the references field is set. + */ + boolean hasReferences(); + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return The references. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getReferences(); + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder getReferencesOrBuilder(); + + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return Whether the stop field is set. + */ + boolean hasStop(); + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return The stop. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getStop(); + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder getStopOrBuilder(); + + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.MessageCase getMessageCase(); + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest} + */ + public static final class BatchSendRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchSendRequest) + BatchSendRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchSendRequest.newBuilder() to construct. + private BatchSendRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchSendRequest() { + streamId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchSendRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Builder.class); + } + + public interface StopOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchSendRequest.Stop) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest.Stop} + */ + public static final class Stop extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchSendRequest.Stop) + StopOrBuilder { + private static final long serialVersionUID = 0L; + // Use Stop.newBuilder() to construct. + private Stop(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Stop() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Stop(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Stop_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder.class); } private byte memoizedIsInitialized = -1; @@ -1837,36 +1996,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getNonRefProperties()); - } - for (int i = 0; i < singleTargetRefProps_.size(); i++) { - output.writeMessage(2, singleTargetRefProps_.get(i)); - } - for (int i = 0; i < multiTargetRefProps_.size(); i++) { - output.writeMessage(3, multiTargetRefProps_.get(i)); - } - for (int i = 0; i < numberArrayProperties_.size(); i++) { - output.writeMessage(4, numberArrayProperties_.get(i)); - } - for (int i = 0; i < intArrayProperties_.size(); i++) { - output.writeMessage(5, intArrayProperties_.get(i)); - } - for (int i = 0; i < textArrayProperties_.size(); i++) { - output.writeMessage(6, textArrayProperties_.get(i)); - } - for (int i = 0; i < booleanArrayProperties_.size(); i++) { - output.writeMessage(7, booleanArrayProperties_.get(i)); - } - for (int i = 0; i < objectProperties_.size(); i++) { - output.writeMessage(8, objectProperties_.get(i)); - } - for (int i = 0; i < objectArrayProperties_.size(); i++) { - output.writeMessage(9, objectArrayProperties_.get(i)); - } - for (int i = 0; i < emptyListProps_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, emptyListProps_.getRaw(i)); - } getUnknownFields().writeTo(output); } @@ -1876,50 +2005,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNonRefProperties()); - } - for (int i = 0; i < singleTargetRefProps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, singleTargetRefProps_.get(i)); - } - for (int i = 0; i < multiTargetRefProps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, multiTargetRefProps_.get(i)); - } - for (int i = 0; i < numberArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, numberArrayProperties_.get(i)); - } - for (int i = 0; i < intArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, intArrayProperties_.get(i)); - } - for (int i = 0; i < textArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, textArrayProperties_.get(i)); - } - for (int i = 0; i < booleanArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, booleanArrayProperties_.get(i)); - } - for (int i = 0; i < objectProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, objectProperties_.get(i)); - } - for (int i = 0; i < objectArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, objectArrayProperties_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < emptyListProps_.size(); i++) { - dataSize += computeStringSizeNoTag(emptyListProps_.getRaw(i)); - } - size += dataSize; - size += 1 * getEmptyListPropsList().size(); - } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1930,34 +2015,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties)) { + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop)) { return super.equals(obj); } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties) obj; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) obj; - if (hasNonRefProperties() != other.hasNonRefProperties()) return false; - if (hasNonRefProperties()) { - if (!getNonRefProperties() - .equals(other.getNonRefProperties())) return false; - } - if (!getSingleTargetRefPropsList() - .equals(other.getSingleTargetRefPropsList())) return false; - if (!getMultiTargetRefPropsList() - .equals(other.getMultiTargetRefPropsList())) return false; - if (!getNumberArrayPropertiesList() - .equals(other.getNumberArrayPropertiesList())) return false; - if (!getIntArrayPropertiesList() - .equals(other.getIntArrayPropertiesList())) return false; - if (!getTextArrayPropertiesList() - .equals(other.getTextArrayPropertiesList())) return false; - if (!getBooleanArrayPropertiesList() - .equals(other.getBooleanArrayPropertiesList())) return false; - if (!getObjectPropertiesList() - .equals(other.getObjectPropertiesList())) return false; - if (!getObjectArrayPropertiesList() - .equals(other.getObjectArrayPropertiesList())) return false; - if (!getEmptyListPropsList() - .equals(other.getEmptyListPropsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1969,89 +2031,49 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNonRefProperties()) { - hash = (37 * hash) + NON_REF_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getNonRefProperties().hashCode(); - } - if (getSingleTargetRefPropsCount() > 0) { - hash = (37 * hash) + SINGLE_TARGET_REF_PROPS_FIELD_NUMBER; - hash = (53 * hash) + getSingleTargetRefPropsList().hashCode(); - } - if (getMultiTargetRefPropsCount() > 0) { - hash = (37 * hash) + MULTI_TARGET_REF_PROPS_FIELD_NUMBER; - hash = (53 * hash) + getMultiTargetRefPropsList().hashCode(); - } - if (getNumberArrayPropertiesCount() > 0) { - hash = (37 * hash) + NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getNumberArrayPropertiesList().hashCode(); - } - if (getIntArrayPropertiesCount() > 0) { - hash = (37 * hash) + INT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getIntArrayPropertiesList().hashCode(); - } - if (getTextArrayPropertiesCount() > 0) { - hash = (37 * hash) + TEXT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getTextArrayPropertiesList().hashCode(); - } - if (getBooleanArrayPropertiesCount() > 0) { - hash = (37 * hash) + BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getBooleanArrayPropertiesList().hashCode(); - } - if (getObjectPropertiesCount() > 0) { - hash = (37 * hash) + OBJECT_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getObjectPropertiesList().hashCode(); - } - if (getObjectArrayPropertiesCount() > 0) { - hash = (37 * hash) + OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getObjectArrayPropertiesList().hashCode(); - } - if (getEmptyListPropsCount() > 0) { - hash = (37 * hash) + EMPTY_LIST_PROPS_FIELD_NUMBER; - hash = (53 * hash) + getEmptyListPropsList().hashCode(); - } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom(byte[] data) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2059,26 +2081,26 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseDelimitedFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseDelimitedFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -2091,7 +2113,7 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties prototype) { + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -2107,133 +2129,55 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code weaviate.v1.BatchObject.Properties} + * Protobuf type {@code weaviate.v1.BatchSendRequest.Stop} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.Properties) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder { + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchSendRequest.Stop) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Stop_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder.class); } - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.newBuilder() + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.newBuilder() private Builder() { - maybeForceBuilderInitialization(); + } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNonRefPropertiesFieldBuilder(); - getSingleTargetRefPropsFieldBuilder(); - getMultiTargetRefPropsFieldBuilder(); - getNumberArrayPropertiesFieldBuilder(); - getIntArrayPropertiesFieldBuilder(); - getTextArrayPropertiesFieldBuilder(); - getBooleanArrayPropertiesFieldBuilder(); - getObjectPropertiesFieldBuilder(); - getObjectArrayPropertiesFieldBuilder(); - } + } @java.lang.Override public Builder clear() { super.clear(); - bitField0_ = 0; - nonRefProperties_ = null; - if (nonRefPropertiesBuilder_ != null) { - nonRefPropertiesBuilder_.dispose(); - nonRefPropertiesBuilder_ = null; - } - if (singleTargetRefPropsBuilder_ == null) { - singleTargetRefProps_ = java.util.Collections.emptyList(); - } else { - singleTargetRefProps_ = null; - singleTargetRefPropsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (multiTargetRefPropsBuilder_ == null) { - multiTargetRefProps_ = java.util.Collections.emptyList(); - } else { - multiTargetRefProps_ = null; - multiTargetRefPropsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (numberArrayPropertiesBuilder_ == null) { - numberArrayProperties_ = java.util.Collections.emptyList(); - } else { - numberArrayProperties_ = null; - numberArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (intArrayPropertiesBuilder_ == null) { - intArrayProperties_ = java.util.Collections.emptyList(); - } else { - intArrayProperties_ = null; - intArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - if (textArrayPropertiesBuilder_ == null) { - textArrayProperties_ = java.util.Collections.emptyList(); - } else { - textArrayProperties_ = null; - textArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayProperties_ = java.util.Collections.emptyList(); - } else { - booleanArrayProperties_ = null; - booleanArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - if (objectPropertiesBuilder_ == null) { - objectProperties_ = java.util.Collections.emptyList(); - } else { - objectProperties_ = null; - objectPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - if (objectArrayPropertiesBuilder_ == null) { - objectArrayProperties_ = java.util.Collections.emptyList(); - } else { - objectArrayProperties_ = null; - objectArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - emptyListProps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result = buildPartial(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2241,105 +2185,12 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop(this); onBuilt(); return result; } - private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result) { - if (singleTargetRefPropsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - singleTargetRefProps_ = java.util.Collections.unmodifiableList(singleTargetRefProps_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.singleTargetRefProps_ = singleTargetRefProps_; - } else { - result.singleTargetRefProps_ = singleTargetRefPropsBuilder_.build(); - } - if (multiTargetRefPropsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - multiTargetRefProps_ = java.util.Collections.unmodifiableList(multiTargetRefProps_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.multiTargetRefProps_ = multiTargetRefProps_; - } else { - result.multiTargetRefProps_ = multiTargetRefPropsBuilder_.build(); - } - if (numberArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - numberArrayProperties_ = java.util.Collections.unmodifiableList(numberArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.numberArrayProperties_ = numberArrayProperties_; - } else { - result.numberArrayProperties_ = numberArrayPropertiesBuilder_.build(); - } - if (intArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - intArrayProperties_ = java.util.Collections.unmodifiableList(intArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.intArrayProperties_ = intArrayProperties_; - } else { - result.intArrayProperties_ = intArrayPropertiesBuilder_.build(); - } - if (textArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - textArrayProperties_ = java.util.Collections.unmodifiableList(textArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.textArrayProperties_ = textArrayProperties_; - } else { - result.textArrayProperties_ = textArrayPropertiesBuilder_.build(); - } - if (booleanArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - booleanArrayProperties_ = java.util.Collections.unmodifiableList(booleanArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.booleanArrayProperties_ = booleanArrayProperties_; - } else { - result.booleanArrayProperties_ = booleanArrayPropertiesBuilder_.build(); - } - if (objectPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { - objectProperties_ = java.util.Collections.unmodifiableList(objectProperties_); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.objectProperties_ = objectProperties_; - } else { - result.objectProperties_ = objectPropertiesBuilder_.build(); - } - if (objectArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { - objectArrayProperties_ = java.util.Collections.unmodifiableList(objectArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.objectArrayProperties_ = objectArrayProperties_; - } else { - result.objectArrayProperties_ = objectArrayPropertiesBuilder_.build(); - } - } - - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nonRefProperties_ = nonRefPropertiesBuilder_ == null - ? nonRefProperties_ - : nonRefPropertiesBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - emptyListProps_.makeImmutable(); - result.emptyListProps_ = emptyListProps_; - } - result.bitField0_ |= to_bitField0_; - } - @java.lang.Override public Builder clone() { return super.clone(); @@ -2374,111 +2225,9894 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties)other); + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance()) return this; - if (other.hasNonRefProperties()) { - mergeNonRefProperties(other.getNonRefProperties()); - } - if (singleTargetRefPropsBuilder_ == null) { - if (!other.singleTargetRefProps_.isEmpty()) { - if (singleTargetRefProps_.isEmpty()) { - singleTargetRefProps_ = other.singleTargetRefProps_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.addAll(other.singleTargetRefProps_); - } - onChanged(); - } - } else { - if (!other.singleTargetRefProps_.isEmpty()) { - if (singleTargetRefPropsBuilder_.isEmpty()) { - singleTargetRefPropsBuilder_.dispose(); - singleTargetRefPropsBuilder_ = null; - singleTargetRefProps_ = other.singleTargetRefProps_; - bitField0_ = (bitField0_ & ~0x00000002); - singleTargetRefPropsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSingleTargetRefPropsFieldBuilder() : null; - } else { - singleTargetRefPropsBuilder_.addAllMessages(other.singleTargetRefProps_); - } - } - } - if (multiTargetRefPropsBuilder_ == null) { - if (!other.multiTargetRefProps_.isEmpty()) { - if (multiTargetRefProps_.isEmpty()) { - multiTargetRefProps_ = other.multiTargetRefProps_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.addAll(other.multiTargetRefProps_); - } - onChanged(); - } - } else { - if (!other.multiTargetRefProps_.isEmpty()) { - if (multiTargetRefPropsBuilder_.isEmpty()) { - multiTargetRefPropsBuilder_.dispose(); - multiTargetRefPropsBuilder_ = null; - multiTargetRefProps_ = other.multiTargetRefProps_; - bitField0_ = (bitField0_ & ~0x00000004); - multiTargetRefPropsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMultiTargetRefPropsFieldBuilder() : null; - } else { - multiTargetRefPropsBuilder_.addAllMessages(other.multiTargetRefProps_); - } - } + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - if (numberArrayPropertiesBuilder_ == null) { - if (!other.numberArrayProperties_.isEmpty()) { - if (numberArrayProperties_.isEmpty()) { - numberArrayProperties_ = other.numberArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.addAll(other.numberArrayProperties_); - } - onChanged(); - } - } else { - if (!other.numberArrayProperties_.isEmpty()) { - if (numberArrayPropertiesBuilder_.isEmpty()) { - numberArrayPropertiesBuilder_.dispose(); - numberArrayPropertiesBuilder_ = null; - numberArrayProperties_ = other.numberArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000008); - numberArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNumberArrayPropertiesFieldBuilder() : null; - } else { - numberArrayPropertiesBuilder_.addAllMessages(other.numberArrayProperties_); - } - } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchSendRequest.Stop) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchSendRequest.Stop) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stop 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()); } - if (intArrayPropertiesBuilder_ == null) { - if (!other.intArrayProperties_.isEmpty()) { - if (intArrayProperties_.isEmpty()) { - intArrayProperties_ = other.intArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.addAll(other.intArrayProperties_); - } - onChanged(); - } - } else { - if (!other.intArrayProperties_.isEmpty()) { - if (intArrayPropertiesBuilder_.isEmpty()) { + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ObjectsOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchSendRequest.Objects) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + java.util.List + getValuesList(); + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getValues(int index); + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + int getValuesCount(); + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + java.util.List + getValuesOrBuilderList(); + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder getValuesOrBuilder( + int index); + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest.Objects} + */ + public static final class Objects extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchSendRequest.Objects) + ObjectsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Objects.newBuilder() to construct. + private Objects(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Objects() { + values_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Objects(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Objects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List values_; + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + @java.lang.Override + public java.util.List getValuesList() { + return values_; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + @java.lang.Override + public java.util.List + getValuesOrBuilderList() { + return values_; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + @java.lang.Override + public int getValuesCount() { + return values_.size(); + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getValues(int index) { + return values_.get(index); + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder getValuesOrBuilder( + int index) { + return values_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < values_.size(); i++) { + output.writeMessage(1, values_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < values_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) obj; + + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest.Objects} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchSendRequest.Objects) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Objects_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + } else { + values_ = null; + valuesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects result) { + if (valuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + values_ = java.util.Collections.unmodifiableList(values_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } else { + result.values_ = valuesBuilder_.build(); + } + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance()) return this; + if (valuesBuilder_ == null) { + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + } else { + if (!other.values_.isEmpty()) { + if (valuesBuilder_.isEmpty()) { + valuesBuilder_.dispose(); + valuesBuilder_ = null; + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; + } else { + valuesBuilder_.addAllMessages(other.values_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List values_ = + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(values_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder> valuesBuilder_; + + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public java.util.List getValuesList() { + if (valuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(values_); + } else { + return valuesBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public int getValuesCount() { + if (valuesBuilder_ == null) { + return values_.size(); + } else { + return valuesBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getValues(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder setValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.set(index, value); + onChanged(); + } else { + valuesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder setValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.set(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder addValues(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); + onChanged(); + } else { + valuesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder addValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(index, value); + onChanged(); + } else { + valuesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder addValues( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder addValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder addAllValues( + java.lang.Iterable values) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); + onChanged(); + } else { + valuesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder clearValues() { + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + valuesBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public Builder removeValues(int index) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.remove(index); + onChanged(); + } else { + valuesBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder getValuesBuilder( + int index) { + return getValuesFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder getValuesOrBuilder( + int index) { + if (valuesBuilder_ == null) { + return values_.get(index); } else { + return valuesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public java.util.List + getValuesOrBuilderList() { + if (valuesBuilder_ != null) { + return valuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(values_); + } + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder addValuesBuilder() { + return getValuesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject values = 1; + */ + public java.util.List + getValuesBuilderList() { + return getValuesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder> + getValuesFieldBuilder() { + if (valuesBuilder_ == null) { + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + values_ = null; + } + return valuesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchSendRequest.Objects) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchSendRequest.Objects) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Objects 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReferencesOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchSendRequest.References) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + java.util.List + getValuesList(); + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getValues(int index); + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + int getValuesCount(); + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + java.util.List + getValuesOrBuilderList(); + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getValuesOrBuilder( + int index); + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest.References} + */ + public static final class References extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchSendRequest.References) + ReferencesOrBuilder { + private static final long serialVersionUID = 0L; + // Use References.newBuilder() to construct. + private References(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private References() { + values_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new References(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_References_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_References_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder.class); + } + + public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List values_; + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + @java.lang.Override + public java.util.List getValuesList() { + return values_; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + @java.lang.Override + public java.util.List + getValuesOrBuilderList() { + return values_; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + @java.lang.Override + public int getValuesCount() { + return values_.size(); + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getValues(int index) { + return values_.get(index); + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getValuesOrBuilder( + int index) { + return values_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < values_.size(); i++) { + output.writeMessage(1, values_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < values_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) obj; + + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest.References} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchSendRequest.References) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_References_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_References_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + } else { + values_ = null; + valuesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_References_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References result) { + if (valuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + values_ = java.util.Collections.unmodifiableList(values_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } else { + result.values_ = valuesBuilder_.build(); + } + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance()) return this; + if (valuesBuilder_ == null) { + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + } else { + if (!other.values_.isEmpty()) { + if (valuesBuilder_.isEmpty()) { + valuesBuilder_.dispose(); + valuesBuilder_ = null; + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; + } else { + valuesBuilder_.addAllMessages(other.values_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List values_ = + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(values_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder> valuesBuilder_; + + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public java.util.List getValuesList() { + if (valuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(values_); + } else { + return valuesBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public int getValuesCount() { + if (valuesBuilder_ == null) { + return values_.size(); + } else { + return valuesBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getValues(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder setValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.set(index, value); + onChanged(); + } else { + valuesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder setValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.set(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder addValues(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); + onChanged(); + } else { + valuesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder addValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(index, value); + onChanged(); + } else { + valuesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder addValues( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder addValues( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder addAllValues( + java.lang.Iterable values) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); + onChanged(); + } else { + valuesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder clearValues() { + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + valuesBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public Builder removeValues(int index) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.remove(index); + onChanged(); + } else { + valuesBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder getValuesBuilder( + int index) { + return getValuesFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder getValuesOrBuilder( + int index) { + if (valuesBuilder_ == null) { + return values_.get(index); } else { + return valuesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public java.util.List + getValuesOrBuilderList() { + if (valuesBuilder_ != null) { + return valuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(values_); + } + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder addValuesBuilder() { + return getValuesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchReference values = 1; + */ + public java.util.List + getValuesBuilderList() { + return getValuesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder> + getValuesFieldBuilder() { + if (valuesBuilder_ == null) { + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + values_ = null; + } + return valuesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchSendRequest.References) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchSendRequest.References) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public References 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int messageCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object message_; + public enum MessageCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + OBJECTS(2), + REFERENCES(3), + STOP(4), + MESSAGE_NOT_SET(0); + private final int value; + private MessageCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageCase valueOf(int value) { + return forNumber(value); + } + + public static MessageCase forNumber(int value) { + switch (value) { + case 2: return OBJECTS; + case 3: return REFERENCES; + case 4: return STOP; + case 0: return MESSAGE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public static final int STREAM_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object streamId_ = ""; + /** + * string stream_id = 1; + * @return The streamId. + */ + @java.lang.Override + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } + } + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OBJECTS_FIELD_NUMBER = 2; + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return Whether the objects field is set. + */ + @java.lang.Override + public boolean hasObjects() { + return messageCase_ == 2; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return The objects. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getObjects() { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder getObjectsOrBuilder() { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + + public static final int REFERENCES_FIELD_NUMBER = 3; + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return Whether the references field is set. + */ + @java.lang.Override + public boolean hasReferences() { + return messageCase_ == 3; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return The references. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getReferences() { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder getReferencesOrBuilder() { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + + public static final int STOP_FIELD_NUMBER = 4; + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return Whether the stop field is set. + */ + @java.lang.Override + public boolean hasStop() { + return messageCase_ == 4; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return The stop. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getStop() { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder getStopOrBuilder() { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_); + } + if (messageCase_ == 2) { + output.writeMessage(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_); + } + if (messageCase_ == 3) { + output.writeMessage(3, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_); + } + if (messageCase_ == 4) { + output.writeMessage(4, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_); + } + if (messageCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_); + } + if (messageCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_); + } + if (messageCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest) obj; + + if (!getStreamId() + .equals(other.getStreamId())) return false; + if (!getMessageCase().equals(other.getMessageCase())) return false; + switch (messageCase_) { + case 2: + if (!getObjects() + .equals(other.getObjects())) return false; + break; + case 3: + if (!getReferences() + .equals(other.getReferences())) return false; + break; + case 4: + if (!getStop() + .equals(other.getStop())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; + hash = (53 * hash) + getStreamId().hashCode(); + switch (messageCase_) { + case 2: + hash = (37 * hash) + OBJECTS_FIELD_NUMBER; + hash = (53 * hash) + getObjects().hashCode(); + break; + case 3: + hash = (37 * hash) + REFERENCES_FIELD_NUMBER; + hash = (53 * hash) + getReferences().hashCode(); + break; + case 4: + hash = (37 * hash) + STOP_FIELD_NUMBER; + hash = (53 * hash) + getStop().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchSendRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchSendRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + streamId_ = ""; + if (objectsBuilder_ != null) { + objectsBuilder_.clear(); + } + if (referencesBuilder_ != null) { + referencesBuilder_.clear(); + } + if (stopBuilder_ != null) { + stopBuilder_.clear(); + } + messageCase_ = 0; + message_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.streamId_ = streamId_; + } + } + + private void buildPartialOneofs(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest result) { + result.messageCase_ = messageCase_; + result.message_ = this.message_; + if (messageCase_ == 2 && + objectsBuilder_ != null) { + result.message_ = objectsBuilder_.build(); + } + if (messageCase_ == 3 && + referencesBuilder_ != null) { + result.message_ = referencesBuilder_.build(); + } + if (messageCase_ == 4 && + stopBuilder_ != null) { + result.message_ = stopBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.getDefaultInstance()) return this; + if (!other.getStreamId().isEmpty()) { + streamId_ = other.streamId_; + bitField0_ |= 0x00000001; + onChanged(); + } + switch (other.getMessageCase()) { + case OBJECTS: { + mergeObjects(other.getObjects()); + break; + } + case REFERENCES: { + mergeReferences(other.getReferences()); + break; + } + case STOP: { + mergeStop(other.getStop()); + break; + } + case MESSAGE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + streamId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getObjectsFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getReferencesFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getStopFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 4; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int messageCase_ = 0; + private java.lang.Object message_; + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public Builder clearMessage() { + messageCase_ = 0; + message_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object streamId_ = ""; + /** + * string stream_id = 1; + * @return The streamId. + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + public com.google.protobuf.ByteString + getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string stream_id = 1; + * @param value The streamId to set. + * @return This builder for chaining. + */ + public Builder setStreamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + streamId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string stream_id = 1; + * @return This builder for chaining. + */ + public Builder clearStreamId() { + streamId_ = getDefaultInstance().getStreamId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string stream_id = 1; + * @param value The bytes for streamId to set. + * @return This builder for chaining. + */ + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + streamId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder> objectsBuilder_; + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return Whether the objects field is set. + */ + @java.lang.Override + public boolean hasObjects() { + return messageCase_ == 2; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + * @return The objects. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects getObjects() { + if (objectsBuilder_ == null) { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } else { + if (messageCase_ == 2) { + return objectsBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + public Builder setObjects(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects value) { + if (objectsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + objectsBuilder_.setMessage(value); + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + public Builder setObjects( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder builderForValue) { + if (objectsBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + objectsBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + public Builder mergeObjects(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects value) { + if (objectsBuilder_ == null) { + if (messageCase_ == 2 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 2) { + objectsBuilder_.mergeFrom(value); + } else { + objectsBuilder_.setMessage(value); + } + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + public Builder clearObjects() { + if (objectsBuilder_ == null) { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + } + objectsBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder getObjectsBuilder() { + return getObjectsFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder getObjectsOrBuilder() { + if ((messageCase_ == 2) && (objectsBuilder_ != null)) { + return objectsBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.Objects objects = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder> + getObjectsFieldBuilder() { + if (objectsBuilder_ == null) { + if (!(messageCase_ == 2)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.getDefaultInstance(); + } + objectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ObjectsOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Objects) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 2; + onChanged(); + return objectsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder> referencesBuilder_; + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return Whether the references field is set. + */ + @java.lang.Override + public boolean hasReferences() { + return messageCase_ == 3; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + * @return The references. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References getReferences() { + if (referencesBuilder_ == null) { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } else { + if (messageCase_ == 3) { + return referencesBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + public Builder setReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References value) { + if (referencesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + referencesBuilder_.setMessage(value); + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + public Builder setReferences( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder builderForValue) { + if (referencesBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + referencesBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + public Builder mergeReferences(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References value) { + if (referencesBuilder_ == null) { + if (messageCase_ == 3 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 3) { + referencesBuilder_.mergeFrom(value); + } else { + referencesBuilder_.setMessage(value); + } + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + public Builder clearReferences() { + if (referencesBuilder_ == null) { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + } + referencesBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder getReferencesBuilder() { + return getReferencesFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder getReferencesOrBuilder() { + if ((messageCase_ == 3) && (referencesBuilder_ != null)) { + return referencesBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.References references = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder> + getReferencesFieldBuilder() { + if (referencesBuilder_ == null) { + if (!(messageCase_ == 3)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.getDefaultInstance(); + } + referencesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.ReferencesOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.References) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 3; + onChanged(); + return referencesBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder> stopBuilder_; + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return Whether the stop field is set. + */ + @java.lang.Override + public boolean hasStop() { + return messageCase_ == 4; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + * @return The stop. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop getStop() { + if (stopBuilder_ == null) { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } else { + if (messageCase_ == 4) { + return stopBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + public Builder setStop(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop value) { + if (stopBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + stopBuilder_.setMessage(value); + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + public Builder setStop( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder builderForValue) { + if (stopBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + stopBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + public Builder mergeStop(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop value) { + if (stopBuilder_ == null) { + if (messageCase_ == 4 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 4) { + stopBuilder_.mergeFrom(value); + } else { + stopBuilder_.setMessage(value); + } + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + public Builder clearStop() { + if (stopBuilder_ == null) { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + } + stopBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder getStopBuilder() { + return getStopFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder getStopOrBuilder() { + if ((messageCase_ == 4) && (stopBuilder_ != null)) { + return stopBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchSendRequest.Stop stop = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder> + getStopFieldBuilder() { + if (stopBuilder_ == null) { + if (!(messageCase_ == 4)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.getDefaultInstance(); + } + stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.StopOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest.Stop) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 4; + onChanged(); + return stopBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchSendRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchSendRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchSendRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchSendReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchSendReply) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 next_batch_size = 1; + * @return The nextBatchSize. + */ + int getNextBatchSize(); + + /** + * float backoff_seconds = 2; + * @return The backoffSeconds. + */ + float getBackoffSeconds(); + } + /** + * Protobuf type {@code weaviate.v1.BatchSendReply} + */ + public static final class BatchSendReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchSendReply) + BatchSendReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchSendReply.newBuilder() to construct. + private BatchSendReply(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchSendReply() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchSendReply(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.Builder.class); + } + + public static final int NEXT_BATCH_SIZE_FIELD_NUMBER = 1; + private int nextBatchSize_ = 0; + /** + * int32 next_batch_size = 1; + * @return The nextBatchSize. + */ + @java.lang.Override + public int getNextBatchSize() { + return nextBatchSize_; + } + + public static final int BACKOFF_SECONDS_FIELD_NUMBER = 2; + private float backoffSeconds_ = 0F; + /** + * float backoff_seconds = 2; + * @return The backoffSeconds. + */ + @java.lang.Override + public float getBackoffSeconds() { + return backoffSeconds_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (nextBatchSize_ != 0) { + output.writeInt32(1, nextBatchSize_); + } + if (java.lang.Float.floatToRawIntBits(backoffSeconds_) != 0) { + output.writeFloat(2, backoffSeconds_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (nextBatchSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nextBatchSize_); + } + if (java.lang.Float.floatToRawIntBits(backoffSeconds_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, backoffSeconds_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply) obj; + + if (getNextBatchSize() + != other.getNextBatchSize()) return false; + if (java.lang.Float.floatToIntBits(getBackoffSeconds()) + != java.lang.Float.floatToIntBits( + other.getBackoffSeconds())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NEXT_BATCH_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getNextBatchSize(); + hash = (37 * hash) + BACKOFF_SECONDS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBackoffSeconds()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchSendReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchSendReply) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nextBatchSize_ = 0; + backoffSeconds_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchSendReply_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nextBatchSize_ = nextBatchSize_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.backoffSeconds_ = backoffSeconds_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply.getDefaultInstance()) return this; + if (other.getNextBatchSize() != 0) { + setNextBatchSize(other.getNextBatchSize()); + } + if (other.getBackoffSeconds() != 0F) { + setBackoffSeconds(other.getBackoffSeconds()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + nextBatchSize_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 21: { + backoffSeconds_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int nextBatchSize_ ; + /** + * int32 next_batch_size = 1; + * @return The nextBatchSize. + */ + @java.lang.Override + public int getNextBatchSize() { + return nextBatchSize_; + } + /** + * int32 next_batch_size = 1; + * @param value The nextBatchSize to set. + * @return This builder for chaining. + */ + public Builder setNextBatchSize(int value) { + + nextBatchSize_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * int32 next_batch_size = 1; + * @return This builder for chaining. + */ + public Builder clearNextBatchSize() { + bitField0_ = (bitField0_ & ~0x00000001); + nextBatchSize_ = 0; + onChanged(); + return this; + } + + private float backoffSeconds_ ; + /** + * float backoff_seconds = 2; + * @return The backoffSeconds. + */ + @java.lang.Override + public float getBackoffSeconds() { + return backoffSeconds_; + } + /** + * float backoff_seconds = 2; + * @param value The backoffSeconds to set. + * @return This builder for chaining. + */ + public Builder setBackoffSeconds(float value) { + + backoffSeconds_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * float backoff_seconds = 2; + * @return This builder for chaining. + */ + public Builder clearBackoffSeconds() { + bitField0_ = (bitField0_ & ~0x00000002); + backoffSeconds_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchSendReply) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchSendReply) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchSendReply 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchSendReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return Whether the consistencyLevel field is set. + */ + boolean hasConsistencyLevel(); + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The enum numeric value on the wire for consistencyLevel. + */ + int getConsistencyLevelValue(); + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The consistencyLevel. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel(); + + /** + * optional int32 object_index = 2; + * @return Whether the objectIndex field is set. + */ + boolean hasObjectIndex(); + /** + * optional int32 object_index = 2; + * @return The objectIndex. + */ + int getObjectIndex(); + + /** + * optional int32 reference_index = 3; + * @return Whether the referenceIndex field is set. + */ + boolean hasReferenceIndex(); + /** + * optional int32 reference_index = 3; + * @return The referenceIndex. + */ + int getReferenceIndex(); + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamRequest} + */ + public static final class BatchStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamRequest) + BatchStreamRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchStreamRequest.newBuilder() to construct. + private BatchStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchStreamRequest() { + consistencyLevel_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchStreamRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.Builder.class); + } + + private int bitField0_; + public static final int CONSISTENCY_LEVEL_FIELD_NUMBER = 1; + private int consistencyLevel_ = 0; + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return Whether the consistencyLevel field is set. + */ + @java.lang.Override public boolean hasConsistencyLevel() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The enum numeric value on the wire for consistencyLevel. + */ + @java.lang.Override public int getConsistencyLevelValue() { + return consistencyLevel_; + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The consistencyLevel. + */ + @java.lang.Override public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.forNumber(consistencyLevel_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.UNRECOGNIZED : result; + } + + public static final int OBJECT_INDEX_FIELD_NUMBER = 2; + private int objectIndex_ = 0; + /** + * optional int32 object_index = 2; + * @return Whether the objectIndex field is set. + */ + @java.lang.Override + public boolean hasObjectIndex() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional int32 object_index = 2; + * @return The objectIndex. + */ + @java.lang.Override + public int getObjectIndex() { + return objectIndex_; + } + + public static final int REFERENCE_INDEX_FIELD_NUMBER = 3; + private int referenceIndex_ = 0; + /** + * optional int32 reference_index = 3; + * @return Whether the referenceIndex field is set. + */ + @java.lang.Override + public boolean hasReferenceIndex() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional int32 reference_index = 3; + * @return The referenceIndex. + */ + @java.lang.Override + public int getReferenceIndex() { + return referenceIndex_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, consistencyLevel_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, objectIndex_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(3, referenceIndex_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, consistencyLevel_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, objectIndex_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, referenceIndex_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest) obj; + + if (hasConsistencyLevel() != other.hasConsistencyLevel()) return false; + if (hasConsistencyLevel()) { + if (consistencyLevel_ != other.consistencyLevel_) return false; + } + if (hasObjectIndex() != other.hasObjectIndex()) return false; + if (hasObjectIndex()) { + if (getObjectIndex() + != other.getObjectIndex()) return false; + } + if (hasReferenceIndex() != other.hasReferenceIndex()) return false; + if (hasReferenceIndex()) { + if (getReferenceIndex() + != other.getReferenceIndex()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasConsistencyLevel()) { + hash = (37 * hash) + CONSISTENCY_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + consistencyLevel_; + } + if (hasObjectIndex()) { + hash = (37 * hash) + OBJECT_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getObjectIndex(); + } + if (hasReferenceIndex()) { + hash = (37 * hash) + REFERENCE_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getReferenceIndex(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + consistencyLevel_ = 0; + objectIndex_ = 0; + referenceIndex_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.consistencyLevel_ = consistencyLevel_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.objectIndex_ = objectIndex_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.referenceIndex_ = referenceIndex_; + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest.getDefaultInstance()) return this; + if (other.hasConsistencyLevel()) { + setConsistencyLevel(other.getConsistencyLevel()); + } + if (other.hasObjectIndex()) { + setObjectIndex(other.getObjectIndex()); + } + if (other.hasReferenceIndex()) { + setReferenceIndex(other.getReferenceIndex()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + consistencyLevel_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + objectIndex_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + referenceIndex_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int consistencyLevel_ = 0; + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return Whether the consistencyLevel field is set. + */ + @java.lang.Override public boolean hasConsistencyLevel() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The enum numeric value on the wire for consistencyLevel. + */ + @java.lang.Override public int getConsistencyLevelValue() { + return consistencyLevel_; + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @param value The enum numeric value on the wire for consistencyLevel to set. + * @return This builder for chaining. + */ + public Builder setConsistencyLevelValue(int value) { + consistencyLevel_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return The consistencyLevel. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel getConsistencyLevel() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.forNumber(consistencyLevel_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel.UNRECOGNIZED : result; + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @param value The consistencyLevel to set. + * @return This builder for chaining. + */ + public Builder setConsistencyLevel(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ConsistencyLevel value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + consistencyLevel_ = value.getNumber(); + onChanged(); + return this; + } + /** + * optional .weaviate.v1.ConsistencyLevel consistency_level = 1; + * @return This builder for chaining. + */ + public Builder clearConsistencyLevel() { + bitField0_ = (bitField0_ & ~0x00000001); + consistencyLevel_ = 0; + onChanged(); + return this; + } + + private int objectIndex_ ; + /** + * optional int32 object_index = 2; + * @return Whether the objectIndex field is set. + */ + @java.lang.Override + public boolean hasObjectIndex() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional int32 object_index = 2; + * @return The objectIndex. + */ + @java.lang.Override + public int getObjectIndex() { + return objectIndex_; + } + /** + * optional int32 object_index = 2; + * @param value The objectIndex to set. + * @return This builder for chaining. + */ + public Builder setObjectIndex(int value) { + + objectIndex_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * optional int32 object_index = 2; + * @return This builder for chaining. + */ + public Builder clearObjectIndex() { + bitField0_ = (bitField0_ & ~0x00000002); + objectIndex_ = 0; + onChanged(); + return this; + } + + private int referenceIndex_ ; + /** + * optional int32 reference_index = 3; + * @return Whether the referenceIndex field is set. + */ + @java.lang.Override + public boolean hasReferenceIndex() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional int32 reference_index = 3; + * @return The referenceIndex. + */ + @java.lang.Override + public int getReferenceIndex() { + return referenceIndex_; + } + /** + * optional int32 reference_index = 3; + * @param value The referenceIndex to set. + * @return This builder for chaining. + */ + public Builder setReferenceIndex(int value) { + + referenceIndex_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * optional int32 reference_index = 3; + * @return This builder for chaining. + */ + public Builder clearReferenceIndex() { + bitField0_ = (bitField0_ & ~0x00000004); + referenceIndex_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchStreamRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchStreamMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * string stream_id = 1; + * @return The streamId. + */ + java.lang.String getStreamId(); + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + com.google.protobuf.ByteString + getStreamIdBytes(); + + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return Whether the error field is set. + */ + boolean hasError(); + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return The error. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getError(); + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder getErrorOrBuilder(); + + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return Whether the start field is set. + */ + boolean hasStart(); + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return The start. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getStart(); + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder getStartOrBuilder(); + + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return Whether the stop field is set. + */ + boolean hasStop(); + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return The stop. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getStop(); + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder getStopOrBuilder(); + + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return Whether the shutdown field is set. + */ + boolean hasShutdown(); + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return The shutdown. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getShutdown(); + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder getShutdownOrBuilder(); + + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return Whether the shuttingDown field is set. + */ + boolean hasShuttingDown(); + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return The shuttingDown. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getShuttingDown(); + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder getShuttingDownOrBuilder(); + + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.MessageCase getMessageCase(); + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage} + */ + public static final class BatchStreamMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage) + BatchStreamMessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchStreamMessage.newBuilder() to construct. + private BatchStreamMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchStreamMessage() { + streamId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchStreamMessage(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Builder.class); + } + + public interface StartOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage.Start) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Start} + */ + public static final class Start extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage.Start) + StartOrBuilder { + private static final long serialVersionUID = 0L; + // Use Start.newBuilder() to construct. + private Start(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Start() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Start(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Start_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Start} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage.Start) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Start_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage.Start) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage.Start) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Start 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StopOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage.Stop) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Stop} + */ + public static final class Stop extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage.Stop) + StopOrBuilder { + private static final long serialVersionUID = 0L; + // Use Stop.newBuilder() to construct. + private Stop(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Stop() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Stop(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Stop_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Stop} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage.Stop) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Stop_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage.Stop) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage.Stop) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stop 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ShutdownOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage.Shutdown) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Shutdown} + */ + public static final class Shutdown extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage.Shutdown) + ShutdownOrBuilder { + private static final long serialVersionUID = 0L; + // Use Shutdown.newBuilder() to construct. + private Shutdown(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Shutdown() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Shutdown(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Shutdown_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Shutdown} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage.Shutdown) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Shutdown_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage.Shutdown) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage.Shutdown) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Shutdown 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ShuttingDownOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage.ShuttingDown) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.ShuttingDown} + */ + public static final class ShuttingDown extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage.ShuttingDown) + ShuttingDownOrBuilder { + private static final long serialVersionUID = 0L; + // Use ShuttingDown.newBuilder() to construct. + private ShuttingDown(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ShuttingDown() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ShuttingDown(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.ShuttingDown} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage.ShuttingDown) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage.ShuttingDown) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage.ShuttingDown) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShuttingDown 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchStreamMessage.Error) + com.google.protobuf.MessageOrBuilder { + + /** + * string error = 1; + * @return The error. + */ + java.lang.String getError(); + /** + * string error = 1; + * @return The bytes for error. + */ + com.google.protobuf.ByteString + getErrorBytes(); + + /** + * int32 index = 2; + * @return The index. + */ + int getIndex(); + + /** + * bool is_retriable = 3; + * @return The isRetriable. + */ + boolean getIsRetriable(); + + /** + * bool is_object = 4; + * @return The isObject. + */ + boolean getIsObject(); + + /** + * bool is_reference = 5; + * @return The isReference. + */ + boolean getIsReference(); + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Error} + */ + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchStreamMessage.Error) + ErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use Error.newBuilder() to construct. + private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Error() { + error_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Error(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder.class); + } + + public static final int ERROR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object error_ = ""; + /** + * string error = 1; + * @return The error. + */ + @java.lang.Override + public java.lang.String getError() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } + } + /** + * string error = 1; + * @return The bytes for error. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INDEX_FIELD_NUMBER = 2; + private int index_ = 0; + /** + * int32 index = 2; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + + public static final int IS_RETRIABLE_FIELD_NUMBER = 3; + private boolean isRetriable_ = false; + /** + * bool is_retriable = 3; + * @return The isRetriable. + */ + @java.lang.Override + public boolean getIsRetriable() { + return isRetriable_; + } + + public static final int IS_OBJECT_FIELD_NUMBER = 4; + private boolean isObject_ = false; + /** + * bool is_object = 4; + * @return The isObject. + */ + @java.lang.Override + public boolean getIsObject() { + return isObject_; + } + + public static final int IS_REFERENCE_FIELD_NUMBER = 5; + private boolean isReference_ = false; + /** + * bool is_reference = 5; + * @return The isReference. + */ + @java.lang.Override + public boolean getIsReference() { + return isReference_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, error_); + } + if (index_ != 0) { + output.writeInt32(2, index_); + } + if (isRetriable_ != false) { + output.writeBool(3, isRetriable_); + } + if (isObject_ != false) { + output.writeBool(4, isObject_); + } + if (isReference_ != false) { + output.writeBool(5, isReference_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, error_); + } + if (index_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, index_); + } + if (isRetriable_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isRetriable_); + } + if (isObject_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isObject_); + } + if (isReference_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, isReference_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) obj; + + if (!getError() + .equals(other.getError())) return false; + if (getIndex() + != other.getIndex()) return false; + if (getIsRetriable() + != other.getIsRetriable()) return false; + if (getIsObject() + != other.getIsObject()) return false; + if (getIsReference() + != other.getIsReference()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex(); + hash = (37 * hash) + IS_RETRIABLE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsRetriable()); + hash = (37 * hash) + IS_OBJECT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsObject()); + hash = (37 * hash) + IS_REFERENCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsReference()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage.Error} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage.Error) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + error_ = ""; + index_ = 0; + isRetriable_ = false; + isObject_ = false; + isReference_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.error_ = error_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.index_ = index_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isRetriable_ = isRetriable_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isObject_ = isObject_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.isReference_ = isReference_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance()) return this; + if (!other.getError().isEmpty()) { + error_ = other.error_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getIndex() != 0) { + setIndex(other.getIndex()); + } + if (other.getIsRetriable() != false) { + setIsRetriable(other.getIsRetriable()); + } + if (other.getIsObject() != false) { + setIsObject(other.getIsObject()); + } + if (other.getIsReference() != false) { + setIsReference(other.getIsReference()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + error_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + index_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + isRetriable_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + isObject_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + isReference_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object error_ = ""; + /** + * string error = 1; + * @return The error. + */ + public java.lang.String getError() { + java.lang.Object ref = error_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error = 1; + * @return The bytes for error. + */ + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error = 1; + * @param value The error to set. + * @return This builder for chaining. + */ + public Builder setError( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + error_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string error = 1; + * @return This builder for chaining. + */ + public Builder clearError() { + error_ = getDefaultInstance().getError(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string error = 1; + * @param value The bytes for error to set. + * @return This builder for chaining. + */ + public Builder setErrorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + error_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int index_ ; + /** + * int32 index = 2; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + /** + * int32 index = 2; + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(int value) { + + index_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 index = 2; + * @return This builder for chaining. + */ + public Builder clearIndex() { + bitField0_ = (bitField0_ & ~0x00000002); + index_ = 0; + onChanged(); + return this; + } + + private boolean isRetriable_ ; + /** + * bool is_retriable = 3; + * @return The isRetriable. + */ + @java.lang.Override + public boolean getIsRetriable() { + return isRetriable_; + } + /** + * bool is_retriable = 3; + * @param value The isRetriable to set. + * @return This builder for chaining. + */ + public Builder setIsRetriable(boolean value) { + + isRetriable_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * bool is_retriable = 3; + * @return This builder for chaining. + */ + public Builder clearIsRetriable() { + bitField0_ = (bitField0_ & ~0x00000004); + isRetriable_ = false; + onChanged(); + return this; + } + + private boolean isObject_ ; + /** + * bool is_object = 4; + * @return The isObject. + */ + @java.lang.Override + public boolean getIsObject() { + return isObject_; + } + /** + * bool is_object = 4; + * @param value The isObject to set. + * @return This builder for chaining. + */ + public Builder setIsObject(boolean value) { + + isObject_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool is_object = 4; + * @return This builder for chaining. + */ + public Builder clearIsObject() { + bitField0_ = (bitField0_ & ~0x00000008); + isObject_ = false; + onChanged(); + return this; + } + + private boolean isReference_ ; + /** + * bool is_reference = 5; + * @return The isReference. + */ + @java.lang.Override + public boolean getIsReference() { + return isReference_; + } + /** + * bool is_reference = 5; + * @param value The isReference to set. + * @return This builder for chaining. + */ + public Builder setIsReference(boolean value) { + + isReference_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * bool is_reference = 5; + * @return This builder for chaining. + */ + public Builder clearIsReference() { + bitField0_ = (bitField0_ & ~0x00000010); + isReference_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage.Error) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage.Error) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int messageCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object message_; + public enum MessageCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ERROR(2), + START(3), + STOP(4), + SHUTDOWN(5), + SHUTTING_DOWN(6), + MESSAGE_NOT_SET(0); + private final int value; + private MessageCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageCase valueOf(int value) { + return forNumber(value); + } + + public static MessageCase forNumber(int value) { + switch (value) { + case 2: return ERROR; + case 3: return START; + case 4: return STOP; + case 5: return SHUTDOWN; + case 6: return SHUTTING_DOWN; + case 0: return MESSAGE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public static final int STREAM_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object streamId_ = ""; + /** + * string stream_id = 1; + * @return The streamId. + */ + @java.lang.Override + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } + } + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_FIELD_NUMBER = 2; + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return messageCase_ == 2; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return The error. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getError() { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder getErrorOrBuilder() { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + + public static final int START_FIELD_NUMBER = 3; + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return Whether the start field is set. + */ + @java.lang.Override + public boolean hasStart() { + return messageCase_ == 3; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return The start. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getStart() { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder getStartOrBuilder() { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + + public static final int STOP_FIELD_NUMBER = 4; + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return Whether the stop field is set. + */ + @java.lang.Override + public boolean hasStop() { + return messageCase_ == 4; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return The stop. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getStop() { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder getStopOrBuilder() { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + + public static final int SHUTDOWN_FIELD_NUMBER = 5; + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return Whether the shutdown field is set. + */ + @java.lang.Override + public boolean hasShutdown() { + return messageCase_ == 5; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return The shutdown. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getShutdown() { + if (messageCase_ == 5) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder getShutdownOrBuilder() { + if (messageCase_ == 5) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + + public static final int SHUTTING_DOWN_FIELD_NUMBER = 6; + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return Whether the shuttingDown field is set. + */ + @java.lang.Override + public boolean hasShuttingDown() { + return messageCase_ == 6; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return The shuttingDown. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getShuttingDown() { + if (messageCase_ == 6) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder getShuttingDownOrBuilder() { + if (messageCase_ == 6) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_); + } + if (messageCase_ == 2) { + output.writeMessage(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_); + } + if (messageCase_ == 3) { + output.writeMessage(3, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_); + } + if (messageCase_ == 4) { + output.writeMessage(4, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_); + } + if (messageCase_ == 5) { + output.writeMessage(5, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_); + } + if (messageCase_ == 6) { + output.writeMessage(6, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_); + } + if (messageCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_); + } + if (messageCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_); + } + if (messageCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_); + } + if (messageCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_); + } + if (messageCase_ == 6) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage) obj; + + if (!getStreamId() + .equals(other.getStreamId())) return false; + if (!getMessageCase().equals(other.getMessageCase())) return false; + switch (messageCase_) { + case 2: + if (!getError() + .equals(other.getError())) return false; + break; + case 3: + if (!getStart() + .equals(other.getStart())) return false; + break; + case 4: + if (!getStop() + .equals(other.getStop())) return false; + break; + case 5: + if (!getShutdown() + .equals(other.getShutdown())) return false; + break; + case 6: + if (!getShuttingDown() + .equals(other.getShuttingDown())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; + hash = (53 * hash) + getStreamId().hashCode(); + switch (messageCase_) { + case 2: + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + break; + case 3: + hash = (37 * hash) + START_FIELD_NUMBER; + hash = (53 * hash) + getStart().hashCode(); + break; + case 4: + hash = (37 * hash) + STOP_FIELD_NUMBER; + hash = (53 * hash) + getStop().hashCode(); + break; + case 5: + hash = (37 * hash) + SHUTDOWN_FIELD_NUMBER; + hash = (53 * hash) + getShutdown().hashCode(); + break; + case 6: + hash = (37 * hash) + SHUTTING_DOWN_FIELD_NUMBER; + hash = (53 * hash) + getShuttingDown().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchStreamMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchStreamMessage) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + streamId_ = ""; + if (errorBuilder_ != null) { + errorBuilder_.clear(); + } + if (startBuilder_ != null) { + startBuilder_.clear(); + } + if (stopBuilder_ != null) { + stopBuilder_.clear(); + } + if (shutdownBuilder_ != null) { + shutdownBuilder_.clear(); + } + if (shuttingDownBuilder_ != null) { + shuttingDownBuilder_.clear(); + } + messageCase_ = 0; + message_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchStreamMessage_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.streamId_ = streamId_; + } + } + + private void buildPartialOneofs(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage result) { + result.messageCase_ = messageCase_; + result.message_ = this.message_; + if (messageCase_ == 2 && + errorBuilder_ != null) { + result.message_ = errorBuilder_.build(); + } + if (messageCase_ == 3 && + startBuilder_ != null) { + result.message_ = startBuilder_.build(); + } + if (messageCase_ == 4 && + stopBuilder_ != null) { + result.message_ = stopBuilder_.build(); + } + if (messageCase_ == 5 && + shutdownBuilder_ != null) { + result.message_ = shutdownBuilder_.build(); + } + if (messageCase_ == 6 && + shuttingDownBuilder_ != null) { + result.message_ = shuttingDownBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.getDefaultInstance()) return this; + if (!other.getStreamId().isEmpty()) { + streamId_ = other.streamId_; + bitField0_ |= 0x00000001; + onChanged(); + } + switch (other.getMessageCase()) { + case ERROR: { + mergeError(other.getError()); + break; + } + case START: { + mergeStart(other.getStart()); + break; + } + case STOP: { + mergeStop(other.getStop()); + break; + } + case SHUTDOWN: { + mergeShutdown(other.getShutdown()); + break; + } + case SHUTTING_DOWN: { + mergeShuttingDown(other.getShuttingDown()); + break; + } + case MESSAGE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + streamId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getStartFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getStopFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getShutdownFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getShuttingDownFieldBuilder().getBuilder(), + extensionRegistry); + messageCase_ = 6; + break; + } // case 50 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int messageCase_ = 0; + private java.lang.Object message_; + public MessageCase + getMessageCase() { + return MessageCase.forNumber( + messageCase_); + } + + public Builder clearMessage() { + messageCase_ = 0; + message_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object streamId_ = ""; + /** + * string stream_id = 1; + * @return The streamId. + */ + public java.lang.String getStreamId() { + java.lang.Object ref = streamId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + streamId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string stream_id = 1; + * @return The bytes for streamId. + */ + public com.google.protobuf.ByteString + getStreamIdBytes() { + java.lang.Object ref = streamId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + streamId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string stream_id = 1; + * @param value The streamId to set. + * @return This builder for chaining. + */ + public Builder setStreamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + streamId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string stream_id = 1; + * @return This builder for chaining. + */ + public Builder clearStreamId() { + streamId_ = getDefaultInstance().getStreamId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string stream_id = 1; + * @param value The bytes for streamId to set. + * @return This builder for chaining. + */ + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + streamId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder> errorBuilder_; + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return messageCase_ == 2; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + * @return The error. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error getError() { + if (errorBuilder_ == null) { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } else { + if (messageCase_ == 2) { + return errorBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + public Builder setError(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + errorBuilder_.setMessage(value); + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + public Builder setError( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder builderForValue) { + if (errorBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + public Builder mergeError(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error value) { + if (errorBuilder_ == null) { + if (messageCase_ == 2 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 2) { + errorBuilder_.mergeFrom(value); + } else { + errorBuilder_.setMessage(value); + } + } + messageCase_ = 2; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + public Builder clearError() { + if (errorBuilder_ == null) { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 2) { + messageCase_ = 0; + message_ = null; + } + errorBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder getErrorBuilder() { + return getErrorFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder getErrorOrBuilder() { + if ((messageCase_ == 2) && (errorBuilder_ != null)) { + return errorBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 2) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Error error = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + if (!(messageCase_ == 2)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.getDefaultInstance(); + } + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ErrorOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Error) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 2; + onChanged(); + return errorBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder> startBuilder_; + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return Whether the start field is set. + */ + @java.lang.Override + public boolean hasStart() { + return messageCase_ == 3; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + * @return The start. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start getStart() { + if (startBuilder_ == null) { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } else { + if (messageCase_ == 3) { + return startBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + public Builder setStart(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start value) { + if (startBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + startBuilder_.setMessage(value); + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + public Builder setStart( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder builderForValue) { + if (startBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + startBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + public Builder mergeStart(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start value) { + if (startBuilder_ == null) { + if (messageCase_ == 3 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 3) { + startBuilder_.mergeFrom(value); + } else { + startBuilder_.setMessage(value); + } + } + messageCase_ = 3; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + public Builder clearStart() { + if (startBuilder_ == null) { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 3) { + messageCase_ = 0; + message_ = null; + } + startBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder getStartBuilder() { + return getStartFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder getStartOrBuilder() { + if ((messageCase_ == 3) && (startBuilder_ != null)) { + return startBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 3) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Start start = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder> + getStartFieldBuilder() { + if (startBuilder_ == null) { + if (!(messageCase_ == 3)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.getDefaultInstance(); + } + startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StartOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Start) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 3; + onChanged(); + return startBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder> stopBuilder_; + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return Whether the stop field is set. + */ + @java.lang.Override + public boolean hasStop() { + return messageCase_ == 4; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + * @return The stop. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop getStop() { + if (stopBuilder_ == null) { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } else { + if (messageCase_ == 4) { + return stopBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + public Builder setStop(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop value) { + if (stopBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + stopBuilder_.setMessage(value); + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + public Builder setStop( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder builderForValue) { + if (stopBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + stopBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + public Builder mergeStop(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop value) { + if (stopBuilder_ == null) { + if (messageCase_ == 4 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 4) { + stopBuilder_.mergeFrom(value); + } else { + stopBuilder_.setMessage(value); + } + } + messageCase_ = 4; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + public Builder clearStop() { + if (stopBuilder_ == null) { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 4) { + messageCase_ = 0; + message_ = null; + } + stopBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder getStopBuilder() { + return getStopFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder getStopOrBuilder() { + if ((messageCase_ == 4) && (stopBuilder_ != null)) { + return stopBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 4) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Stop stop = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder> + getStopFieldBuilder() { + if (stopBuilder_ == null) { + if (!(messageCase_ == 4)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.getDefaultInstance(); + } + stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.StopOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Stop) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 4; + onChanged(); + return stopBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder> shutdownBuilder_; + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return Whether the shutdown field is set. + */ + @java.lang.Override + public boolean hasShutdown() { + return messageCase_ == 5; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + * @return The shutdown. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown getShutdown() { + if (shutdownBuilder_ == null) { + if (messageCase_ == 5) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } else { + if (messageCase_ == 5) { + return shutdownBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + public Builder setShutdown(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown value) { + if (shutdownBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + shutdownBuilder_.setMessage(value); + } + messageCase_ = 5; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + public Builder setShutdown( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder builderForValue) { + if (shutdownBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + shutdownBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 5; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + public Builder mergeShutdown(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown value) { + if (shutdownBuilder_ == null) { + if (messageCase_ == 5 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 5) { + shutdownBuilder_.mergeFrom(value); + } else { + shutdownBuilder_.setMessage(value); + } + } + messageCase_ = 5; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + public Builder clearShutdown() { + if (shutdownBuilder_ == null) { + if (messageCase_ == 5) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 5) { + messageCase_ = 0; + message_ = null; + } + shutdownBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder getShutdownBuilder() { + return getShutdownFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder getShutdownOrBuilder() { + if ((messageCase_ == 5) && (shutdownBuilder_ != null)) { + return shutdownBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 5) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.Shutdown shutdown = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder> + getShutdownFieldBuilder() { + if (shutdownBuilder_ == null) { + if (!(messageCase_ == 5)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.getDefaultInstance(); + } + shutdownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShutdownOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.Shutdown) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 5; + onChanged(); + return shutdownBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder> shuttingDownBuilder_; + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return Whether the shuttingDown field is set. + */ + @java.lang.Override + public boolean hasShuttingDown() { + return messageCase_ == 6; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + * @return The shuttingDown. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown getShuttingDown() { + if (shuttingDownBuilder_ == null) { + if (messageCase_ == 6) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } else { + if (messageCase_ == 6) { + return shuttingDownBuilder_.getMessage(); + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + public Builder setShuttingDown(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown value) { + if (shuttingDownBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + onChanged(); + } else { + shuttingDownBuilder_.setMessage(value); + } + messageCase_ = 6; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + public Builder setShuttingDown( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder builderForValue) { + if (shuttingDownBuilder_ == null) { + message_ = builderForValue.build(); + onChanged(); + } else { + shuttingDownBuilder_.setMessage(builderForValue.build()); + } + messageCase_ = 6; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + public Builder mergeShuttingDown(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown value) { + if (shuttingDownBuilder_ == null) { + if (messageCase_ == 6 && + message_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance()) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.newBuilder((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_) + .mergeFrom(value).buildPartial(); + } else { + message_ = value; + } + onChanged(); + } else { + if (messageCase_ == 6) { + shuttingDownBuilder_.mergeFrom(value); + } else { + shuttingDownBuilder_.setMessage(value); + } + } + messageCase_ = 6; + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + public Builder clearShuttingDown() { + if (shuttingDownBuilder_ == null) { + if (messageCase_ == 6) { + messageCase_ = 0; + message_ = null; + onChanged(); + } + } else { + if (messageCase_ == 6) { + messageCase_ = 0; + message_ = null; + } + shuttingDownBuilder_.clear(); + } + return this; + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder getShuttingDownBuilder() { + return getShuttingDownFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder getShuttingDownOrBuilder() { + if ((messageCase_ == 6) && (shuttingDownBuilder_ != null)) { + return shuttingDownBuilder_.getMessageOrBuilder(); + } else { + if (messageCase_ == 6) { + return (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_; + } + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + } + /** + * .weaviate.v1.BatchStreamMessage.ShuttingDown shutting_down = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder> + getShuttingDownFieldBuilder() { + if (shuttingDownBuilder_ == null) { + if (!(messageCase_ == 6)) { + message_ = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.getDefaultInstance(); + } + shuttingDownBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDownOrBuilder>( + (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage.ShuttingDown) message_, + getParentForChildren(), + isClean()); + message_ = null; + } + messageCase_ = 6; + onChanged(); + return shuttingDownBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchStreamMessage) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchStreamMessage) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchStreamMessage 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchStreamMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchObjectOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject) + com.google.protobuf.MessageOrBuilder { + + /** + * string uuid = 1; + * @return The uuid. + */ + java.lang.String getUuid(); + /** + * string uuid = 1; + * @return The bytes for uuid. + */ + com.google.protobuf.ByteString + getUuidBytes(); + + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return A list containing the vector. + */ + @java.lang.Deprecated java.util.List getVectorList(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return The count of vector. + */ + @java.lang.Deprecated int getVectorCount(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param index The index of the element to return. + * @return The vector at the given index. + */ + @java.lang.Deprecated float getVector(int index); + + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return Whether the properties field is set. + */ + boolean hasProperties(); + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return The properties. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties(); + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder(); + + /** + * string collection = 4; + * @return The collection. + */ + java.lang.String getCollection(); + /** + * string collection = 4; + * @return The bytes for collection. + */ + com.google.protobuf.ByteString + getCollectionBytes(); + + /** + * string tenant = 5; + * @return The tenant. + */ + java.lang.String getTenant(); + /** + * string tenant = 5; + * @return The bytes for tenant. + */ + com.google.protobuf.ByteString + getTenantBytes(); + + /** + * bytes vector_bytes = 6; + * @return The vectorBytes. + */ + com.google.protobuf.ByteString getVectorBytes(); + + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + java.util.List + getVectorsList(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + int getVectorsCount(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + java.util.List + getVectorsOrBuilderList(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( + int index); + } + /** + * Protobuf type {@code weaviate.v1.BatchObject} + */ + public static final class BatchObject extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject) + BatchObjectOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchObject.newBuilder() to construct. + private BatchObject(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchObject() { + uuid_ = ""; + vector_ = emptyFloatList(); + collection_ = ""; + tenant_ = ""; + vectorBytes_ = com.google.protobuf.ByteString.EMPTY; + vectors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchObject(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder.class); + } + + public interface PropertiesOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.Properties) + com.google.protobuf.MessageOrBuilder { + + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return Whether the nonRefProperties field is set. + */ + boolean hasNonRefProperties(); + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return The nonRefProperties. + */ + com.google.protobuf.Struct getNonRefProperties(); + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder(); + + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + java.util.List + getSingleTargetRefPropsList(); + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index); + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + int getSingleTargetRefPropsCount(); + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + java.util.List + getSingleTargetRefPropsOrBuilderList(); + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( + int index); + + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + java.util.List + getMultiTargetRefPropsList(); + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index); + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + int getMultiTargetRefPropsCount(); + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + java.util.List + getMultiTargetRefPropsOrBuilderList(); + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( + int index); + + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + java.util.List + getNumberArrayPropertiesList(); + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index); + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + int getNumberArrayPropertiesCount(); + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + java.util.List + getNumberArrayPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( + int index); + + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + java.util.List + getIntArrayPropertiesList(); + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index); + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + int getIntArrayPropertiesCount(); + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + java.util.List + getIntArrayPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( + int index); + + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + java.util.List + getTextArrayPropertiesList(); + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index); + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + int getTextArrayPropertiesCount(); + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + java.util.List + getTextArrayPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( + int index); + + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + java.util.List + getBooleanArrayPropertiesList(); + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index); + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + int getBooleanArrayPropertiesCount(); + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + java.util.List + getBooleanArrayPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( + int index); + + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + java.util.List + getObjectPropertiesList(); + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index); + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + int getObjectPropertiesCount(); + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + java.util.List + getObjectPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( + int index); + + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + java.util.List + getObjectArrayPropertiesList(); + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index); + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + int getObjectArrayPropertiesCount(); + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + java.util.List + getObjectArrayPropertiesOrBuilderList(); + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( + int index); + + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @return A list containing the emptyListProps. + */ + java.util.List + getEmptyListPropsList(); + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @return The count of emptyListProps. + */ + int getEmptyListPropsCount(); + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the element to return. + * @return The emptyListProps at the given index. + */ + java.lang.String getEmptyListProps(int index); + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the value to return. + * @return The bytes of the emptyListProps at the given index. + */ + com.google.protobuf.ByteString + getEmptyListPropsBytes(int index); + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.Properties} + */ + public static final class Properties extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.Properties) + PropertiesOrBuilder { + private static final long serialVersionUID = 0L; + // Use Properties.newBuilder() to construct. + private Properties(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Properties() { + singleTargetRefProps_ = java.util.Collections.emptyList(); + multiTargetRefProps_ = java.util.Collections.emptyList(); + numberArrayProperties_ = java.util.Collections.emptyList(); + intArrayProperties_ = java.util.Collections.emptyList(); + textArrayProperties_ = java.util.Collections.emptyList(); + booleanArrayProperties_ = java.util.Collections.emptyList(); + objectProperties_ = java.util.Collections.emptyList(); + objectArrayProperties_ = java.util.Collections.emptyList(); + emptyListProps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Properties(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder.class); + } + + private int bitField0_; + public static final int NON_REF_PROPERTIES_FIELD_NUMBER = 1; + private com.google.protobuf.Struct nonRefProperties_; + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return Whether the nonRefProperties field is set. + */ + @java.lang.Override + public boolean hasNonRefProperties() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return The nonRefProperties. + */ + @java.lang.Override + public com.google.protobuf.Struct getNonRefProperties() { + return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { + return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + } + + public static final int SINGLE_TARGET_REF_PROPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List singleTargetRefProps_; + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + @java.lang.Override + public java.util.List getSingleTargetRefPropsList() { + return singleTargetRefProps_; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + @java.lang.Override + public java.util.List + getSingleTargetRefPropsOrBuilderList() { + return singleTargetRefProps_; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + @java.lang.Override + public int getSingleTargetRefPropsCount() { + return singleTargetRefProps_.size(); + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index) { + return singleTargetRefProps_.get(index); + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( + int index) { + return singleTargetRefProps_.get(index); + } + + public static final int MULTI_TARGET_REF_PROPS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private java.util.List multiTargetRefProps_; + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + @java.lang.Override + public java.util.List getMultiTargetRefPropsList() { + return multiTargetRefProps_; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + @java.lang.Override + public java.util.List + getMultiTargetRefPropsOrBuilderList() { + return multiTargetRefProps_; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + @java.lang.Override + public int getMultiTargetRefPropsCount() { + return multiTargetRefProps_.size(); + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index) { + return multiTargetRefProps_.get(index); + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( + int index) { + return multiTargetRefProps_.get(index); + } + + public static final int NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private java.util.List numberArrayProperties_; + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + @java.lang.Override + public java.util.List getNumberArrayPropertiesList() { + return numberArrayProperties_; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + @java.lang.Override + public java.util.List + getNumberArrayPropertiesOrBuilderList() { + return numberArrayProperties_; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + @java.lang.Override + public int getNumberArrayPropertiesCount() { + return numberArrayProperties_.size(); + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { + return numberArrayProperties_.get(index); + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( + int index) { + return numberArrayProperties_.get(index); + } + + public static final int INT_ARRAY_PROPERTIES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private java.util.List intArrayProperties_; + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + @java.lang.Override + public java.util.List getIntArrayPropertiesList() { + return intArrayProperties_; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + @java.lang.Override + public java.util.List + getIntArrayPropertiesOrBuilderList() { + return intArrayProperties_; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + @java.lang.Override + public int getIntArrayPropertiesCount() { + return intArrayProperties_.size(); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { + return intArrayProperties_.get(index); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( + int index) { + return intArrayProperties_.get(index); + } + + public static final int TEXT_ARRAY_PROPERTIES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private java.util.List textArrayProperties_; + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + @java.lang.Override + public java.util.List getTextArrayPropertiesList() { + return textArrayProperties_; + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + @java.lang.Override + public java.util.List + getTextArrayPropertiesOrBuilderList() { + return textArrayProperties_; + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + @java.lang.Override + public int getTextArrayPropertiesCount() { + return textArrayProperties_.size(); + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { + return textArrayProperties_.get(index); + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( + int index) { + return textArrayProperties_.get(index); + } + + public static final int BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private java.util.List booleanArrayProperties_; + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + @java.lang.Override + public java.util.List getBooleanArrayPropertiesList() { + return booleanArrayProperties_; + } + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + @java.lang.Override + public java.util.List + getBooleanArrayPropertiesOrBuilderList() { + return booleanArrayProperties_; + } + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + @java.lang.Override + public int getBooleanArrayPropertiesCount() { + return booleanArrayProperties_.size(); + } + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { + return booleanArrayProperties_.get(index); + } + /** + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( + int index) { + return booleanArrayProperties_.get(index); + } + + public static final int OBJECT_PROPERTIES_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private java.util.List objectProperties_; + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + @java.lang.Override + public java.util.List getObjectPropertiesList() { + return objectProperties_; + } + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + @java.lang.Override + public java.util.List + getObjectPropertiesOrBuilderList() { + return objectProperties_; + } + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + @java.lang.Override + public int getObjectPropertiesCount() { + return objectProperties_.size(); + } + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { + return objectProperties_.get(index); + } + /** + * repeated .weaviate.v1.ObjectProperties object_properties = 8; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( + int index) { + return objectProperties_.get(index); + } + + public static final int OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private java.util.List objectArrayProperties_; + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + @java.lang.Override + public java.util.List getObjectArrayPropertiesList() { + return objectArrayProperties_; + } + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + @java.lang.Override + public java.util.List + getObjectArrayPropertiesOrBuilderList() { + return objectArrayProperties_; + } + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + @java.lang.Override + public int getObjectArrayPropertiesCount() { + return objectArrayProperties_.size(); + } + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { + return objectArrayProperties_.get(index); + } + /** + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( + int index) { + return objectArrayProperties_.get(index); + } + + public static final int EMPTY_LIST_PROPS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList emptyListProps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @return A list containing the emptyListProps. + */ + public com.google.protobuf.ProtocolStringList + getEmptyListPropsList() { + return emptyListProps_; + } + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @return The count of emptyListProps. + */ + public int getEmptyListPropsCount() { + return emptyListProps_.size(); + } + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the element to return. + * @return The emptyListProps at the given index. + */ + public java.lang.String getEmptyListProps(int index) { + return emptyListProps_.get(index); + } + /** + *
+       * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+       * Weaviate can get the datatype from its schema
+       * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the value to return. + * @return The bytes of the emptyListProps at the given index. + */ + public com.google.protobuf.ByteString + getEmptyListPropsBytes(int index) { + return emptyListProps_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getNonRefProperties()); + } + for (int i = 0; i < singleTargetRefProps_.size(); i++) { + output.writeMessage(2, singleTargetRefProps_.get(i)); + } + for (int i = 0; i < multiTargetRefProps_.size(); i++) { + output.writeMessage(3, multiTargetRefProps_.get(i)); + } + for (int i = 0; i < numberArrayProperties_.size(); i++) { + output.writeMessage(4, numberArrayProperties_.get(i)); + } + for (int i = 0; i < intArrayProperties_.size(); i++) { + output.writeMessage(5, intArrayProperties_.get(i)); + } + for (int i = 0; i < textArrayProperties_.size(); i++) { + output.writeMessage(6, textArrayProperties_.get(i)); + } + for (int i = 0; i < booleanArrayProperties_.size(); i++) { + output.writeMessage(7, booleanArrayProperties_.get(i)); + } + for (int i = 0; i < objectProperties_.size(); i++) { + output.writeMessage(8, objectProperties_.get(i)); + } + for (int i = 0; i < objectArrayProperties_.size(); i++) { + output.writeMessage(9, objectArrayProperties_.get(i)); + } + for (int i = 0; i < emptyListProps_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, emptyListProps_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNonRefProperties()); + } + for (int i = 0; i < singleTargetRefProps_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, singleTargetRefProps_.get(i)); + } + for (int i = 0; i < multiTargetRefProps_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, multiTargetRefProps_.get(i)); + } + for (int i = 0; i < numberArrayProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, numberArrayProperties_.get(i)); + } + for (int i = 0; i < intArrayProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, intArrayProperties_.get(i)); + } + for (int i = 0; i < textArrayProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, textArrayProperties_.get(i)); + } + for (int i = 0; i < booleanArrayProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, booleanArrayProperties_.get(i)); + } + for (int i = 0; i < objectProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, objectProperties_.get(i)); + } + for (int i = 0; i < objectArrayProperties_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, objectArrayProperties_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < emptyListProps_.size(); i++) { + dataSize += computeStringSizeNoTag(emptyListProps_.getRaw(i)); + } + size += dataSize; + size += 1 * getEmptyListPropsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties) obj; + + if (hasNonRefProperties() != other.hasNonRefProperties()) return false; + if (hasNonRefProperties()) { + if (!getNonRefProperties() + .equals(other.getNonRefProperties())) return false; + } + if (!getSingleTargetRefPropsList() + .equals(other.getSingleTargetRefPropsList())) return false; + if (!getMultiTargetRefPropsList() + .equals(other.getMultiTargetRefPropsList())) return false; + if (!getNumberArrayPropertiesList() + .equals(other.getNumberArrayPropertiesList())) return false; + if (!getIntArrayPropertiesList() + .equals(other.getIntArrayPropertiesList())) return false; + if (!getTextArrayPropertiesList() + .equals(other.getTextArrayPropertiesList())) return false; + if (!getBooleanArrayPropertiesList() + .equals(other.getBooleanArrayPropertiesList())) return false; + if (!getObjectPropertiesList() + .equals(other.getObjectPropertiesList())) return false; + if (!getObjectArrayPropertiesList() + .equals(other.getObjectArrayPropertiesList())) return false; + if (!getEmptyListPropsList() + .equals(other.getEmptyListPropsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNonRefProperties()) { + hash = (37 * hash) + NON_REF_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getNonRefProperties().hashCode(); + } + if (getSingleTargetRefPropsCount() > 0) { + hash = (37 * hash) + SINGLE_TARGET_REF_PROPS_FIELD_NUMBER; + hash = (53 * hash) + getSingleTargetRefPropsList().hashCode(); + } + if (getMultiTargetRefPropsCount() > 0) { + hash = (37 * hash) + MULTI_TARGET_REF_PROPS_FIELD_NUMBER; + hash = (53 * hash) + getMultiTargetRefPropsList().hashCode(); + } + if (getNumberArrayPropertiesCount() > 0) { + hash = (37 * hash) + NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getNumberArrayPropertiesList().hashCode(); + } + if (getIntArrayPropertiesCount() > 0) { + hash = (37 * hash) + INT_ARRAY_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getIntArrayPropertiesList().hashCode(); + } + if (getTextArrayPropertiesCount() > 0) { + hash = (37 * hash) + TEXT_ARRAY_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getTextArrayPropertiesList().hashCode(); + } + if (getBooleanArrayPropertiesCount() > 0) { + hash = (37 * hash) + BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getBooleanArrayPropertiesList().hashCode(); + } + if (getObjectPropertiesCount() > 0) { + hash = (37 * hash) + OBJECT_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getObjectPropertiesList().hashCode(); + } + if (getObjectArrayPropertiesCount() > 0) { + hash = (37 * hash) + OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getObjectArrayPropertiesList().hashCode(); + } + if (getEmptyListPropsCount() > 0) { + hash = (37 * hash) + EMPTY_LIST_PROPS_FIELD_NUMBER; + hash = (53 * hash) + getEmptyListPropsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.Properties} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.Properties) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getNonRefPropertiesFieldBuilder(); + getSingleTargetRefPropsFieldBuilder(); + getMultiTargetRefPropsFieldBuilder(); + getNumberArrayPropertiesFieldBuilder(); + getIntArrayPropertiesFieldBuilder(); + getTextArrayPropertiesFieldBuilder(); + getBooleanArrayPropertiesFieldBuilder(); + getObjectPropertiesFieldBuilder(); + getObjectArrayPropertiesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nonRefProperties_ = null; + if (nonRefPropertiesBuilder_ != null) { + nonRefPropertiesBuilder_.dispose(); + nonRefPropertiesBuilder_ = null; + } + if (singleTargetRefPropsBuilder_ == null) { + singleTargetRefProps_ = java.util.Collections.emptyList(); + } else { + singleTargetRefProps_ = null; + singleTargetRefPropsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (multiTargetRefPropsBuilder_ == null) { + multiTargetRefProps_ = java.util.Collections.emptyList(); + } else { + multiTargetRefProps_ = null; + multiTargetRefPropsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (numberArrayPropertiesBuilder_ == null) { + numberArrayProperties_ = java.util.Collections.emptyList(); + } else { + numberArrayProperties_ = null; + numberArrayPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (intArrayPropertiesBuilder_ == null) { + intArrayProperties_ = java.util.Collections.emptyList(); + } else { + intArrayProperties_ = null; + intArrayPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + if (textArrayPropertiesBuilder_ == null) { + textArrayProperties_ = java.util.Collections.emptyList(); + } else { + textArrayProperties_ = null; + textArrayPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + if (booleanArrayPropertiesBuilder_ == null) { + booleanArrayProperties_ = java.util.Collections.emptyList(); + } else { + booleanArrayProperties_ = null; + booleanArrayPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + if (objectPropertiesBuilder_ == null) { + objectProperties_ = java.util.Collections.emptyList(); + } else { + objectProperties_ = null; + objectPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + if (objectArrayPropertiesBuilder_ == null) { + objectArrayProperties_ = java.util.Collections.emptyList(); + } else { + objectArrayProperties_ = null; + objectArrayPropertiesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + emptyListProps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_Properties_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result) { + if (singleTargetRefPropsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + singleTargetRefProps_ = java.util.Collections.unmodifiableList(singleTargetRefProps_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.singleTargetRefProps_ = singleTargetRefProps_; + } else { + result.singleTargetRefProps_ = singleTargetRefPropsBuilder_.build(); + } + if (multiTargetRefPropsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + multiTargetRefProps_ = java.util.Collections.unmodifiableList(multiTargetRefProps_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.multiTargetRefProps_ = multiTargetRefProps_; + } else { + result.multiTargetRefProps_ = multiTargetRefPropsBuilder_.build(); + } + if (numberArrayPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + numberArrayProperties_ = java.util.Collections.unmodifiableList(numberArrayProperties_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.numberArrayProperties_ = numberArrayProperties_; + } else { + result.numberArrayProperties_ = numberArrayPropertiesBuilder_.build(); + } + if (intArrayPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + intArrayProperties_ = java.util.Collections.unmodifiableList(intArrayProperties_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.intArrayProperties_ = intArrayProperties_; + } else { + result.intArrayProperties_ = intArrayPropertiesBuilder_.build(); + } + if (textArrayPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + textArrayProperties_ = java.util.Collections.unmodifiableList(textArrayProperties_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.textArrayProperties_ = textArrayProperties_; + } else { + result.textArrayProperties_ = textArrayPropertiesBuilder_.build(); + } + if (booleanArrayPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + booleanArrayProperties_ = java.util.Collections.unmodifiableList(booleanArrayProperties_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.booleanArrayProperties_ = booleanArrayProperties_; + } else { + result.booleanArrayProperties_ = booleanArrayPropertiesBuilder_.build(); + } + if (objectPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + objectProperties_ = java.util.Collections.unmodifiableList(objectProperties_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.objectProperties_ = objectProperties_; + } else { + result.objectProperties_ = objectPropertiesBuilder_.build(); + } + if (objectArrayPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + objectArrayProperties_ = java.util.Collections.unmodifiableList(objectArrayProperties_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.objectArrayProperties_ = objectArrayProperties_; + } else { + result.objectArrayProperties_ = objectArrayPropertiesBuilder_.build(); + } + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nonRefProperties_ = nonRefPropertiesBuilder_ == null + ? nonRefProperties_ + : nonRefPropertiesBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + emptyListProps_.makeImmutable(); + result.emptyListProps_ = emptyListProps_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance()) return this; + if (other.hasNonRefProperties()) { + mergeNonRefProperties(other.getNonRefProperties()); + } + if (singleTargetRefPropsBuilder_ == null) { + if (!other.singleTargetRefProps_.isEmpty()) { + if (singleTargetRefProps_.isEmpty()) { + singleTargetRefProps_ = other.singleTargetRefProps_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.addAll(other.singleTargetRefProps_); + } + onChanged(); + } + } else { + if (!other.singleTargetRefProps_.isEmpty()) { + if (singleTargetRefPropsBuilder_.isEmpty()) { + singleTargetRefPropsBuilder_.dispose(); + singleTargetRefPropsBuilder_ = null; + singleTargetRefProps_ = other.singleTargetRefProps_; + bitField0_ = (bitField0_ & ~0x00000002); + singleTargetRefPropsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSingleTargetRefPropsFieldBuilder() : null; + } else { + singleTargetRefPropsBuilder_.addAllMessages(other.singleTargetRefProps_); + } + } + } + if (multiTargetRefPropsBuilder_ == null) { + if (!other.multiTargetRefProps_.isEmpty()) { + if (multiTargetRefProps_.isEmpty()) { + multiTargetRefProps_ = other.multiTargetRefProps_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.addAll(other.multiTargetRefProps_); + } + onChanged(); + } + } else { + if (!other.multiTargetRefProps_.isEmpty()) { + if (multiTargetRefPropsBuilder_.isEmpty()) { + multiTargetRefPropsBuilder_.dispose(); + multiTargetRefPropsBuilder_ = null; + multiTargetRefProps_ = other.multiTargetRefProps_; + bitField0_ = (bitField0_ & ~0x00000004); + multiTargetRefPropsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMultiTargetRefPropsFieldBuilder() : null; + } else { + multiTargetRefPropsBuilder_.addAllMessages(other.multiTargetRefProps_); + } + } + } + if (numberArrayPropertiesBuilder_ == null) { + if (!other.numberArrayProperties_.isEmpty()) { + if (numberArrayProperties_.isEmpty()) { + numberArrayProperties_ = other.numberArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.addAll(other.numberArrayProperties_); + } + onChanged(); + } + } else { + if (!other.numberArrayProperties_.isEmpty()) { + if (numberArrayPropertiesBuilder_.isEmpty()) { + numberArrayPropertiesBuilder_.dispose(); + numberArrayPropertiesBuilder_ = null; + numberArrayProperties_ = other.numberArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000008); + numberArrayPropertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNumberArrayPropertiesFieldBuilder() : null; + } else { + numberArrayPropertiesBuilder_.addAllMessages(other.numberArrayProperties_); + } + } + } + if (intArrayPropertiesBuilder_ == null) { + if (!other.intArrayProperties_.isEmpty()) { + if (intArrayProperties_.isEmpty()) { + intArrayProperties_ = other.intArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.addAll(other.intArrayProperties_); + } + onChanged(); + } + } else { + if (!other.intArrayProperties_.isEmpty()) { + if (intArrayPropertiesBuilder_.isEmpty()) { intArrayPropertiesBuilder_.dispose(); intArrayPropertiesBuilder_ = null; intArrayProperties_ = other.intArrayProperties_; @@ -2491,2473 +12125,4153 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP } } } - if (textArrayPropertiesBuilder_ == null) { - if (!other.textArrayProperties_.isEmpty()) { - if (textArrayProperties_.isEmpty()) { - textArrayProperties_ = other.textArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.addAll(other.textArrayProperties_); - } - onChanged(); - } + if (textArrayPropertiesBuilder_ == null) { + if (!other.textArrayProperties_.isEmpty()) { + if (textArrayProperties_.isEmpty()) { + textArrayProperties_ = other.textArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.addAll(other.textArrayProperties_); + } + onChanged(); + } + } else { + if (!other.textArrayProperties_.isEmpty()) { + if (textArrayPropertiesBuilder_.isEmpty()) { + textArrayPropertiesBuilder_.dispose(); + textArrayPropertiesBuilder_ = null; + textArrayProperties_ = other.textArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000020); + textArrayPropertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTextArrayPropertiesFieldBuilder() : null; + } else { + textArrayPropertiesBuilder_.addAllMessages(other.textArrayProperties_); + } + } + } + if (booleanArrayPropertiesBuilder_ == null) { + if (!other.booleanArrayProperties_.isEmpty()) { + if (booleanArrayProperties_.isEmpty()) { + booleanArrayProperties_ = other.booleanArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.addAll(other.booleanArrayProperties_); + } + onChanged(); + } + } else { + if (!other.booleanArrayProperties_.isEmpty()) { + if (booleanArrayPropertiesBuilder_.isEmpty()) { + booleanArrayPropertiesBuilder_.dispose(); + booleanArrayPropertiesBuilder_ = null; + booleanArrayProperties_ = other.booleanArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000040); + booleanArrayPropertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBooleanArrayPropertiesFieldBuilder() : null; + } else { + booleanArrayPropertiesBuilder_.addAllMessages(other.booleanArrayProperties_); + } + } + } + if (objectPropertiesBuilder_ == null) { + if (!other.objectProperties_.isEmpty()) { + if (objectProperties_.isEmpty()) { + objectProperties_ = other.objectProperties_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureObjectPropertiesIsMutable(); + objectProperties_.addAll(other.objectProperties_); + } + onChanged(); + } + } else { + if (!other.objectProperties_.isEmpty()) { + if (objectPropertiesBuilder_.isEmpty()) { + objectPropertiesBuilder_.dispose(); + objectPropertiesBuilder_ = null; + objectProperties_ = other.objectProperties_; + bitField0_ = (bitField0_ & ~0x00000080); + objectPropertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getObjectPropertiesFieldBuilder() : null; + } else { + objectPropertiesBuilder_.addAllMessages(other.objectProperties_); + } + } + } + if (objectArrayPropertiesBuilder_ == null) { + if (!other.objectArrayProperties_.isEmpty()) { + if (objectArrayProperties_.isEmpty()) { + objectArrayProperties_ = other.objectArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.addAll(other.objectArrayProperties_); + } + onChanged(); + } + } else { + if (!other.objectArrayProperties_.isEmpty()) { + if (objectArrayPropertiesBuilder_.isEmpty()) { + objectArrayPropertiesBuilder_.dispose(); + objectArrayPropertiesBuilder_ = null; + objectArrayProperties_ = other.objectArrayProperties_; + bitField0_ = (bitField0_ & ~0x00000100); + objectArrayPropertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getObjectArrayPropertiesFieldBuilder() : null; + } else { + objectArrayPropertiesBuilder_.addAllMessages(other.objectArrayProperties_); + } + } + } + if (!other.emptyListProps_.isEmpty()) { + if (emptyListProps_.isEmpty()) { + emptyListProps_ = other.emptyListProps_; + bitField0_ |= 0x00000200; + } else { + ensureEmptyListPropsIsMutable(); + emptyListProps_.addAll(other.emptyListProps_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getNonRefPropertiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.parser(), + extensionRegistry); + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.add(m); + } else { + singleTargetRefPropsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.parser(), + extensionRegistry); + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.add(m); + } else { + multiTargetRefPropsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.parser(), + extensionRegistry); + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.add(m); + } else { + numberArrayPropertiesBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.parser(), + extensionRegistry); + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.add(m); + } else { + intArrayPropertiesBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.parser(), + extensionRegistry); + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.add(m); + } else { + textArrayPropertiesBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.parser(), + extensionRegistry); + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.add(m); + } else { + booleanArrayPropertiesBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.parser(), + extensionRegistry); + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); + objectProperties_.add(m); + } else { + objectPropertiesBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.parser(), + extensionRegistry); + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.add(m); + } else { + objectArrayPropertiesBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmptyListPropsIsMutable(); + emptyListProps_.add(s); + break; + } // case 82 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.Struct nonRefProperties_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> nonRefPropertiesBuilder_; + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return Whether the nonRefProperties field is set. + */ + public boolean hasNonRefProperties() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + * @return The nonRefProperties. + */ + public com.google.protobuf.Struct getNonRefProperties() { + if (nonRefPropertiesBuilder_ == null) { + return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + } else { + return nonRefPropertiesBuilder_.getMessage(); + } + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public Builder setNonRefProperties(com.google.protobuf.Struct value) { + if (nonRefPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nonRefProperties_ = value; + } else { + nonRefPropertiesBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public Builder setNonRefProperties( + com.google.protobuf.Struct.Builder builderForValue) { + if (nonRefPropertiesBuilder_ == null) { + nonRefProperties_ = builderForValue.build(); + } else { + nonRefPropertiesBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public Builder mergeNonRefProperties(com.google.protobuf.Struct value) { + if (nonRefPropertiesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + nonRefProperties_ != null && + nonRefProperties_ != com.google.protobuf.Struct.getDefaultInstance()) { + getNonRefPropertiesBuilder().mergeFrom(value); + } else { + nonRefProperties_ = value; + } + } else { + nonRefPropertiesBuilder_.mergeFrom(value); + } + if (nonRefProperties_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public Builder clearNonRefProperties() { + bitField0_ = (bitField0_ & ~0x00000001); + nonRefProperties_ = null; + if (nonRefPropertiesBuilder_ != null) { + nonRefPropertiesBuilder_.dispose(); + nonRefPropertiesBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public com.google.protobuf.Struct.Builder getNonRefPropertiesBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getNonRefPropertiesFieldBuilder().getBuilder(); + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { + if (nonRefPropertiesBuilder_ != null) { + return nonRefPropertiesBuilder_.getMessageOrBuilder(); + } else { + return nonRefProperties_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + } + } + /** + * .google.protobuf.Struct non_ref_properties = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + getNonRefPropertiesFieldBuilder() { + if (nonRefPropertiesBuilder_ == null) { + nonRefPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getNonRefProperties(), + getParentForChildren(), + isClean()); + nonRefProperties_ = null; + } + return nonRefPropertiesBuilder_; + } + + private java.util.List singleTargetRefProps_ = + java.util.Collections.emptyList(); + private void ensureSingleTargetRefPropsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + singleTargetRefProps_ = new java.util.ArrayList(singleTargetRefProps_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder> singleTargetRefPropsBuilder_; + + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public java.util.List getSingleTargetRefPropsList() { + if (singleTargetRefPropsBuilder_ == null) { + return java.util.Collections.unmodifiableList(singleTargetRefProps_); + } else { + return singleTargetRefPropsBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public int getSingleTargetRefPropsCount() { + if (singleTargetRefPropsBuilder_ == null) { + return singleTargetRefProps_.size(); + } else { + return singleTargetRefPropsBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index) { + if (singleTargetRefPropsBuilder_ == null) { + return singleTargetRefProps_.get(index); + } else { + return singleTargetRefPropsBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder setSingleTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { + if (singleTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.set(index, value); + onChanged(); + } else { + singleTargetRefPropsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder setSingleTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.set(index, builderForValue.build()); + onChanged(); + } else { + singleTargetRefPropsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder addSingleTargetRefProps(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { + if (singleTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.add(value); + onChanged(); + } else { + singleTargetRefPropsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder addSingleTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { + if (singleTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.add(index, value); + onChanged(); + } else { + singleTargetRefPropsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder addSingleTargetRefProps( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.add(builderForValue.build()); + onChanged(); + } else { + singleTargetRefPropsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder addSingleTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.add(index, builderForValue.build()); + onChanged(); + } else { + singleTargetRefPropsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder addAllSingleTargetRefProps( + java.lang.Iterable values) { + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, singleTargetRefProps_); + onChanged(); + } else { + singleTargetRefPropsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder clearSingleTargetRefProps() { + if (singleTargetRefPropsBuilder_ == null) { + singleTargetRefProps_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + singleTargetRefPropsBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public Builder removeSingleTargetRefProps(int index) { + if (singleTargetRefPropsBuilder_ == null) { + ensureSingleTargetRefPropsIsMutable(); + singleTargetRefProps_.remove(index); + onChanged(); + } else { + singleTargetRefPropsBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder getSingleTargetRefPropsBuilder( + int index) { + return getSingleTargetRefPropsFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( + int index) { + if (singleTargetRefPropsBuilder_ == null) { + return singleTargetRefProps_.get(index); } else { + return singleTargetRefPropsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public java.util.List + getSingleTargetRefPropsOrBuilderList() { + if (singleTargetRefPropsBuilder_ != null) { + return singleTargetRefPropsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(singleTargetRefProps_); + } + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder addSingleTargetRefPropsBuilder() { + return getSingleTargetRefPropsFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder addSingleTargetRefPropsBuilder( + int index) { + return getSingleTargetRefPropsFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + */ + public java.util.List + getSingleTargetRefPropsBuilderList() { + return getSingleTargetRefPropsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder> + getSingleTargetRefPropsFieldBuilder() { + if (singleTargetRefPropsBuilder_ == null) { + singleTargetRefPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder>( + singleTargetRefProps_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + singleTargetRefProps_ = null; + } + return singleTargetRefPropsBuilder_; + } + + private java.util.List multiTargetRefProps_ = + java.util.Collections.emptyList(); + private void ensureMultiTargetRefPropsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + multiTargetRefProps_ = new java.util.ArrayList(multiTargetRefProps_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder> multiTargetRefPropsBuilder_; + + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public java.util.List getMultiTargetRefPropsList() { + if (multiTargetRefPropsBuilder_ == null) { + return java.util.Collections.unmodifiableList(multiTargetRefProps_); + } else { + return multiTargetRefPropsBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public int getMultiTargetRefPropsCount() { + if (multiTargetRefPropsBuilder_ == null) { + return multiTargetRefProps_.size(); + } else { + return multiTargetRefPropsBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index) { + if (multiTargetRefPropsBuilder_ == null) { + return multiTargetRefProps_.get(index); + } else { + return multiTargetRefPropsBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder setMultiTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { + if (multiTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.set(index, value); + onChanged(); + } else { + multiTargetRefPropsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder setMultiTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.set(index, builderForValue.build()); + onChanged(); + } else { + multiTargetRefPropsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder addMultiTargetRefProps(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { + if (multiTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.add(value); + onChanged(); + } else { + multiTargetRefPropsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder addMultiTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { + if (multiTargetRefPropsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.add(index, value); + onChanged(); + } else { + multiTargetRefPropsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder addMultiTargetRefProps( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.add(builderForValue.build()); + onChanged(); + } else { + multiTargetRefPropsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder addMultiTargetRefProps( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.add(index, builderForValue.build()); + onChanged(); + } else { + multiTargetRefPropsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder addAllMultiTargetRefProps( + java.lang.Iterable values) { + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, multiTargetRefProps_); + onChanged(); + } else { + multiTargetRefPropsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder clearMultiTargetRefProps() { + if (multiTargetRefPropsBuilder_ == null) { + multiTargetRefProps_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + multiTargetRefPropsBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public Builder removeMultiTargetRefProps(int index) { + if (multiTargetRefPropsBuilder_ == null) { + ensureMultiTargetRefPropsIsMutable(); + multiTargetRefProps_.remove(index); + onChanged(); + } else { + multiTargetRefPropsBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder getMultiTargetRefPropsBuilder( + int index) { + return getMultiTargetRefPropsFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( + int index) { + if (multiTargetRefPropsBuilder_ == null) { + return multiTargetRefProps_.get(index); } else { + return multiTargetRefPropsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public java.util.List + getMultiTargetRefPropsOrBuilderList() { + if (multiTargetRefPropsBuilder_ != null) { + return multiTargetRefPropsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(multiTargetRefProps_); + } + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder addMultiTargetRefPropsBuilder() { + return getMultiTargetRefPropsFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder addMultiTargetRefPropsBuilder( + int index) { + return getMultiTargetRefPropsFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + */ + public java.util.List + getMultiTargetRefPropsBuilderList() { + return getMultiTargetRefPropsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder> + getMultiTargetRefPropsFieldBuilder() { + if (multiTargetRefPropsBuilder_ == null) { + multiTargetRefPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder>( + multiTargetRefProps_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + multiTargetRefProps_ = null; + } + return multiTargetRefPropsBuilder_; + } + + private java.util.List numberArrayProperties_ = + java.util.Collections.emptyList(); + private void ensureNumberArrayPropertiesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + numberArrayProperties_ = new java.util.ArrayList(numberArrayProperties_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> numberArrayPropertiesBuilder_; + + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public java.util.List getNumberArrayPropertiesList() { + if (numberArrayPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(numberArrayProperties_); + } else { + return numberArrayPropertiesBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public int getNumberArrayPropertiesCount() { + if (numberArrayPropertiesBuilder_ == null) { + return numberArrayProperties_.size(); + } else { + return numberArrayPropertiesBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { + if (numberArrayPropertiesBuilder_ == null) { + return numberArrayProperties_.get(index); + } else { + return numberArrayPropertiesBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder setNumberArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { + if (numberArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.set(index, value); + onChanged(); + } else { + numberArrayPropertiesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder setNumberArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.set(index, builderForValue.build()); + onChanged(); + } else { + numberArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder addNumberArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { + if (numberArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.add(value); + onChanged(); + } else { + numberArrayPropertiesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder addNumberArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { + if (numberArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.add(index, value); + onChanged(); + } else { + numberArrayPropertiesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder addNumberArrayProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.add(builderForValue.build()); + onChanged(); + } else { + numberArrayPropertiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder addNumberArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.add(index, builderForValue.build()); + onChanged(); + } else { + numberArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder addAllNumberArrayProperties( + java.lang.Iterable values) { + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, numberArrayProperties_); + onChanged(); + } else { + numberArrayPropertiesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder clearNumberArrayProperties() { + if (numberArrayPropertiesBuilder_ == null) { + numberArrayProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + numberArrayPropertiesBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public Builder removeNumberArrayProperties(int index) { + if (numberArrayPropertiesBuilder_ == null) { + ensureNumberArrayPropertiesIsMutable(); + numberArrayProperties_.remove(index); + onChanged(); + } else { + numberArrayPropertiesBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder getNumberArrayPropertiesBuilder( + int index) { + return getNumberArrayPropertiesFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( + int index) { + if (numberArrayPropertiesBuilder_ == null) { + return numberArrayProperties_.get(index); } else { + return numberArrayPropertiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public java.util.List + getNumberArrayPropertiesOrBuilderList() { + if (numberArrayPropertiesBuilder_ != null) { + return numberArrayPropertiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(numberArrayProperties_); + } + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder() { + return getNumberArrayPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder( + int index) { + return getNumberArrayPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + */ + public java.util.List + getNumberArrayPropertiesBuilderList() { + return getNumberArrayPropertiesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> + getNumberArrayPropertiesFieldBuilder() { + if (numberArrayPropertiesBuilder_ == null) { + numberArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder>( + numberArrayProperties_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + numberArrayProperties_ = null; + } + return numberArrayPropertiesBuilder_; + } + + private java.util.List intArrayProperties_ = + java.util.Collections.emptyList(); + private void ensureIntArrayPropertiesIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + intArrayProperties_ = new java.util.ArrayList(intArrayProperties_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> intArrayPropertiesBuilder_; + + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public java.util.List getIntArrayPropertiesList() { + if (intArrayPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(intArrayProperties_); + } else { + return intArrayPropertiesBuilder_.getMessageList(); + } + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public int getIntArrayPropertiesCount() { + if (intArrayPropertiesBuilder_ == null) { + return intArrayProperties_.size(); } else { - if (!other.textArrayProperties_.isEmpty()) { - if (textArrayPropertiesBuilder_.isEmpty()) { - textArrayPropertiesBuilder_.dispose(); - textArrayPropertiesBuilder_ = null; - textArrayProperties_ = other.textArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000020); - textArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTextArrayPropertiesFieldBuilder() : null; - } else { - textArrayPropertiesBuilder_.addAllMessages(other.textArrayProperties_); - } - } + return intArrayPropertiesBuilder_.getCount(); } - if (booleanArrayPropertiesBuilder_ == null) { - if (!other.booleanArrayProperties_.isEmpty()) { - if (booleanArrayProperties_.isEmpty()) { - booleanArrayProperties_ = other.booleanArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.addAll(other.booleanArrayProperties_); - } - onChanged(); - } + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { + if (intArrayPropertiesBuilder_ == null) { + return intArrayProperties_.get(index); } else { - if (!other.booleanArrayProperties_.isEmpty()) { - if (booleanArrayPropertiesBuilder_.isEmpty()) { - booleanArrayPropertiesBuilder_.dispose(); - booleanArrayPropertiesBuilder_ = null; - booleanArrayProperties_ = other.booleanArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000040); - booleanArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBooleanArrayPropertiesFieldBuilder() : null; - } else { - booleanArrayPropertiesBuilder_.addAllMessages(other.booleanArrayProperties_); - } - } + return intArrayPropertiesBuilder_.getMessage(index); } - if (objectPropertiesBuilder_ == null) { - if (!other.objectProperties_.isEmpty()) { - if (objectProperties_.isEmpty()) { - objectProperties_ = other.objectProperties_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureObjectPropertiesIsMutable(); - objectProperties_.addAll(other.objectProperties_); - } - onChanged(); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder setIntArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { + if (intArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.set(index, value); + onChanged(); } else { - if (!other.objectProperties_.isEmpty()) { - if (objectPropertiesBuilder_.isEmpty()) { - objectPropertiesBuilder_.dispose(); - objectPropertiesBuilder_ = null; - objectProperties_ = other.objectProperties_; - bitField0_ = (bitField0_ & ~0x00000080); - objectPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectPropertiesFieldBuilder() : null; - } else { - objectPropertiesBuilder_.addAllMessages(other.objectProperties_); - } + intArrayPropertiesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder setIntArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.set(index, builderForValue.build()); + onChanged(); + } else { + intArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder addIntArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { + if (intArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.add(value); + onChanged(); + } else { + intArrayPropertiesBuilder_.addMessage(value); } - if (objectArrayPropertiesBuilder_ == null) { - if (!other.objectArrayProperties_.isEmpty()) { - if (objectArrayProperties_.isEmpty()) { - objectArrayProperties_ = other.objectArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000100); - } else { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.addAll(other.objectArrayProperties_); - } - onChanged(); + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder addIntArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { + if (intArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.add(index, value); + onChanged(); + } else { + intArrayPropertiesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder addIntArrayProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.add(builderForValue.build()); + onChanged(); + } else { + intArrayPropertiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder addIntArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.add(index, builderForValue.build()); + onChanged(); + } else { + intArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder addAllIntArrayProperties( + java.lang.Iterable values) { + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, intArrayProperties_); + onChanged(); + } else { + intArrayPropertiesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder clearIntArrayProperties() { + if (intArrayPropertiesBuilder_ == null) { + intArrayProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + intArrayPropertiesBuilder_.clear(); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public Builder removeIntArrayProperties(int index) { + if (intArrayPropertiesBuilder_ == null) { + ensureIntArrayPropertiesIsMutable(); + intArrayProperties_.remove(index); + onChanged(); + } else { + intArrayPropertiesBuilder_.remove(index); + } + return this; + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder getIntArrayPropertiesBuilder( + int index) { + return getIntArrayPropertiesFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( + int index) { + if (intArrayPropertiesBuilder_ == null) { + return intArrayProperties_.get(index); } else { + return intArrayPropertiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public java.util.List + getIntArrayPropertiesOrBuilderList() { + if (intArrayPropertiesBuilder_ != null) { + return intArrayPropertiesBuilder_.getMessageOrBuilderList(); } else { - if (!other.objectArrayProperties_.isEmpty()) { - if (objectArrayPropertiesBuilder_.isEmpty()) { - objectArrayPropertiesBuilder_.dispose(); - objectArrayPropertiesBuilder_ = null; - objectArrayProperties_ = other.objectArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000100); - objectArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectArrayPropertiesFieldBuilder() : null; - } else { - objectArrayPropertiesBuilder_.addAllMessages(other.objectArrayProperties_); - } - } + return java.util.Collections.unmodifiableList(intArrayProperties_); } - if (!other.emptyListProps_.isEmpty()) { - if (emptyListProps_.isEmpty()) { - emptyListProps_ = other.emptyListProps_; - bitField0_ |= 0x00000200; - } else { - ensureEmptyListPropsIsMutable(); - emptyListProps_.addAll(other.emptyListProps_); - } - onChanged(); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder() { + return getIntArrayPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder( + int index) { + return getIntArrayPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + */ + public java.util.List + getIntArrayPropertiesBuilderList() { + return getIntArrayPropertiesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> + getIntArrayPropertiesFieldBuilder() { + if (intArrayPropertiesBuilder_ == null) { + intArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder>( + intArrayProperties_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + intArrayProperties_ = null; } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + return intArrayPropertiesBuilder_; } - @java.lang.Override - public final boolean isInitialized() { - return true; + private java.util.List textArrayProperties_ = + java.util.Collections.emptyList(); + private void ensureTextArrayPropertiesIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + textArrayProperties_ = new java.util.ArrayList(textArrayProperties_); + bitField0_ |= 0x00000020; + } } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> textArrayPropertiesBuilder_; + + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public java.util.List getTextArrayPropertiesList() { + if (textArrayPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(textArrayProperties_); + } else { + return textArrayPropertiesBuilder_.getMessageList(); } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage( - getNonRefPropertiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.parser(), - extensionRegistry); - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.add(m); - } else { - singleTargetRefPropsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.parser(), - extensionRegistry); - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.add(m); - } else { - multiTargetRefPropsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.parser(), - extensionRegistry); - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(m); - } else { - numberArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.parser(), - extensionRegistry); - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(m); - } else { - intArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.parser(), - extensionRegistry); - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(m); - } else { - textArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.parser(), - extensionRegistry); - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(m); - } else { - booleanArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.parser(), - extensionRegistry); - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(m); - } else { - objectPropertiesBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.parser(), - extensionRegistry); - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(m); - } else { - objectArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 74 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmptyListPropsIsMutable(); - emptyListProps_.add(s); - break; - } // case 82 - 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) { - throw e.unwrapIOException(); - } finally { + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public int getTextArrayPropertiesCount() { + if (textArrayPropertiesBuilder_ == null) { + return textArrayProperties_.size(); + } else { + return textArrayPropertiesBuilder_.getCount(); + } + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { + if (textArrayPropertiesBuilder_ == null) { + return textArrayProperties_.get(index); + } else { + return textArrayPropertiesBuilder_.getMessage(index); + } + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public Builder setTextArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { + if (textArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.set(index, value); onChanged(); - } // finally + } else { + textArrayPropertiesBuilder_.setMessage(index, value); + } return this; } - private int bitField0_; - - private com.google.protobuf.Struct nonRefProperties_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> nonRefPropertiesBuilder_; /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return Whether the nonRefProperties field is set. + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public boolean hasNonRefProperties() { - return ((bitField0_ & 0x00000001) != 0); + public Builder setTextArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.set(index, builderForValue.build()); + onChanged(); + } else { + textArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; - * @return The nonRefProperties. + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public com.google.protobuf.Struct getNonRefProperties() { - if (nonRefPropertiesBuilder_ == null) { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + public Builder addTextArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { + if (textArrayPropertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.add(value); + onChanged(); } else { - return nonRefPropertiesBuilder_.getMessage(); + textArrayPropertiesBuilder_.addMessage(value); } + return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public Builder setNonRefProperties(com.google.protobuf.Struct value) { - if (nonRefPropertiesBuilder_ == null) { + public Builder addTextArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { + if (textArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - nonRefProperties_ = value; + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.add(index, value); + onChanged(); } else { - nonRefPropertiesBuilder_.setMessage(value); + textArrayPropertiesBuilder_.addMessage(index, value); } - bitField0_ |= 0x00000001; - onChanged(); return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public Builder setNonRefProperties( - com.google.protobuf.Struct.Builder builderForValue) { - if (nonRefPropertiesBuilder_ == null) { - nonRefProperties_ = builderForValue.build(); + public Builder addTextArrayProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.add(builderForValue.build()); + onChanged(); } else { - nonRefPropertiesBuilder_.setMessage(builderForValue.build()); + textArrayPropertiesBuilder_.addMessage(builderForValue.build()); } - bitField0_ |= 0x00000001; - onChanged(); return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public Builder mergeNonRefProperties(com.google.protobuf.Struct value) { - if (nonRefPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - nonRefProperties_ != null && - nonRefProperties_ != com.google.protobuf.Struct.getDefaultInstance()) { - getNonRefPropertiesBuilder().mergeFrom(value); - } else { - nonRefProperties_ = value; - } + public Builder addTextArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.add(index, builderForValue.build()); + onChanged(); } else { - nonRefPropertiesBuilder_.mergeFrom(value); + textArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); } - if (nonRefProperties_ != null) { - bitField0_ |= 0x00000001; + return this; + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public Builder addAllTextArrayProperties( + java.lang.Iterable values) { + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, textArrayProperties_); onChanged(); + } else { + textArrayPropertiesBuilder_.addAllMessages(values); } return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public Builder clearNonRefProperties() { - bitField0_ = (bitField0_ & ~0x00000001); - nonRefProperties_ = null; - if (nonRefPropertiesBuilder_ != null) { - nonRefPropertiesBuilder_.dispose(); - nonRefPropertiesBuilder_ = null; + public Builder clearTextArrayProperties() { + if (textArrayPropertiesBuilder_ == null) { + textArrayProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + } else { + textArrayPropertiesBuilder_.clear(); } - onChanged(); return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public com.google.protobuf.Struct.Builder getNonRefPropertiesBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getNonRefPropertiesFieldBuilder().getBuilder(); + public Builder removeTextArrayProperties(int index) { + if (textArrayPropertiesBuilder_ == null) { + ensureTextArrayPropertiesIsMutable(); + textArrayProperties_.remove(index); + onChanged(); + } else { + textArrayPropertiesBuilder_.remove(index); + } + return this; } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { - if (nonRefPropertiesBuilder_ != null) { - return nonRefPropertiesBuilder_.getMessageOrBuilder(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder getTextArrayPropertiesBuilder( + int index) { + return getTextArrayPropertiesFieldBuilder().getBuilder(index); + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( + int index) { + if (textArrayPropertiesBuilder_ == null) { + return textArrayProperties_.get(index); } else { + return textArrayPropertiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public java.util.List + getTextArrayPropertiesOrBuilderList() { + if (textArrayPropertiesBuilder_ != null) { + return textArrayPropertiesBuilder_.getMessageOrBuilderList(); } else { - return nonRefProperties_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + return java.util.Collections.unmodifiableList(textArrayProperties_); } } /** - * .google.protobuf.Struct non_ref_properties = 1; + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getNonRefPropertiesFieldBuilder() { - if (nonRefPropertiesBuilder_ == null) { - nonRefPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getNonRefProperties(), + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder() { + return getTextArrayPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder( + int index) { + return getTextArrayPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); + } + /** + * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; + */ + public java.util.List + getTextArrayPropertiesBuilderList() { + return getTextArrayPropertiesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> + getTextArrayPropertiesFieldBuilder() { + if (textArrayPropertiesBuilder_ == null) { + textArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder>( + textArrayProperties_, + ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); - nonRefProperties_ = null; + textArrayProperties_ = null; } - return nonRefPropertiesBuilder_; + return textArrayPropertiesBuilder_; } - private java.util.List singleTargetRefProps_ = + private java.util.List booleanArrayProperties_ = java.util.Collections.emptyList(); - private void ensureSingleTargetRefPropsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - singleTargetRefProps_ = new java.util.ArrayList(singleTargetRefProps_); - bitField0_ |= 0x00000002; + private void ensureBooleanArrayPropertiesIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + booleanArrayProperties_ = new java.util.ArrayList(booleanArrayProperties_); + bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder> singleTargetRefPropsBuilder_; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> booleanArrayPropertiesBuilder_; /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public java.util.List getSingleTargetRefPropsList() { - if (singleTargetRefPropsBuilder_ == null) { - return java.util.Collections.unmodifiableList(singleTargetRefProps_); + public java.util.List getBooleanArrayPropertiesList() { + if (booleanArrayPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(booleanArrayProperties_); } else { - return singleTargetRefPropsBuilder_.getMessageList(); + return booleanArrayPropertiesBuilder_.getMessageList(); } } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public int getSingleTargetRefPropsCount() { - if (singleTargetRefPropsBuilder_ == null) { - return singleTargetRefProps_.size(); + public int getBooleanArrayPropertiesCount() { + if (booleanArrayPropertiesBuilder_ == null) { + return booleanArrayProperties_.size(); } else { - return singleTargetRefPropsBuilder_.getCount(); + return booleanArrayPropertiesBuilder_.getCount(); } } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getSingleTargetRefProps(int index) { - if (singleTargetRefPropsBuilder_ == null) { - return singleTargetRefProps_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { + if (booleanArrayPropertiesBuilder_ == null) { + return booleanArrayProperties_.get(index); } else { - return singleTargetRefPropsBuilder_.getMessage(index); + return booleanArrayPropertiesBuilder_.getMessage(index); } } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; - */ - public Builder setSingleTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { - if (singleTargetRefPropsBuilder_ == null) { + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + */ + public Builder setBooleanArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { + if (booleanArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.set(index, value); + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.set(index, value); onChanged(); } else { - singleTargetRefPropsBuilder_.setMessage(index, value); + booleanArrayPropertiesBuilder_.setMessage(index, value); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder setSingleTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.set(index, builderForValue.build()); + public Builder setBooleanArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.set(index, builderForValue.build()); onChanged(); } else { - singleTargetRefPropsBuilder_.setMessage(index, builderForValue.build()); + booleanArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder addSingleTargetRefProps(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { - if (singleTargetRefPropsBuilder_ == null) { + public Builder addBooleanArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { + if (booleanArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.add(value); + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.add(value); onChanged(); } else { - singleTargetRefPropsBuilder_.addMessage(value); + booleanArrayPropertiesBuilder_.addMessage(value); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder addSingleTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps value) { - if (singleTargetRefPropsBuilder_ == null) { + public Builder addBooleanArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { + if (booleanArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.add(index, value); + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.add(index, value); onChanged(); } else { - singleTargetRefPropsBuilder_.addMessage(index, value); + booleanArrayPropertiesBuilder_.addMessage(index, value); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder addSingleTargetRefProps( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.add(builderForValue.build()); + public Builder addBooleanArrayProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.add(builderForValue.build()); onChanged(); } else { - singleTargetRefPropsBuilder_.addMessage(builderForValue.build()); + booleanArrayPropertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder addSingleTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder builderForValue) { - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.add(index, builderForValue.build()); + public Builder addBooleanArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.add(index, builderForValue.build()); onChanged(); } else { - singleTargetRefPropsBuilder_.addMessage(index, builderForValue.build()); + booleanArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder addAllSingleTargetRefProps( - java.lang.Iterable values) { - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); + public Builder addAllBooleanArrayProperties( + java.lang.Iterable values) { + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, singleTargetRefProps_); + values, booleanArrayProperties_); onChanged(); } else { - singleTargetRefPropsBuilder_.addAllMessages(values); + booleanArrayPropertiesBuilder_.addAllMessages(values); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder clearSingleTargetRefProps() { - if (singleTargetRefPropsBuilder_ == null) { - singleTargetRefProps_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + public Builder clearBooleanArrayProperties() { + if (booleanArrayPropertiesBuilder_ == null) { + booleanArrayProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { - singleTargetRefPropsBuilder_.clear(); + booleanArrayPropertiesBuilder_.clear(); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public Builder removeSingleTargetRefProps(int index) { - if (singleTargetRefPropsBuilder_ == null) { - ensureSingleTargetRefPropsIsMutable(); - singleTargetRefProps_.remove(index); + public Builder removeBooleanArrayProperties(int index) { + if (booleanArrayPropertiesBuilder_ == null) { + ensureBooleanArrayPropertiesIsMutable(); + booleanArrayProperties_.remove(index); onChanged(); } else { - singleTargetRefPropsBuilder_.remove(index); + booleanArrayPropertiesBuilder_.remove(index); } return this; } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder getSingleTargetRefPropsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder getBooleanArrayPropertiesBuilder( int index) { - return getSingleTargetRefPropsFieldBuilder().getBuilder(index); + return getBooleanArrayPropertiesFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder getSingleTargetRefPropsOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( int index) { - if (singleTargetRefPropsBuilder_ == null) { - return singleTargetRefProps_.get(index); } else { - return singleTargetRefPropsBuilder_.getMessageOrBuilder(index); + if (booleanArrayPropertiesBuilder_ == null) { + return booleanArrayProperties_.get(index); } else { + return booleanArrayPropertiesBuilder_.getMessageOrBuilder(index); } } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public java.util.List - getSingleTargetRefPropsOrBuilderList() { - if (singleTargetRefPropsBuilder_ != null) { - return singleTargetRefPropsBuilder_.getMessageOrBuilderList(); + public java.util.List + getBooleanArrayPropertiesOrBuilderList() { + if (booleanArrayPropertiesBuilder_ != null) { + return booleanArrayPropertiesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(singleTargetRefProps_); + return java.util.Collections.unmodifiableList(booleanArrayProperties_); } } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder addSingleTargetRefPropsBuilder() { - return getSingleTargetRefPropsFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder() { + return getBooleanArrayPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder addSingleTargetRefPropsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder( int index) { - return getSingleTargetRefPropsFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()); + return getBooleanArrayPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObject.SingleTargetRefProps single_target_ref_props = 2; + * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; */ - public java.util.List - getSingleTargetRefPropsBuilderList() { - return getSingleTargetRefPropsFieldBuilder().getBuilderList(); + public java.util.List + getBooleanArrayPropertiesBuilderList() { + return getBooleanArrayPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder> - getSingleTargetRefPropsFieldBuilder() { - if (singleTargetRefPropsBuilder_ == null) { - singleTargetRefPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder>( - singleTargetRefProps_, - ((bitField0_ & 0x00000002) != 0), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> + getBooleanArrayPropertiesFieldBuilder() { + if (booleanArrayPropertiesBuilder_ == null) { + booleanArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder>( + booleanArrayProperties_, + ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); - singleTargetRefProps_ = null; + booleanArrayProperties_ = null; } - return singleTargetRefPropsBuilder_; + return booleanArrayPropertiesBuilder_; } - private java.util.List multiTargetRefProps_ = + private java.util.List objectProperties_ = java.util.Collections.emptyList(); - private void ensureMultiTargetRefPropsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - multiTargetRefProps_ = new java.util.ArrayList(multiTargetRefProps_); - bitField0_ |= 0x00000004; + private void ensureObjectPropertiesIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + objectProperties_ = new java.util.ArrayList(objectProperties_); + bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder> multiTargetRefPropsBuilder_; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> objectPropertiesBuilder_; /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public java.util.List getMultiTargetRefPropsList() { - if (multiTargetRefPropsBuilder_ == null) { - return java.util.Collections.unmodifiableList(multiTargetRefProps_); + public java.util.List getObjectPropertiesList() { + if (objectPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(objectProperties_); } else { - return multiTargetRefPropsBuilder_.getMessageList(); + return objectPropertiesBuilder_.getMessageList(); } } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public int getMultiTargetRefPropsCount() { - if (multiTargetRefPropsBuilder_ == null) { - return multiTargetRefProps_.size(); + public int getObjectPropertiesCount() { + if (objectPropertiesBuilder_ == null) { + return objectProperties_.size(); } else { - return multiTargetRefPropsBuilder_.getCount(); + return objectPropertiesBuilder_.getCount(); } } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getMultiTargetRefProps(int index) { - if (multiTargetRefPropsBuilder_ == null) { - return multiTargetRefProps_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { + if (objectPropertiesBuilder_ == null) { + return objectProperties_.get(index); } else { - return multiTargetRefPropsBuilder_.getMessage(index); + return objectPropertiesBuilder_.getMessage(index); } } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder setMultiTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { - if (multiTargetRefPropsBuilder_ == null) { + public Builder setObjectProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { + if (objectPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.set(index, value); + ensureObjectPropertiesIsMutable(); + objectProperties_.set(index, value); onChanged(); } else { - multiTargetRefPropsBuilder_.setMessage(index, value); + objectPropertiesBuilder_.setMessage(index, value); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder setMultiTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.set(index, builderForValue.build()); + public Builder setObjectProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); + objectProperties_.set(index, builderForValue.build()); onChanged(); } else { - multiTargetRefPropsBuilder_.setMessage(index, builderForValue.build()); + objectPropertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder addMultiTargetRefProps(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { - if (multiTargetRefPropsBuilder_ == null) { + public Builder addObjectProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { + if (objectPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.add(value); + ensureObjectPropertiesIsMutable(); + objectProperties_.add(value); onChanged(); } else { - multiTargetRefPropsBuilder_.addMessage(value); + objectPropertiesBuilder_.addMessage(value); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder addMultiTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps value) { - if (multiTargetRefPropsBuilder_ == null) { + public Builder addObjectProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { + if (objectPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.add(index, value); + ensureObjectPropertiesIsMutable(); + objectProperties_.add(index, value); onChanged(); } else { - multiTargetRefPropsBuilder_.addMessage(index, value); + objectPropertiesBuilder_.addMessage(index, value); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder addMultiTargetRefProps( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.add(builderForValue.build()); + public Builder addObjectProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); + objectProperties_.add(builderForValue.build()); onChanged(); } else { - multiTargetRefPropsBuilder_.addMessage(builderForValue.build()); + objectPropertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder addMultiTargetRefProps( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder builderForValue) { - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.add(index, builderForValue.build()); + public Builder addObjectProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); + objectProperties_.add(index, builderForValue.build()); onChanged(); } else { - multiTargetRefPropsBuilder_.addMessage(index, builderForValue.build()); + objectPropertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder addAllMultiTargetRefProps( - java.lang.Iterable values) { - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); + public Builder addAllObjectProperties( + java.lang.Iterable values) { + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, multiTargetRefProps_); + values, objectProperties_); onChanged(); } else { - multiTargetRefPropsBuilder_.addAllMessages(values); + objectPropertiesBuilder_.addAllMessages(values); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder clearMultiTargetRefProps() { - if (multiTargetRefPropsBuilder_ == null) { - multiTargetRefProps_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + public Builder clearObjectProperties() { + if (objectPropertiesBuilder_ == null) { + objectProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { - multiTargetRefPropsBuilder_.clear(); + objectPropertiesBuilder_.clear(); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public Builder removeMultiTargetRefProps(int index) { - if (multiTargetRefPropsBuilder_ == null) { - ensureMultiTargetRefPropsIsMutable(); - multiTargetRefProps_.remove(index); + public Builder removeObjectProperties(int index) { + if (objectPropertiesBuilder_ == null) { + ensureObjectPropertiesIsMutable(); + objectProperties_.remove(index); onChanged(); } else { - multiTargetRefPropsBuilder_.remove(index); + objectPropertiesBuilder_.remove(index); } return this; } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder getMultiTargetRefPropsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder getObjectPropertiesBuilder( int index) { - return getMultiTargetRefPropsFieldBuilder().getBuilder(index); + return getObjectPropertiesFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder getMultiTargetRefPropsOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( int index) { - if (multiTargetRefPropsBuilder_ == null) { - return multiTargetRefProps_.get(index); } else { - return multiTargetRefPropsBuilder_.getMessageOrBuilder(index); + if (objectPropertiesBuilder_ == null) { + return objectProperties_.get(index); } else { + return objectPropertiesBuilder_.getMessageOrBuilder(index); } } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public java.util.List - getMultiTargetRefPropsOrBuilderList() { - if (multiTargetRefPropsBuilder_ != null) { - return multiTargetRefPropsBuilder_.getMessageOrBuilderList(); + public java.util.List + getObjectPropertiesOrBuilderList() { + if (objectPropertiesBuilder_ != null) { + return objectPropertiesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(multiTargetRefProps_); + return java.util.Collections.unmodifiableList(objectProperties_); } } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder addMultiTargetRefPropsBuilder() { - return getMultiTargetRefPropsFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder() { + return getObjectPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder addMultiTargetRefPropsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder( int index) { - return getMultiTargetRefPropsFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()); + return getObjectPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObject.MultiTargetRefProps multi_target_ref_props = 3; + * repeated .weaviate.v1.ObjectProperties object_properties = 8; */ - public java.util.List - getMultiTargetRefPropsBuilderList() { - return getMultiTargetRefPropsFieldBuilder().getBuilderList(); + public java.util.List + getObjectPropertiesBuilderList() { + return getObjectPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder> - getMultiTargetRefPropsFieldBuilder() { - if (multiTargetRefPropsBuilder_ == null) { - multiTargetRefPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder>( - multiTargetRefProps_, - ((bitField0_ & 0x00000004) != 0), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> + getObjectPropertiesFieldBuilder() { + if (objectPropertiesBuilder_ == null) { + objectPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder>( + objectProperties_, + ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); - multiTargetRefProps_ = null; + objectProperties_ = null; } - return multiTargetRefPropsBuilder_; + return objectPropertiesBuilder_; } - private java.util.List numberArrayProperties_ = + private java.util.List objectArrayProperties_ = java.util.Collections.emptyList(); - private void ensureNumberArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - numberArrayProperties_ = new java.util.ArrayList(numberArrayProperties_); - bitField0_ |= 0x00000008; + private void ensureObjectArrayPropertiesIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + objectArrayProperties_ = new java.util.ArrayList(objectArrayProperties_); + bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> numberArrayPropertiesBuilder_; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> objectArrayPropertiesBuilder_; /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public java.util.List getNumberArrayPropertiesList() { - if (numberArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(numberArrayProperties_); + public java.util.List getObjectArrayPropertiesList() { + if (objectArrayPropertiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(objectArrayProperties_); } else { - return numberArrayPropertiesBuilder_.getMessageList(); + return objectArrayPropertiesBuilder_.getMessageList(); } } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public int getNumberArrayPropertiesCount() { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.size(); + public int getObjectArrayPropertiesCount() { + if (objectArrayPropertiesBuilder_ == null) { + return objectArrayProperties_.size(); } else { - return numberArrayPropertiesBuilder_.getCount(); + return objectArrayPropertiesBuilder_.getCount(); } } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { + if (objectArrayPropertiesBuilder_ == null) { + return objectArrayProperties_.get(index); } else { - return numberArrayPropertiesBuilder_.getMessage(index); + return objectArrayPropertiesBuilder_.getMessage(index); } } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder setNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { + public Builder setObjectArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { + if (objectArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.set(index, value); + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.set(index, value); onChanged(); } else { - numberArrayPropertiesBuilder_.setMessage(index, value); + objectArrayPropertiesBuilder_.setMessage(index, value); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder setNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.set(index, builderForValue.build()); + public Builder setObjectArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.set(index, builderForValue.build()); onChanged(); } else { - numberArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); + objectArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder addNumberArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { + public Builder addObjectArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { + if (objectArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(value); + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.add(value); onChanged(); } else { - numberArrayPropertiesBuilder_.addMessage(value); + objectArrayPropertiesBuilder_.addMessage(value); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder addNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { + public Builder addObjectArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { + if (objectArrayPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(index, value); + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.add(index, value); onChanged(); } else { - numberArrayPropertiesBuilder_.addMessage(index, value); + objectArrayPropertiesBuilder_.addMessage(index, value); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder addNumberArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(builderForValue.build()); + public Builder addObjectArrayProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.add(builderForValue.build()); onChanged(); } else { - numberArrayPropertiesBuilder_.addMessage(builderForValue.build()); + objectArrayPropertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder addNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(index, builderForValue.build()); + public Builder addObjectArrayProperties( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.add(index, builderForValue.build()); onChanged(); } else { - numberArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); + objectArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder addAllNumberArrayProperties( - java.lang.Iterable values) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); + public Builder addAllObjectArrayProperties( + java.lang.Iterable values) { + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, numberArrayProperties_); + values, objectArrayProperties_); onChanged(); } else { - numberArrayPropertiesBuilder_.addAllMessages(values); + objectArrayPropertiesBuilder_.addAllMessages(values); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder clearNumberArrayProperties() { - if (numberArrayPropertiesBuilder_ == null) { - numberArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + public Builder clearObjectArrayProperties() { + if (objectArrayPropertiesBuilder_ == null) { + objectArrayProperties_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { - numberArrayPropertiesBuilder_.clear(); + objectArrayPropertiesBuilder_.clear(); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public Builder removeNumberArrayProperties(int index) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.remove(index); + public Builder removeObjectArrayProperties(int index) { + if (objectArrayPropertiesBuilder_ == null) { + ensureObjectArrayPropertiesIsMutable(); + objectArrayProperties_.remove(index); onChanged(); } else { - numberArrayPropertiesBuilder_.remove(index); + objectArrayPropertiesBuilder_.remove(index); } return this; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder getNumberArrayPropertiesBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder getObjectArrayPropertiesBuilder( int index) { - return getNumberArrayPropertiesFieldBuilder().getBuilder(index); + return getObjectArrayPropertiesFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( int index) { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.get(index); } else { - return numberArrayPropertiesBuilder_.getMessageOrBuilder(index); + if (objectArrayPropertiesBuilder_ == null) { + return objectArrayProperties_.get(index); } else { + return objectArrayPropertiesBuilder_.getMessageOrBuilder(index); } } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public java.util.List - getNumberArrayPropertiesOrBuilderList() { - if (numberArrayPropertiesBuilder_ != null) { - return numberArrayPropertiesBuilder_.getMessageOrBuilderList(); + public java.util.List + getObjectArrayPropertiesOrBuilderList() { + if (objectArrayPropertiesBuilder_ != null) { + return objectArrayPropertiesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(numberArrayProperties_); + return java.util.Collections.unmodifiableList(objectArrayProperties_); } } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder() { - return getNumberArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder() { + return getObjectArrayPropertiesFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder( int index) { - return getNumberArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); + return getObjectArrayPropertiesFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 4; + * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; */ - public java.util.List - getNumberArrayPropertiesBuilderList() { - return getNumberArrayPropertiesFieldBuilder().getBuilderList(); + public java.util.List + getObjectArrayPropertiesBuilderList() { + return getObjectArrayPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> - getNumberArrayPropertiesFieldBuilder() { - if (numberArrayPropertiesBuilder_ == null) { - numberArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder>( - numberArrayProperties_, - ((bitField0_ & 0x00000008) != 0), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> + getObjectArrayPropertiesFieldBuilder() { + if (objectArrayPropertiesBuilder_ == null) { + objectArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder>( + objectArrayProperties_, + ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); - numberArrayProperties_ = null; + objectArrayProperties_ = null; } - return numberArrayPropertiesBuilder_; + return objectArrayPropertiesBuilder_; } - private java.util.List intArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureIntArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - intArrayProperties_ = new java.util.ArrayList(intArrayProperties_); - bitField0_ |= 0x00000010; - } + private com.google.protobuf.LazyStringArrayList emptyListProps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureEmptyListPropsIsMutable() { + if (!emptyListProps_.isModifiable()) { + emptyListProps_ = new com.google.protobuf.LazyStringArrayList(emptyListProps_); + } + bitField0_ |= 0x00000200; } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> intArrayPropertiesBuilder_; - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @return A list containing the emptyListProps. */ - public java.util.List getIntArrayPropertiesList() { - if (intArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(intArrayProperties_); - } else { - return intArrayPropertiesBuilder_.getMessageList(); - } + public com.google.protobuf.ProtocolStringList + getEmptyListPropsList() { + emptyListProps_.makeImmutable(); + return emptyListProps_; } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @return The count of emptyListProps. */ - public int getIntArrayPropertiesCount() { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.size(); - } else { - return intArrayPropertiesBuilder_.getCount(); - } + public int getEmptyListPropsCount() { + return emptyListProps_.size(); } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the element to return. + * @return The emptyListProps at the given index. */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.get(index); - } else { - return intArrayPropertiesBuilder_.getMessage(index); - } + public java.lang.String getEmptyListProps(int index) { + return emptyListProps_.get(index); } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param index The index of the value to return. + * @return The bytes of the emptyListProps at the given index. */ - public Builder setIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.set(index, value); - onChanged(); - } else { - intArrayPropertiesBuilder_.setMessage(index, value); - } - return this; + public com.google.protobuf.ByteString + getEmptyListPropsBytes(int index) { + return emptyListProps_.getByteString(index); } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param index The index to set the value at. + * @param value The emptyListProps to set. + * @return This builder for chaining. */ - public Builder setIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setEmptyListProps( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureEmptyListPropsIsMutable(); + emptyListProps_.set(index, value); + bitField0_ |= 0x00000200; + onChanged(); return this; } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param value The emptyListProps to add. + * @return This builder for chaining. */ - public Builder addIntArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(value); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(value); - } + public Builder addEmptyListProps( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureEmptyListPropsIsMutable(); + emptyListProps_.add(value); + bitField0_ |= 0x00000200; + onChanged(); return this; } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param values The emptyListProps to add. + * @return This builder for chaining. */ - public Builder addIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(index, value); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(index, value); - } + public Builder addAllEmptyListProps( + java.lang.Iterable values) { + ensureEmptyListPropsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, emptyListProps_); + bitField0_ |= 0x00000200; + onChanged(); return this; } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @return This builder for chaining. */ - public Builder addIntArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } + public Builder clearEmptyListProps() { + emptyListProps_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200);; + onChanged(); return this; } /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; + *
+         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
+         * Weaviate can get the datatype from its schema
+         * 
+ * + * repeated string empty_list_props = 10; + * @param value The bytes of the emptyListProps to add. + * @return This builder for chaining. */ - public Builder addIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } + public Builder addEmptyListPropsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureEmptyListPropsIsMutable(); + emptyListProps_.add(value); + bitField0_ |= 0x00000200; + onChanged(); return this; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public Builder addAllIntArrayProperties( - java.lang.Iterable values) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, intArrayProperties_); - onChanged(); - } else { - intArrayPropertiesBuilder_.addAllMessages(values); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.Properties) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.Properties) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Properties 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 this; + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SingleTargetRefPropsOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.SingleTargetRefProps) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string uuids = 1; + * @return A list containing the uuids. + */ + java.util.List + getUuidsList(); + /** + * repeated string uuids = 1; + * @return The count of uuids. + */ + int getUuidsCount(); + /** + * repeated string uuids = 1; + * @param index The index of the element to return. + * @return The uuids at the given index. + */ + java.lang.String getUuids(int index); + /** + * repeated string uuids = 1; + * @param index The index of the value to return. + * @return The bytes of the uuids at the given index. + */ + com.google.protobuf.ByteString + getUuidsBytes(int index); + + /** + * string prop_name = 2; + * @return The propName. + */ + java.lang.String getPropName(); + /** + * string prop_name = 2; + * @return The bytes for propName. + */ + com.google.protobuf.ByteString + getPropNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.SingleTargetRefProps} + */ + public static final class SingleTargetRefProps extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.SingleTargetRefProps) + SingleTargetRefPropsOrBuilder { + private static final long serialVersionUID = 0L; + // Use SingleTargetRefProps.newBuilder() to construct. + private SingleTargetRefProps(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SingleTargetRefProps() { + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + propName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SingleTargetRefProps(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder.class); + } + + public static final int UUIDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string uuids = 1; + * @return A list containing the uuids. + */ + public com.google.protobuf.ProtocolStringList + getUuidsList() { + return uuids_; + } + /** + * repeated string uuids = 1; + * @return The count of uuids. + */ + public int getUuidsCount() { + return uuids_.size(); + } + /** + * repeated string uuids = 1; + * @param index The index of the element to return. + * @return The uuids at the given index. + */ + public java.lang.String getUuids(int index) { + return uuids_.get(index); + } + /** + * repeated string uuids = 1; + * @param index The index of the value to return. + * @return The bytes of the uuids at the given index. + */ + public com.google.protobuf.ByteString + getUuidsBytes(int index) { + return uuids_.getByteString(index); + } + + public static final int PROP_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object propName_ = ""; + /** + * string prop_name = 2; + * @return The propName. + */ + @java.lang.Override + public java.lang.String getPropName() { + java.lang.Object ref = propName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + propName_ = s; + return s; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public Builder clearIntArrayProperties() { - if (intArrayPropertiesBuilder_ == null) { - intArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - intArrayPropertiesBuilder_.clear(); - } - return this; + } + /** + * string prop_name = 2; + * @return The bytes for propName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPropNameBytes() { + java.lang.Object ref = propName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public Builder removeIntArrayProperties(int index) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.remove(index); - onChanged(); - } else { - intArrayPropertiesBuilder_.remove(index); - } - return this; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < uuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuids_.getRaw(i)); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder getIntArrayPropertiesBuilder( - int index) { - return getIntArrayPropertiesFieldBuilder().getBuilder(index); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, propName_); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index) { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.get(index); } else { - return intArrayPropertiesBuilder_.getMessageOrBuilder(index); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < uuids_.size(); i++) { + dataSize += computeStringSizeNoTag(uuids_.getRaw(i)); } + size += dataSize; + size += 1 * getUuidsList().size(); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public java.util.List - getIntArrayPropertiesOrBuilderList() { - if (intArrayPropertiesBuilder_ != null) { - return intArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(intArrayProperties_); - } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, propName_); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder() { - return getIntArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder( - int index) { - return getIntArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps)) { + return super.equals(obj); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 5; - */ - public java.util.List - getIntArrayPropertiesBuilderList() { - return getIntArrayPropertiesFieldBuilder().getBuilderList(); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps) obj; + + if (!getUuidsList() + .equals(other.getUuidsList())) return false; + if (!getPropName() + .equals(other.getPropName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> - getIntArrayPropertiesFieldBuilder() { - if (intArrayPropertiesBuilder_ == null) { - intArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder>( - intArrayProperties_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - intArrayProperties_ = null; - } - return intArrayPropertiesBuilder_; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getUuidsCount() > 0) { + hash = (37 * hash) + UUIDS_FIELD_NUMBER; + hash = (53 * hash) + getUuidsList().hashCode(); } + hash = (37 * hash) + PROP_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPropName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private java.util.List textArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureTextArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - textArrayProperties_ = new java.util.ArrayList(textArrayProperties_); - bitField0_ |= 0x00000020; - } - } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> textArrayPropertiesBuilder_; + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public java.util.List getTextArrayPropertiesList() { - if (textArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(textArrayProperties_); - } else { - return textArrayPropertiesBuilder_.getMessageList(); - } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.SingleTargetRefProps} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.SingleTargetRefProps) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public int getTextArrayPropertiesCount() { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.size(); - } else { - return textArrayPropertiesBuilder_.getCount(); - } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder.class); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.get(index); - } else { - return textArrayPropertiesBuilder_.getMessage(index); - } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.newBuilder() + private Builder() { + } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder setTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.set(index, value); - onChanged(); - } else { - textArrayPropertiesBuilder_.setMessage(index, value); - } - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder setTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + propName_ = ""; return this; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder addTextArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(value); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(value); - } - return this; + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder addTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(index, value); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(index, value); - } - return this; + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance(); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder addTextArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(builderForValue.build()); + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - return this; + return result; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder addTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder addAllTextArrayProperties( - java.lang.Iterable values) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, textArrayProperties_); - onChanged(); - } else { - textArrayPropertiesBuilder_.addAllMessages(values); + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + uuids_.makeImmutable(); + result.uuids_ = uuids_; } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder clearTextArrayProperties() { - if (textArrayPropertiesBuilder_ == null) { - textArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - textArrayPropertiesBuilder_.clear(); + if (((from_bitField0_ & 0x00000002) != 0)) { + result.propName_ = propName_; } - return this; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public Builder removeTextArrayProperties(int index) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.remove(index); - onChanged(); - } else { - textArrayPropertiesBuilder_.remove(index); - } - return this; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder getTextArrayPropertiesBuilder( - int index) { - return getTextArrayPropertiesFieldBuilder().getBuilder(index); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index) { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.get(index); } else { - return textArrayPropertiesBuilder_.getMessageOrBuilder(index); - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public java.util.List - getTextArrayPropertiesOrBuilderList() { - if (textArrayPropertiesBuilder_ != null) { - return textArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(textArrayProperties_); - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder() { - return getTextArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder( - int index) { - return getTextArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 6; - */ - public java.util.List - getTextArrayPropertiesBuilderList() { - return getTextArrayPropertiesFieldBuilder().getBuilderList(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps)other); + } else { + super.mergeFrom(other); + return this; + } } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> - getTextArrayPropertiesFieldBuilder() { - if (textArrayPropertiesBuilder_ == null) { - textArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder>( - textArrayProperties_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - textArrayProperties_ = null; + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()) return this; + if (!other.uuids_.isEmpty()) { + if (uuids_.isEmpty()) { + uuids_ = other.uuids_; + bitField0_ |= 0x00000001; + } else { + ensureUuidsIsMutable(); + uuids_.addAll(other.uuids_); + } + onChanged(); } - return textArrayPropertiesBuilder_; + if (!other.getPropName().isEmpty()) { + propName_ = other.propName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } - private java.util.List booleanArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureBooleanArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - booleanArrayProperties_ = new java.util.ArrayList(booleanArrayProperties_); - bitField0_ |= 0x00000040; - } + @java.lang.Override + public final boolean isInitialized() { + return true; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> booleanArrayPropertiesBuilder_; + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUuidsIsMutable(); + uuids_.add(s); + break; + } // case 10 + case 18: { + propName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - public java.util.List getBooleanArrayPropertiesList() { - if (booleanArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(booleanArrayProperties_); - } else { - return booleanArrayPropertiesBuilder_.getMessageList(); + private com.google.protobuf.LazyStringArrayList uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUuidsIsMutable() { + if (!uuids_.isModifiable()) { + uuids_ = new com.google.protobuf.LazyStringArrayList(uuids_); } + bitField0_ |= 0x00000001; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @return A list containing the uuids. */ - public int getBooleanArrayPropertiesCount() { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.size(); - } else { - return booleanArrayPropertiesBuilder_.getCount(); - } + public com.google.protobuf.ProtocolStringList + getUuidsList() { + uuids_.makeImmutable(); + return uuids_; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @return The count of uuids. */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.get(index); - } else { - return booleanArrayPropertiesBuilder_.getMessage(index); - } + public int getUuidsCount() { + return uuids_.size(); } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @param index The index of the element to return. + * @return The uuids at the given index. */ - public Builder setBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.set(index, value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.setMessage(index, value); - } - return this; + public java.lang.String getUuids(int index) { + return uuids_.get(index); + } + /** + * repeated string uuids = 1; + * @param index The index of the value to return. + * @return The bytes of the uuids at the given index. + */ + public com.google.protobuf.ByteString + getUuidsBytes(int index) { + return uuids_.getByteString(index); } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @param index The index to set the value at. + * @param value The uuids to set. + * @return This builder for chaining. */ - public Builder setBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setUuids( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUuidsIsMutable(); + uuids_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @param value The uuids to add. + * @return This builder for chaining. */ - public Builder addBooleanArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(value); - } + public Builder addUuids( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureUuidsIsMutable(); + uuids_.add(value); + bitField0_ |= 0x00000001; + onChanged(); return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @param values The uuids to add. + * @return This builder for chaining. */ - public Builder addBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(index, value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(index, value); - } + public Builder addAllUuids( + java.lang.Iterable values) { + ensureUuidsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uuids_); + bitField0_ |= 0x00000001; + onChanged(); return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @return This builder for chaining. */ - public Builder addBooleanArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } + public Builder clearUuids() { + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * repeated string uuids = 1; + * @param value The bytes of the uuids to add. + * @return This builder for chaining. */ - public Builder addBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } + public Builder addUuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUuidsIsMutable(); + uuids_.add(value); + bitField0_ |= 0x00000001; + onChanged(); return this; } + + private java.lang.Object propName_ = ""; /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * string prop_name = 2; + * @return The propName. */ - public Builder addAllBooleanArrayProperties( - java.lang.Iterable values) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, booleanArrayProperties_); - onChanged(); + public java.lang.String getPropName() { + java.lang.Object ref = propName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + propName_ = s; + return s; } else { - booleanArrayPropertiesBuilder_.addAllMessages(values); + return (java.lang.String) ref; } - return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * string prop_name = 2; + * @return The bytes for propName. */ - public Builder clearBooleanArrayProperties() { - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); + public com.google.protobuf.ByteString + getPropNameBytes() { + java.lang.Object ref = propName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propName_ = b; + return b; } else { - booleanArrayPropertiesBuilder_.clear(); + return (com.google.protobuf.ByteString) ref; } - return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * string prop_name = 2; + * @param value The propName to set. + * @return This builder for chaining. */ - public Builder removeBooleanArrayProperties(int index) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.remove(index); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.remove(index); - } + public Builder setPropName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + propName_ = value; + bitField0_ |= 0x00000002; + onChanged(); return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * string prop_name = 2; + * @return This builder for chaining. */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder getBooleanArrayPropertiesBuilder( - int index) { - return getBooleanArrayPropertiesFieldBuilder().getBuilder(index); + public Builder clearPropName() { + propName_ = getDefaultInstance().getPropName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; } /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; + * string prop_name = 2; + * @param value The bytes for propName to set. + * @return This builder for chaining. */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( - int index) { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.get(index); } else { - return booleanArrayPropertiesBuilder_.getMessageOrBuilder(index); - } + public Builder setPropNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + propName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - public java.util.List - getBooleanArrayPropertiesOrBuilderList() { - if (booleanArrayPropertiesBuilder_ != null) { - return booleanArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(booleanArrayProperties_); - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder() { - return getBooleanArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.SingleTargetRefProps) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.SingleTargetRefProps) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SingleTargetRefProps 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(); } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder( - int index) { - return getBooleanArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MultiTargetRefPropsOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.MultiTargetRefProps) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string uuids = 1; + * @return A list containing the uuids. + */ + java.util.List + getUuidsList(); + /** + * repeated string uuids = 1; + * @return The count of uuids. + */ + int getUuidsCount(); + /** + * repeated string uuids = 1; + * @param index The index of the element to return. + * @return The uuids at the given index. + */ + java.lang.String getUuids(int index); + /** + * repeated string uuids = 1; + * @param index The index of the value to return. + * @return The bytes of the uuids at the given index. + */ + com.google.protobuf.ByteString + getUuidsBytes(int index); + + /** + * string prop_name = 2; + * @return The propName. + */ + java.lang.String getPropName(); + /** + * string prop_name = 2; + * @return The bytes for propName. + */ + com.google.protobuf.ByteString + getPropNameBytes(); + + /** + * string target_collection = 3; + * @return The targetCollection. + */ + java.lang.String getTargetCollection(); + /** + * string target_collection = 3; + * @return The bytes for targetCollection. + */ + com.google.protobuf.ByteString + getTargetCollectionBytes(); + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.MultiTargetRefProps} + */ + public static final class MultiTargetRefProps extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.MultiTargetRefProps) + MultiTargetRefPropsOrBuilder { + private static final long serialVersionUID = 0L; + // Use MultiTargetRefProps.newBuilder() to construct. + private MultiTargetRefProps(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MultiTargetRefProps() { + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + propName_ = ""; + targetCollection_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MultiTargetRefProps(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder.class); + } + + public static final int UUIDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string uuids = 1; + * @return A list containing the uuids. + */ + public com.google.protobuf.ProtocolStringList + getUuidsList() { + return uuids_; + } + /** + * repeated string uuids = 1; + * @return The count of uuids. + */ + public int getUuidsCount() { + return uuids_.size(); + } + /** + * repeated string uuids = 1; + * @param index The index of the element to return. + * @return The uuids at the given index. + */ + public java.lang.String getUuids(int index) { + return uuids_.get(index); + } + /** + * repeated string uuids = 1; + * @param index The index of the value to return. + * @return The bytes of the uuids at the given index. + */ + public com.google.protobuf.ByteString + getUuidsBytes(int index) { + return uuids_.getByteString(index); + } + + public static final int PROP_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object propName_ = ""; + /** + * string prop_name = 2; + * @return The propName. + */ + @java.lang.Override + public java.lang.String getPropName() { + java.lang.Object ref = propName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + propName_ = s; + return s; } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 7; - */ - public java.util.List - getBooleanArrayPropertiesBuilderList() { - return getBooleanArrayPropertiesFieldBuilder().getBuilderList(); + } + /** + * string prop_name = 2; + * @return The bytes for propName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPropNameBytes() { + java.lang.Object ref = propName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> - getBooleanArrayPropertiesFieldBuilder() { - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder>( - booleanArrayProperties_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); - booleanArrayProperties_ = null; - } - return booleanArrayPropertiesBuilder_; + } + + public static final int TARGET_COLLECTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object targetCollection_ = ""; + /** + * string target_collection = 3; + * @return The targetCollection. + */ + @java.lang.Override + public java.lang.String getTargetCollection() { + java.lang.Object ref = targetCollection_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetCollection_ = s; + return s; + } + } + /** + * string target_collection = 3; + * @return The bytes for targetCollection. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTargetCollectionBytes() { + java.lang.Object ref = targetCollection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - private java.util.List objectProperties_ = - java.util.Collections.emptyList(); - private void ensureObjectPropertiesIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - objectProperties_ = new java.util.ArrayList(objectProperties_); - bitField0_ |= 0x00000080; - } + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < uuids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuids_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, propName_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetCollection_); + } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> objectPropertiesBuilder_; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public java.util.List getObjectPropertiesList() { - if (objectPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(objectProperties_); - } else { - return objectPropertiesBuilder_.getMessageList(); + size = 0; + { + int dataSize = 0; + for (int i = 0; i < uuids_.size(); i++) { + dataSize += computeStringSizeNoTag(uuids_.getRaw(i)); } + size += dataSize; + size += 1 * getUuidsList().size(); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public int getObjectPropertiesCount() { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.size(); - } else { - return objectPropertiesBuilder_.getCount(); - } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, propName_); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.get(index); - } else { - return objectPropertiesBuilder_.getMessage(index); - } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetCollection_); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder setObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.set(index, value); - onChanged(); - } else { - objectPropertiesBuilder_.setMessage(index, value); - } - return this; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder setObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps)) { + return super.equals(obj); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder addObjectProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.add(value); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(value); - } - return this; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps) obj; + + if (!getUuidsList() + .equals(other.getUuidsList())) return false; + if (!getPropName() + .equals(other.getPropName())) return false; + if (!getTargetCollection() + .equals(other.getTargetCollection())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder addObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.add(index, value); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(index, value); - } - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getUuidsCount() > 0) { + hash = (37 * hash) + UUIDS_FIELD_NUMBER; + hash = (53 * hash) + getUuidsList().hashCode(); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder addObjectProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; + hash = (37 * hash) + PROP_NAME_FIELD_NUMBER; + hash = (53 * hash) + getPropName().hashCode(); + hash = (37 * hash) + TARGET_COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getTargetCollection().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchObject.MultiTargetRefProps} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.MultiTargetRefProps) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder addObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder.class); } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder addAllObjectProperties( - java.lang.Iterable values) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectProperties_); - onChanged(); - } else { - objectPropertiesBuilder_.addAllMessages(values); - } - return this; + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.newBuilder() + private Builder() { + } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder clearObjectProperties() { - if (objectPropertiesBuilder_ == null) { - objectProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - } else { - objectPropertiesBuilder_.clear(); - } - return this; + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public Builder removeObjectProperties(int index) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.remove(index); - onChanged(); - } else { - objectPropertiesBuilder_.remove(index); - } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + propName_ = ""; + targetCollection_ = ""; return this; } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder getObjectPropertiesBuilder( - int index) { - return getObjectPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( - int index) { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.get(index); } else { - return objectPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public java.util.List - getObjectPropertiesOrBuilderList() { - if (objectPropertiesBuilder_ != null) { - return objectPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(objectProperties_); - } - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder() { - return getObjectPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder( - int index) { - return getObjectPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 8; - */ - public java.util.List - getObjectPropertiesBuilderList() { - return getObjectPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> - getObjectPropertiesFieldBuilder() { - if (objectPropertiesBuilder_ == null) { - objectPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder>( - objectProperties_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); - objectProperties_ = null; - } - return objectPropertiesBuilder_; - } - private java.util.List objectArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureObjectArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { - objectArrayProperties_ = new java.util.ArrayList(objectArrayProperties_); - bitField0_ |= 0x00000100; - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> objectArrayPropertiesBuilder_; - - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public java.util.List getObjectArrayPropertiesList() { - if (objectArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(objectArrayProperties_); - } else { - return objectArrayPropertiesBuilder_.getMessageList(); - } + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance(); } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public int getObjectArrayPropertiesCount() { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.size(); - } else { - return objectArrayPropertiesBuilder_.getCount(); + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.get(index); - } else { - return objectArrayPropertiesBuilder_.getMessage(index); - } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder setObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.set(index, value); - onChanged(); - } else { - objectArrayPropertiesBuilder_.setMessage(index, value); + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + uuids_.makeImmutable(); + result.uuids_ = uuids_; } - return this; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder setObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - objectArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); + if (((from_bitField0_ & 0x00000002) != 0)) { + result.propName_ = propName_; } - return this; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder addObjectArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(value); - onChanged(); - } else { - objectArrayPropertiesBuilder_.addMessage(value); + if (((from_bitField0_ & 0x00000004) != 0)) { + result.targetCollection_ = targetCollection_; } - return this; } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder addObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(index, value); - onChanged(); - } else { - objectArrayPropertiesBuilder_.addMessage(index, value); - } - return this; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder addObjectArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - objectArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder addObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(index, builderForValue.build()); - onChanged(); + @java.lang.Override + 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) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + 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) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps)other); } else { - objectArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); + super.mergeFrom(other); + return this; } - return this; } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder addAllObjectArrayProperties( - java.lang.Iterable values) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectArrayProperties_); + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()) return this; + if (!other.uuids_.isEmpty()) { + if (uuids_.isEmpty()) { + uuids_ = other.uuids_; + bitField0_ |= 0x00000001; + } else { + ensureUuidsIsMutable(); + uuids_.addAll(other.uuids_); + } onChanged(); - } else { - objectArrayPropertiesBuilder_.addAllMessages(values); } - return this; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder clearObjectArrayProperties() { - if (objectArrayPropertiesBuilder_ == null) { - objectArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + if (!other.getPropName().isEmpty()) { + propName_ = other.propName_; + bitField0_ |= 0x00000002; onChanged(); - } else { - objectArrayPropertiesBuilder_.clear(); } - return this; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public Builder removeObjectArrayProperties(int index) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.remove(index); + if (!other.getTargetCollection().isEmpty()) { + targetCollection_ = other.targetCollection_; + bitField0_ |= 0x00000004; onChanged(); - } else { - objectArrayPropertiesBuilder_.remove(index); } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); return this; } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder getObjectArrayPropertiesBuilder( - int index) { - return getObjectArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index) { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.get(index); } else { - return objectArrayPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public java.util.List - getObjectArrayPropertiesOrBuilderList() { - if (objectArrayPropertiesBuilder_ != null) { - return objectArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(objectArrayProperties_); - } - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder() { - return getObjectArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder( - int index) { - return getObjectArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 9; - */ - public java.util.List - getObjectArrayPropertiesBuilderList() { - return getObjectArrayPropertiesFieldBuilder().getBuilderList(); + + @java.lang.Override + public final boolean isInitialized() { + return true; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> - getObjectArrayPropertiesFieldBuilder() { - if (objectArrayPropertiesBuilder_ == null) { - objectArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder>( - objectArrayProperties_, - ((bitField0_ & 0x00000100) != 0), - getParentForChildren(), - isClean()); - objectArrayProperties_ = null; + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - return objectArrayPropertiesBuilder_; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUuidsIsMutable(); + uuids_.add(s); + break; + } // case 10 + case 18: { + propName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + targetCollection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; } + private int bitField0_; - private com.google.protobuf.LazyStringArrayList emptyListProps_ = + private com.google.protobuf.LazyStringArrayList uuids_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureEmptyListPropsIsMutable() { - if (!emptyListProps_.isModifiable()) { - emptyListProps_ = new com.google.protobuf.LazyStringArrayList(emptyListProps_); + private void ensureUuidsIsMutable() { + if (!uuids_.isModifiable()) { + uuids_ = new com.google.protobuf.LazyStringArrayList(uuids_); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000001; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; - * @return A list containing the emptyListProps. + * repeated string uuids = 1; + * @return A list containing the uuids. */ public com.google.protobuf.ProtocolStringList - getEmptyListPropsList() { - emptyListProps_.makeImmutable(); - return emptyListProps_; + getUuidsList() { + uuids_.makeImmutable(); + return uuids_; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; - * @return The count of emptyListProps. + * repeated string uuids = 1; + * @return The count of uuids. */ - public int getEmptyListPropsCount() { - return emptyListProps_.size(); + public int getUuidsCount() { + return uuids_.size(); } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; + * repeated string uuids = 1; * @param index The index of the element to return. - * @return The emptyListProps at the given index. + * @return The uuids at the given index. */ - public java.lang.String getEmptyListProps(int index) { - return emptyListProps_.get(index); + public java.lang.String getUuids(int index) { + return uuids_.get(index); } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; + * repeated string uuids = 1; * @param index The index of the value to return. - * @return The bytes of the emptyListProps at the given index. + * @return The bytes of the uuids at the given index. */ public com.google.protobuf.ByteString - getEmptyListPropsBytes(int index) { - return emptyListProps_.getByteString(index); + getUuidsBytes(int index) { + return uuids_.getByteString(index); } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; + * repeated string uuids = 1; * @param index The index to set the value at. - * @param value The emptyListProps to set. + * @param value The uuids to set. * @return This builder for chaining. */ - public Builder setEmptyListProps( + public Builder setUuids( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureEmptyListPropsIsMutable(); - emptyListProps_.set(index, value); - bitField0_ |= 0x00000200; + ensureUuidsIsMutable(); + uuids_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; - * @param value The emptyListProps to add. + * repeated string uuids = 1; + * @param value The uuids to add. * @return This builder for chaining. */ - public Builder addEmptyListProps( + public Builder addUuids( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureEmptyListPropsIsMutable(); - emptyListProps_.add(value); - bitField0_ |= 0x00000200; + ensureUuidsIsMutable(); + uuids_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; - * @param values The emptyListProps to add. + * repeated string uuids = 1; + * @param values The uuids to add. * @return This builder for chaining. */ - public Builder addAllEmptyListProps( + public Builder addAllUuids( java.lang.Iterable values) { - ensureEmptyListPropsIsMutable(); + ensureUuidsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, emptyListProps_); - bitField0_ |= 0x00000200; + values, uuids_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated string uuids = 1; + * @return This builder for chaining. + */ + public Builder clearUuids() { + uuids_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + * repeated string uuids = 1; + * @param value The bytes of the uuids to add. + * @return This builder for chaining. + */ + public Builder addUuidsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureUuidsIsMutable(); + uuids_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object propName_ = ""; + /** + * string prop_name = 2; + * @return The propName. + */ + public java.lang.String getPropName() { + java.lang.Object ref = propName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + propName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string prop_name = 2; + * @return The bytes for propName. + */ + public com.google.protobuf.ByteString + getPropNameBytes() { + java.lang.Object ref = propName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string prop_name = 2; + * @param value The propName to set. + * @return This builder for chaining. + */ + public Builder setPropName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + propName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string prop_name = 2; + * @return This builder for chaining. + */ + public Builder clearPropName() { + propName_ = getDefaultInstance().getPropName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string prop_name = 2; + * @param value The bytes for propName to set. + * @return This builder for chaining. + */ + public Builder setPropNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + propName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object targetCollection_ = ""; + /** + * string target_collection = 3; + * @return The targetCollection. + */ + public java.lang.String getTargetCollection() { + java.lang.Object ref = targetCollection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetCollection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string target_collection = 3; + * @return The bytes for targetCollection. + */ + public com.google.protobuf.ByteString + getTargetCollectionBytes() { + java.lang.Object ref = targetCollection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string target_collection = 3; + * @param value The targetCollection to set. + * @return This builder for chaining. + */ + public Builder setTargetCollection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetCollection_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; + * string target_collection = 3; * @return This builder for chaining. */ - public Builder clearEmptyListProps() { - emptyListProps_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200);; + public Builder clearTargetCollection() { + targetCollection_ = getDefaultInstance().getTargetCollection(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - *
-         * empty lists do not have a type in many languages and clients do not know which datatype the property has.
-         * Weaviate can get the datatype from its schema
-         * 
- * - * repeated string empty_list_props = 10; - * @param value The bytes of the emptyListProps to add. + * string target_collection = 3; + * @param value The bytes for targetCollection to set. * @return This builder for chaining. */ - public Builder addEmptyListPropsBytes( + public Builder setTargetCollectionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureEmptyListPropsIsMutable(); - emptyListProps_.add(value); - bitField0_ |= 0x00000200; + targetCollection_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -4973,1896 +16287,2102 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.Properties) - } - - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.Properties) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties(); - } - - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Properties 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; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SingleTargetRefPropsOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.SingleTargetRefProps) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - java.util.List - getUuidsList(); - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - int getUuidsCount(); - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - java.lang.String getUuids(int index); - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - com.google.protobuf.ByteString - getUuidsBytes(int index); - - /** - * string prop_name = 2; - * @return The propName. - */ - java.lang.String getPropName(); - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - com.google.protobuf.ByteString - getPropNameBytes(); - } - /** - * Protobuf type {@code weaviate.v1.BatchObject.SingleTargetRefProps} - */ - public static final class SingleTargetRefProps extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.SingleTargetRefProps) - SingleTargetRefPropsOrBuilder { - private static final long serialVersionUID = 0L; - // Use SingleTargetRefProps.newBuilder() to construct. - private SingleTargetRefProps(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SingleTargetRefProps() { - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - propName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SingleTargetRefProps(); - } - - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder.class); - } - - public static final int UUIDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - public com.google.protobuf.ProtocolStringList - getUuidsList() { - return uuids_; - } - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - public int getUuidsCount() { - return uuids_.size(); - } - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - public java.lang.String getUuids(int index) { - return uuids_.get(index); - } - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - public com.google.protobuf.ByteString - getUuidsBytes(int index) { - return uuids_.getByteString(index); - } - - public static final int PROP_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object propName_ = ""; - /** - * string prop_name = 2; - * @return The propName. - */ - @java.lang.Override - public java.lang.String getPropName() { - java.lang.Object ref = propName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propName_ = s; - return s; - } - } - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPropNameBytes() { - java.lang.Object ref = propName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.MultiTargetRefProps) } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < uuids_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuids_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, propName_); - } - getUnknownFields().writeTo(output); + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.MultiTargetRefProps) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps(); } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstance() { + return DEFAULT_INSTANCE; + } - size = 0; - { - int dataSize = 0; - for (int i = 0; i < uuids_.size(); i++) { - dataSize += computeStringSizeNoTag(uuids_.getRaw(i)); + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTargetRefProps 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()); } - size += dataSize; - size += 1 * getUuidsList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, propName_); + return builder.buildPartial(); } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps)) { - return super.equals(obj); - } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps) obj; - - if (!getUuidsList() - .equals(other.getUuidsList())) return false; - if (!getPropName() - .equals(other.getPropName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; + public com.google.protobuf.Parser getParserForType() { + return PARSER; } @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getUuidsCount() > 0) { - hash = (37 * hash) + UUIDS_FIELD_NUMBER; - hash = (53 * hash) + getUuidsList().hashCode(); - } - hash = (37 * hash) + PROP_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPropName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + } + + private int bitField0_; + public static final int UUID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object uuid_ = ""; + /** + * string uuid = 1; + * @return The uuid. + */ + @java.lang.Override + public java.lang.String getUuid() { + java.lang.Object ref = uuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uuid_ = s; + return s; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + } + /** + * string uuid = 1; + * @return The bytes for uuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUuidBytes() { + java.lang.Object ref = uuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + uuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } + public static final int VECTOR_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.FloatList vector_ = + emptyFloatList(); + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return A list containing the vector. + */ + @java.lang.Override + @java.lang.Deprecated public java.util.List + getVectorList() { + return vector_; + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return The count of vector. + */ + @java.lang.Deprecated public int getVectorCount() { + return vector_.size(); + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param index The index of the element to return. + * @return The vector at the given index. + */ + @java.lang.Deprecated public float getVector(int index) { + return vector_.getFloat(index); + } + private int vectorMemoizedSerializedSize = -1; - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps 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 final int PROPERTIES_FIELD_NUMBER = 3; + private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties properties_; + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return Whether the properties field is set. + */ + @java.lang.Override + public boolean hasProperties() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return The properties. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties() { + return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder() { + return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + public static final int COLLECTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object collection_ = ""; + /** + * string collection = 4; + * @return The collection. + */ + @java.lang.Override + public java.lang.String getCollection() { + java.lang.Object ref = collection_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collection_ = s; + return s; } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + } + /** + * string collection = 4; + * @return The bytes for collection. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCollectionBytes() { + java.lang.Object ref = collection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + collection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + public static final int TENANT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object tenant_ = ""; + /** + * string tenant = 5; + * @return The tenant. + */ + @java.lang.Override + public java.lang.String getTenant() { + java.lang.Object ref = tenant_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenant_ = s; + return s; } - /** - * Protobuf type {@code weaviate.v1.BatchObject.SingleTargetRefProps} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.SingleTargetRefProps) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefPropsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.Builder.class); - } - - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - propName_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_SingleTargetRefProps_descriptor; - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance(); - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } + } + /** + * string tenant = 5; + * @return The bytes for tenant. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTenantBytes() { + java.lang.Object ref = tenant_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tenant_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - uuids_.makeImmutable(); - result.uuids_ = uuids_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.propName_ = propName_; - } - } + public static final int VECTOR_BYTES_FIELD_NUMBER = 6; + private com.google.protobuf.ByteString vectorBytes_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes vector_bytes = 6; + * @return The vectorBytes. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVectorBytes() { + return vectorBytes_; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - 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) { - return super.clearField(field); - } - @java.lang.Override - 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) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps)other); - } else { - super.mergeFrom(other); - return this; - } - } + public static final int VECTORS_FIELD_NUMBER = 23; + @SuppressWarnings("serial") + private java.util.List vectors_; + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + @java.lang.Override + public java.util.List getVectorsList() { + return vectors_; + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + @java.lang.Override + public java.util.List + getVectorsOrBuilderList() { + return vectors_; + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + @java.lang.Override + public int getVectorsCount() { + return vectors_.size(); + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index) { + return vectors_.get(index); + } + /** + *
+     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+     * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( + int index) { + return vectors_.get(index); + } - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps.getDefaultInstance()) return this; - if (!other.uuids_.isEmpty()) { - if (uuids_.isEmpty()) { - uuids_ = other.uuids_; - bitField0_ |= 0x00000001; - } else { - ensureUuidsIsMutable(); - uuids_.addAll(other.uuids_); - } - onChanged(); - } - if (!other.getPropName().isEmpty()) { - propName_ = other.propName_; - bitField0_ |= 0x00000002; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public final boolean isInitialized() { - return true; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUuidsIsMutable(); - uuids_.add(s); - break; - } // case 10 - case 18: { - propName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - 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) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - private int bitField0_; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_); + } + if (getVectorList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(vectorMemoizedSerializedSize); + } + for (int i = 0; i < vector_.size(); i++) { + output.writeFloatNoTag(vector_.getFloat(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getProperties()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, collection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tenant_); + } + if (!vectorBytes_.isEmpty()) { + output.writeBytes(6, vectorBytes_); + } + for (int i = 0; i < vectors_.size(); i++) { + output.writeMessage(23, vectors_.get(i)); + } + getUnknownFields().writeTo(output); + } - private com.google.protobuf.LazyStringArrayList uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUuidsIsMutable() { - if (!uuids_.isModifiable()) { - uuids_ = new com.google.protobuf.LazyStringArrayList(uuids_); - } - bitField0_ |= 0x00000001; - } - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - public com.google.protobuf.ProtocolStringList - getUuidsList() { - uuids_.makeImmutable(); - return uuids_; - } - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - public int getUuidsCount() { - return uuids_.size(); - } - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - public java.lang.String getUuids(int index) { - return uuids_.get(index); - } - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - public com.google.protobuf.ByteString - getUuidsBytes(int index) { - return uuids_.getByteString(index); - } - /** - * repeated string uuids = 1; - * @param index The index to set the value at. - * @param value The uuids to set. - * @return This builder for chaining. - */ - public Builder setUuids( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureUuidsIsMutable(); - uuids_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * repeated string uuids = 1; - * @param value The uuids to add. - * @return This builder for chaining. - */ - public Builder addUuids( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureUuidsIsMutable(); - uuids_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * repeated string uuids = 1; - * @param values The uuids to add. - * @return This builder for chaining. - */ - public Builder addAllUuids( - java.lang.Iterable values) { - ensureUuidsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uuids_); - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * repeated string uuids = 1; - * @return This builder for chaining. - */ - public Builder clearUuids() { - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; - onChanged(); - return this; - } - /** - * repeated string uuids = 1; - * @param value The bytes of the uuids to add. - * @return This builder for chaining. - */ - public Builder addUuidsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureUuidsIsMutable(); - uuids_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_); + } + { + int dataSize = 0; + dataSize = 4 * getVectorList().size(); + size += dataSize; + if (!getVectorList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } + vectorMemoizedSerializedSize = dataSize; + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProperties()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tenant_); + } + if (!vectorBytes_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, vectorBytes_); + } + for (int i = 0; i < vectors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, vectors_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - private java.lang.Object propName_ = ""; - /** - * string prop_name = 2; - * @return The propName. - */ - public java.lang.String getPropName() { - java.lang.Object ref = propName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - public com.google.protobuf.ByteString - getPropNameBytes() { - java.lang.Object ref = propName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string prop_name = 2; - * @param value The propName to set. - * @return This builder for chaining. - */ - public Builder setPropName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - propName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * string prop_name = 2; - * @return This builder for chaining. - */ - public Builder clearPropName() { - propName_ = getDefaultInstance().getPropName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * string prop_name = 2; - * @param value The bytes for propName to set. - * @return This builder for chaining. - */ - public Builder setPropNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - propName_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject) obj; - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + if (!getUuid() + .equals(other.getUuid())) return false; + if (!getVectorList() + .equals(other.getVectorList())) return false; + if (hasProperties() != other.hasProperties()) return false; + if (hasProperties()) { + if (!getProperties() + .equals(other.getProperties())) return false; + } + if (!getCollection() + .equals(other.getCollection())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; + if (!getVectorBytes() + .equals(other.getVectorBytes())) return false; + if (!getVectorsList() + .equals(other.getVectorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UUID_FIELD_NUMBER; + hash = (53 * hash) + getUuid().hashCode(); + if (getVectorCount() > 0) { + hash = (37 * hash) + VECTOR_FIELD_NUMBER; + hash = (53 * hash) + getVectorList().hashCode(); + } + if (hasProperties()) { + hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; + hash = (53 * hash) + getProperties().hashCode(); + } + hash = (37 * hash) + COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getCollection().hashCode(); + hash = (37 * hash) + TENANT_FIELD_NUMBER; + hash = (53 * hash) + getTenant().hashCode(); + hash = (37 * hash) + VECTOR_BYTES_FIELD_NUMBER; + hash = (53 * hash) + getVectorBytes().hashCode(); + if (getVectorsCount() > 0) { + hash = (37 * hash) + VECTORS_FIELD_NUMBER; + hash = (53 * hash) + getVectorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.SingleTargetRefProps) + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchObject} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; } - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.SingleTargetRefProps) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder.class); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstance() { - return DEFAULT_INSTANCE; + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SingleTargetRefProps 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 Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPropertiesFieldBuilder(); + getVectorsFieldBuilder(); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public Builder clear() { + super.clear(); + bitField0_ = 0; + uuid_ = ""; + vector_ = emptyFloatList(); + properties_ = null; + if (propertiesBuilder_ != null) { + propertiesBuilder_.dispose(); + propertiesBuilder_ = null; + } + collection_ = ""; + tenant_ = ""; + vectorBytes_ = com.google.protobuf.ByteString.EMPTY; + if (vectorsBuilder_ == null) { + vectors_ = java.util.Collections.emptyList(); + } else { + vectors_ = null; + vectorsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + return this; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.SingleTargetRefProps getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; } - } - - public interface MultiTargetRefPropsOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObject.MultiTargetRefProps) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - java.util.List - getUuidsList(); - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - int getUuidsCount(); - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - java.lang.String getUuids(int index); - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - com.google.protobuf.ByteString - getUuidsBytes(int index); - - /** - * string prop_name = 2; - * @return The propName. - */ - java.lang.String getPropName(); - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - com.google.protobuf.ByteString - getPropNameBytes(); - - /** - * string target_collection = 3; - * @return The targetCollection. - */ - java.lang.String getTargetCollection(); - /** - * string target_collection = 3; - * @return The bytes for targetCollection. - */ - com.google.protobuf.ByteString - getTargetCollectionBytes(); - } - /** - * Protobuf type {@code weaviate.v1.BatchObject.MultiTargetRefProps} - */ - public static final class MultiTargetRefProps extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObject.MultiTargetRefProps) - MultiTargetRefPropsOrBuilder { - private static final long serialVersionUID = 0L; - // Use MultiTargetRefProps.newBuilder() to construct. - private MultiTargetRefProps(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance(); } - private MultiTargetRefProps() { - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - propName_ = ""; - targetCollection_ = ""; + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new MultiTargetRefProps(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result) { + if (vectorsBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + vectors_ = java.util.Collections.unmodifiableList(vectors_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.vectors_ = vectors_; + } else { + result.vectors_ = vectorsBuilder_.build(); + } } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder.class); + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uuid_ = uuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + vector_.makeImmutable(); + result.vector_ = vector_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.properties_ = propertiesBuilder_ == null + ? properties_ + : propertiesBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.collection_ = collection_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.tenant_ = tenant_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.vectorBytes_ = vectorBytes_; + } + result.bitField0_ |= to_bitField0_; } - public static final int UUIDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringArrayList uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - public com.google.protobuf.ProtocolStringList - getUuidsList() { - return uuids_; + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - public int getUuidsCount() { - return uuids_.size(); + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - public java.lang.String getUuids(int index) { - return uuids_.get(index); + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - public com.google.protobuf.ByteString - getUuidsBytes(int index) { - return uuids_.getByteString(index); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - - public static final int PROP_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object propName_ = ""; - /** - * string prop_name = 2; - * @return The propName. - */ @java.lang.Override - public java.lang.String getPropName() { - java.lang.Object ref = propName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject)other); } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propName_ = s; - return s; + super.mergeFrom(other); + return this; } } - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPropNameBytes() { - java.lang.Object ref = propName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propName_ = b; - return b; + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance()) return this; + if (!other.getUuid().isEmpty()) { + uuid_ = other.uuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.vector_.isEmpty()) { + if (vector_.isEmpty()) { + vector_ = other.vector_; + vector_.makeImmutable(); + bitField0_ |= 0x00000002; + } else { + ensureVectorIsMutable(); + vector_.addAll(other.vector_); + } + onChanged(); + } + if (other.hasProperties()) { + mergeProperties(other.getProperties()); + } + if (!other.getCollection().isEmpty()) { + collection_ = other.collection_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getTenant().isEmpty()) { + tenant_ = other.tenant_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.getVectorBytes() != com.google.protobuf.ByteString.EMPTY) { + setVectorBytes(other.getVectorBytes()); + } + if (vectorsBuilder_ == null) { + if (!other.vectors_.isEmpty()) { + if (vectors_.isEmpty()) { + vectors_ = other.vectors_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureVectorsIsMutable(); + vectors_.addAll(other.vectors_); + } + onChanged(); + } } else { - return (com.google.protobuf.ByteString) ref; + if (!other.vectors_.isEmpty()) { + if (vectorsBuilder_.isEmpty()) { + vectorsBuilder_.dispose(); + vectorsBuilder_ = null; + vectors_ = other.vectors_; + bitField0_ = (bitField0_ & ~0x00000040); + vectorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVectorsFieldBuilder() : null; + } else { + vectorsBuilder_.addAllMessages(other.vectors_); + } + } } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } - public static final int TARGET_COLLECTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private volatile java.lang.Object targetCollection_ = ""; + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + uuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: { + float v = input.readFloat(); + ensureVectorIsMutable(); + vector_.addFloat(v); + break; + } // case 21 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + int alloc = length > 4096 ? 4096 : length; + ensureVectorIsMutable(alloc / 4); + while (input.getBytesUntilLimit() > 0) { + vector_.addFloat(input.readFloat()); + } + input.popLimit(limit); + break; + } // case 18 + case 26: { + input.readMessage( + getPropertiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + collection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + vectorBytes_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 186: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.parser(), + extensionRegistry); + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + vectors_.add(m); + } else { + vectorsBuilder_.addMessage(m); + } + break; + } // case 186 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object uuid_ = ""; /** - * string target_collection = 3; - * @return The targetCollection. + * string uuid = 1; + * @return The uuid. */ - @java.lang.Override - public java.lang.String getTargetCollection() { - java.lang.Object ref = targetCollection_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = + public java.lang.String getUuid() { + java.lang.Object ref = uuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - targetCollection_ = s; + uuid_ = s; return s; + } else { + return (java.lang.String) ref; } } /** - * string target_collection = 3; - * @return The bytes for targetCollection. + * string uuid = 1; + * @return The bytes for uuid. */ - @java.lang.Override public com.google.protobuf.ByteString - getTargetCollectionBytes() { - java.lang.Object ref = targetCollection_; - if (ref instanceof java.lang.String) { + getUuidBytes() { + java.lang.Object ref = uuid_; + if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - targetCollection_ = b; + uuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + /** + * string uuid = 1; + * @param value The uuid to set. + * @return This builder for chaining. + */ + public Builder setUuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + uuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < uuids_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuids_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, propName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetCollection_); - } - getUnknownFields().writeTo(output); + /** + * string uuid = 1; + * @return This builder for chaining. + */ + public Builder clearUuid() { + uuid_ = getDefaultInstance().getUuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < uuids_.size(); i++) { - dataSize += computeStringSizeNoTag(uuids_.getRaw(i)); - } - size += dataSize; - size += 1 * getUuidsList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(propName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, propName_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetCollection_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; + /** + * string uuid = 1; + * @param value The bytes for uuid to set. + * @return This builder for chaining. + */ + public Builder setUuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + uuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps)) { - return super.equals(obj); + private com.google.protobuf.Internal.FloatList vector_ = emptyFloatList(); + private void ensureVectorIsMutable() { + if (!vector_.isModifiable()) { + vector_ = makeMutableCopy(vector_); } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps) obj; - - if (!getUuidsList() - .equals(other.getUuidsList())) return false; - if (!getPropName() - .equals(other.getPropName())) return false; - if (!getTargetCollection() - .equals(other.getTargetCollection())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; + bitField0_ |= 0x00000002; } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getUuidsCount() > 0) { - hash = (37 * hash) + UUIDS_FIELD_NUMBER; - hash = (53 * hash) + getUuidsList().hashCode(); + private void ensureVectorIsMutable(int capacity) { + if (!vector_.isModifiable()) { + vector_ = makeMutableCopy(vector_, capacity); } - hash = (37 * hash) + PROP_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPropName().hashCode(); - hash = (37 * hash) + TARGET_COLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getTargetCollection().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + bitField0_ |= 0x00000002; } - - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return A list containing the vector. + */ + @java.lang.Deprecated public java.util.List + getVectorList() { + vector_.makeImmutable(); + return vector_; } - - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return The count of vector. + */ + @java.lang.Deprecated public int getVectorCount() { + return vector_.size(); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param index The index of the element to return. + * @return The vector at the given index. + */ + @java.lang.Deprecated public float getVector(int index) { + return vector_.getFloat(index); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param index The index to set the value at. + * @param value The vector to set. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder setVector( + int index, float value) { + + ensureVectorIsMutable(); + vector_.setFloat(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param value The vector to add. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder addVector(float value) { - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + ensureVectorIsMutable(); + vector_.addFloat(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @param values The vector to add. + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder addAllVector( + java.lang.Iterable values) { + ensureVectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vector_); + bitField0_ |= 0x00000002; + onChanged(); + return this; } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated float vector = 2 [deprecated = true]; + * @deprecated weaviate.v1.BatchObject.vector is deprecated. + * See v1/batch.proto;l=103 + * @return This builder for chaining. + */ + @java.lang.Deprecated public Builder clearVector() { + vector_ = emptyFloatList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties properties_; + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder> propertiesBuilder_; + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return Whether the properties field is set. + */ + public boolean hasProperties() { + return ((bitField0_ & 0x00000004) != 0); } /** - * Protobuf type {@code weaviate.v1.BatchObject.MultiTargetRefProps} + * .weaviate.v1.BatchObject.Properties properties = 3; + * @return The properties. */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject.MultiTargetRefProps) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefPropsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.Builder.class); - } - - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.newBuilder() - private Builder() { - - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - - } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - propName_ = ""; - targetCollection_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor; - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance(); - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps(this); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; - } - - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - uuids_.makeImmutable(); - result.uuids_ = uuids_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.propName_ = propName_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.targetCollection_ = targetCollection_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - 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) { - return super.clearField(field); - } - @java.lang.Override - 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) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps)other); - } else { - super.mergeFrom(other); - return this; - } + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties() { + if (propertiesBuilder_ == null) { + return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + } else { + return propertiesBuilder_.getMessage(); } - - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps.getDefaultInstance()) return this; - if (!other.uuids_.isEmpty()) { - if (uuids_.isEmpty()) { - uuids_ = other.uuids_; - bitField0_ |= 0x00000001; - } else { - ensureUuidsIsMutable(); - uuids_.addAll(other.uuids_); - } - onChanged(); - } - if (!other.getPropName().isEmpty()) { - propName_ = other.propName_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getTargetCollection().isEmpty()) { - targetCollection_ = other.targetCollection_; - bitField0_ |= 0x00000004; - onChanged(); + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public Builder setProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties value) { + if (propertiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + properties_ = value; + } else { + propertiesBuilder_.setMessage(value); } - - @java.lang.Override - public final boolean isInitialized() { - return true; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public Builder setProperties( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder builderForValue) { + if (propertiesBuilder_ == null) { + properties_ = builderForValue.build(); + } else { + propertiesBuilder_.setMessage(builderForValue.build()); } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public Builder mergeProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties value) { + if (propertiesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + properties_ != null && + properties_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance()) { + getPropertiesBuilder().mergeFrom(value); + } else { + properties_ = value; } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUuidsIsMutable(); - uuids_.add(s); - break; - } // case 10 - case 18: { - propName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - targetCollection_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - 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) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; + } else { + propertiesBuilder_.mergeFrom(value); } - private int bitField0_; - - private com.google.protobuf.LazyStringArrayList uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUuidsIsMutable() { - if (!uuids_.isModifiable()) { - uuids_ = new com.google.protobuf.LazyStringArrayList(uuids_); - } - bitField0_ |= 0x00000001; + if (properties_ != null) { + bitField0_ |= 0x00000004; + onChanged(); } - /** - * repeated string uuids = 1; - * @return A list containing the uuids. - */ - public com.google.protobuf.ProtocolStringList - getUuidsList() { - uuids_.makeImmutable(); - return uuids_; + return this; + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public Builder clearProperties() { + bitField0_ = (bitField0_ & ~0x00000004); + properties_ = null; + if (propertiesBuilder_ != null) { + propertiesBuilder_.dispose(); + propertiesBuilder_ = null; } - /** - * repeated string uuids = 1; - * @return The count of uuids. - */ - public int getUuidsCount() { - return uuids_.size(); + onChanged(); + return this; + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder getPropertiesBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getPropertiesFieldBuilder().getBuilder(); + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder() { + if (propertiesBuilder_ != null) { + return propertiesBuilder_.getMessageOrBuilder(); + } else { + return properties_ == null ? + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; } - /** - * repeated string uuids = 1; - * @param index The index of the element to return. - * @return The uuids at the given index. - */ - public java.lang.String getUuids(int index) { - return uuids_.get(index); + } + /** + * .weaviate.v1.BatchObject.Properties properties = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder> + getPropertiesFieldBuilder() { + if (propertiesBuilder_ == null) { + propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder>( + getProperties(), + getParentForChildren(), + isClean()); + properties_ = null; } - /** - * repeated string uuids = 1; - * @param index The index of the value to return. - * @return The bytes of the uuids at the given index. - */ - public com.google.protobuf.ByteString - getUuidsBytes(int index) { - return uuids_.getByteString(index); + return propertiesBuilder_; + } + + private java.lang.Object collection_ = ""; + /** + * string collection = 4; + * @return The collection. + */ + public java.lang.String getCollection() { + java.lang.Object ref = collection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + collection_ = s; + return s; + } else { + return (java.lang.String) ref; } - /** - * repeated string uuids = 1; - * @param index The index to set the value at. - * @param value The uuids to set. - * @return This builder for chaining. - */ - public Builder setUuids( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureUuidsIsMutable(); - uuids_.set(index, value); - bitField0_ |= 0x00000001; - onChanged(); - return this; + } + /** + * string collection = 4; + * @return The bytes for collection. + */ + public com.google.protobuf.ByteString + getCollectionBytes() { + java.lang.Object ref = collection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + collection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - /** - * repeated string uuids = 1; - * @param value The uuids to add. - * @return This builder for chaining. - */ - public Builder addUuids( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - ensureUuidsIsMutable(); - uuids_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; + } + /** + * string collection = 4; + * @param value The collection to set. + * @return This builder for chaining. + */ + public Builder setCollection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + collection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string collection = 4; + * @return This builder for chaining. + */ + public Builder clearCollection() { + collection_ = getDefaultInstance().getCollection(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string collection = 4; + * @param value The bytes for collection to set. + * @return This builder for chaining. + */ + public Builder setCollectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + collection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object tenant_ = ""; + /** + * string tenant = 5; + * @return The tenant. + */ + public java.lang.String getTenant() { + java.lang.Object ref = tenant_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenant_ = s; + return s; + } else { + return (java.lang.String) ref; } - /** - * repeated string uuids = 1; - * @param values The uuids to add. - * @return This builder for chaining. - */ - public Builder addAllUuids( - java.lang.Iterable values) { - ensureUuidsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uuids_); - bitField0_ |= 0x00000001; - onChanged(); - return this; + } + /** + * string tenant = 5; + * @return The bytes for tenant. + */ + public com.google.protobuf.ByteString + getTenantBytes() { + java.lang.Object ref = tenant_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tenant_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - /** - * repeated string uuids = 1; - * @return This builder for chaining. - */ - public Builder clearUuids() { - uuids_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; - onChanged(); - return this; + } + /** + * string tenant = 5; + * @param value The tenant to set. + * @return This builder for chaining. + */ + public Builder setTenant( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tenant_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string tenant = 5; + * @return This builder for chaining. + */ + public Builder clearTenant() { + tenant_ = getDefaultInstance().getTenant(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string tenant = 5; + * @param value The bytes for tenant to set. + * @return This builder for chaining. + */ + public Builder setTenantBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tenant_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString vectorBytes_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes vector_bytes = 6; + * @return The vectorBytes. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVectorBytes() { + return vectorBytes_; + } + /** + * bytes vector_bytes = 6; + * @param value The vectorBytes to set. + * @return This builder for chaining. + */ + public Builder setVectorBytes(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + vectorBytes_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * bytes vector_bytes = 6; + * @return This builder for chaining. + */ + public Builder clearVectorBytes() { + bitField0_ = (bitField0_ & ~0x00000020); + vectorBytes_ = getDefaultInstance().getVectorBytes(); + onChanged(); + return this; + } + + private java.util.List vectors_ = + java.util.Collections.emptyList(); + private void ensureVectorsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + vectors_ = new java.util.ArrayList(vectors_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder> vectorsBuilder_; + + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public java.util.List getVectorsList() { + if (vectorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(vectors_); + } else { + return vectorsBuilder_.getMessageList(); } - /** - * repeated string uuids = 1; - * @param value The bytes of the uuids to add. - * @return This builder for chaining. - */ - public Builder addUuidsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - ensureUuidsIsMutable(); - uuids_.add(value); - bitField0_ |= 0x00000001; - onChanged(); - return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public int getVectorsCount() { + if (vectorsBuilder_ == null) { + return vectors_.size(); + } else { + return vectorsBuilder_.getCount(); } - - private java.lang.Object propName_ = ""; - /** - * string prop_name = 2; - * @return The propName. - */ - public java.lang.String getPropName() { - java.lang.Object ref = propName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - propName_ = s; - return s; - } else { - return (java.lang.String) ref; - } + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index) { + if (vectorsBuilder_ == null) { + return vectors_.get(index); + } else { + return vectorsBuilder_.getMessage(index); } - /** - * string prop_name = 2; - * @return The bytes for propName. - */ - public com.google.protobuf.ByteString - getPropNameBytes() { - java.lang.Object ref = propName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder setVectors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { + if (vectorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureVectorsIsMutable(); + vectors_.set(index, value); + onChanged(); + } else { + vectorsBuilder_.setMessage(index, value); } - /** - * string prop_name = 2; - * @param value The propName to set. - * @return This builder for chaining. - */ - public Builder setPropName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - propName_ = value; - bitField0_ |= 0x00000002; + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder setVectors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + vectors_.set(index, builderForValue.build()); onChanged(); - return this; + } else { + vectorsBuilder_.setMessage(index, builderForValue.build()); } - /** - * string prop_name = 2; - * @return This builder for chaining. - */ - public Builder clearPropName() { - propName_ = getDefaultInstance().getPropName(); - bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder addVectors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { + if (vectorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVectorsIsMutable(); + vectors_.add(value); onChanged(); - return this; + } else { + vectorsBuilder_.addMessage(value); } - /** - * string prop_name = 2; - * @param value The bytes for propName to set. - * @return This builder for chaining. - */ - public Builder setPropNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - propName_ = value; - bitField0_ |= 0x00000002; + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder addVectors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { + if (vectorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVectorsIsMutable(); + vectors_.add(index, value); onChanged(); - return this; + } else { + vectorsBuilder_.addMessage(index, value); } - - private java.lang.Object targetCollection_ = ""; - /** - * string target_collection = 3; - * @return The targetCollection. - */ - public java.lang.String getTargetCollection() { - java.lang.Object ref = targetCollection_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - targetCollection_ = s; - return s; - } else { - return (java.lang.String) ref; - } + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder addVectors( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + vectors_.add(builderForValue.build()); + onChanged(); + } else { + vectorsBuilder_.addMessage(builderForValue.build()); } - /** - * string target_collection = 3; - * @return The bytes for targetCollection. - */ - public com.google.protobuf.ByteString - getTargetCollectionBytes() { - java.lang.Object ref = targetCollection_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - targetCollection_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder addVectors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + vectors_.add(index, builderForValue.build()); + onChanged(); + } else { + vectorsBuilder_.addMessage(index, builderForValue.build()); } - /** - * string target_collection = 3; - * @param value The targetCollection to set. - * @return This builder for chaining. - */ - public Builder setTargetCollection( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - targetCollection_ = value; - bitField0_ |= 0x00000004; + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder addAllVectors( + java.lang.Iterable values) { + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vectors_); onChanged(); - return this; + } else { + vectorsBuilder_.addAllMessages(values); } - /** - * string target_collection = 3; - * @return This builder for chaining. - */ - public Builder clearTargetCollection() { - targetCollection_ = getDefaultInstance().getTargetCollection(); - bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder clearVectors() { + if (vectorsBuilder_ == null) { + vectors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); - return this; + } else { + vectorsBuilder_.clear(); } - /** - * string target_collection = 3; - * @param value The bytes for targetCollection to set. - * @return This builder for chaining. - */ - public Builder setTargetCollectionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - targetCollection_ = value; - bitField0_ |= 0x00000004; + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public Builder removeVectors(int index) { + if (vectorsBuilder_ == null) { + ensureVectorsIsMutable(); + vectors_.remove(index); onChanged(); - return this; + } else { + vectorsBuilder_.remove(index); } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + return this; + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder getVectorsBuilder( + int index) { + return getVectorsFieldBuilder().getBuilder(index); + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( + int index) { + if (vectorsBuilder_ == null) { + return vectors_.get(index); } else { + return vectorsBuilder_.getMessageOrBuilder(index); } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + } + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public java.util.List + getVectorsOrBuilderList() { + if (vectorsBuilder_ != null) { + return vectorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(vectors_); } - - - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject.MultiTargetRefProps) } - - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject.MultiTargetRefProps) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps(); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder addVectorsBuilder() { + return getVectorsFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.getDefaultInstance()); } - - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstance() { - return DEFAULT_INSTANCE; + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder addVectorsBuilder( + int index) { + return getVectorsFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.getDefaultInstance()); } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MultiTargetRefProps 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(); + /** + *
+       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
+       * 
+ * + * repeated .weaviate.v1.Vectors vectors = 23; + */ + public java.util.List + getVectorsBuilderList() { + return getVectorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder> + getVectorsFieldBuilder() { + if (vectorsBuilder_ == null) { + vectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder>( + vectors_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + vectors_ = null; } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + return vectorsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.MultiTargetRefProps getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public BatchObject 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BatchReferenceOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchReference) + com.google.protobuf.MessageOrBuilder { + + /** + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * string from_collection = 2; + * @return The fromCollection. + */ + java.lang.String getFromCollection(); + /** + * string from_collection = 2; + * @return The bytes for fromCollection. + */ + com.google.protobuf.ByteString + getFromCollectionBytes(); + + /** + * string from_uuid = 3; + * @return The fromUuid. + */ + java.lang.String getFromUuid(); + /** + * string from_uuid = 3; + * @return The bytes for fromUuid. + */ + com.google.protobuf.ByteString + getFromUuidBytes(); + + /** + * optional string to_collection = 4; + * @return Whether the toCollection field is set. + */ + boolean hasToCollection(); + /** + * optional string to_collection = 4; + * @return The toCollection. + */ + java.lang.String getToCollection(); + /** + * optional string to_collection = 4; + * @return The bytes for toCollection. + */ + com.google.protobuf.ByteString + getToCollectionBytes(); + + /** + * string to_uuid = 5; + * @return The toUuid. + */ + java.lang.String getToUuid(); + /** + * string to_uuid = 5; + * @return The bytes for toUuid. + */ + com.google.protobuf.ByteString + getToUuidBytes(); + + /** + * string tenant = 6; + * @return The tenant. + */ + java.lang.String getTenant(); + /** + * string tenant = 6; + * @return The bytes for tenant. + */ + com.google.protobuf.ByteString + getTenantBytes(); + } + /** + * Protobuf type {@code weaviate.v1.BatchReference} + */ + public static final class BatchReference extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchReference) + BatchReferenceOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchReference.newBuilder() to construct. + private BatchReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchReference() { + name_ = ""; + fromCollection_ = ""; + fromUuid_ = ""; + toCollection_ = ""; + toUuid_ = ""; + tenant_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchReference(); + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReference_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder.class); } private int bitField0_; - public static final int UUID_FIELD_NUMBER = 1; + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private volatile java.lang.Object uuid_ = ""; + private volatile java.lang.Object name_ = ""; /** - * string uuid = 1; - * @return The uuid. + * string name = 1; + * @return The name. */ @java.lang.Override - public java.lang.String getUuid() { - java.lang.Object ref = uuid_; + public java.lang.String getName() { + java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - uuid_ = s; + name_ = s; return s; } } /** - * string uuid = 1; - * @return The bytes for uuid. + * string name = 1; + * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString - getUuidBytes() { - java.lang.Object ref = uuid_; + 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); - uuid_ = b; + name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int VECTOR_FIELD_NUMBER = 2; + public static final int FROM_COLLECTION_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.Internal.FloatList vector_ = - emptyFloatList(); + private volatile java.lang.Object fromCollection_ = ""; /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return A list containing the vector. + * string from_collection = 2; + * @return The fromCollection. */ @java.lang.Override - @java.lang.Deprecated public java.util.List - getVectorList() { - return vector_; + public java.lang.String getFromCollection() { + java.lang.Object ref = fromCollection_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fromCollection_ = s; + return s; + } + } + /** + * string from_collection = 2; + * @return The bytes for fromCollection. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFromCollectionBytes() { + java.lang.Object ref = fromCollection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fromCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int FROM_UUID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object fromUuid_ = ""; /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return The count of vector. + * string from_uuid = 3; + * @return The fromUuid. */ - @java.lang.Deprecated public int getVectorCount() { - return vector_.size(); + @java.lang.Override + public java.lang.String getFromUuid() { + java.lang.Object ref = fromUuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fromUuid_ = s; + return s; + } } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param index The index of the element to return. - * @return The vector at the given index. + * string from_uuid = 3; + * @return The bytes for fromUuid. */ - @java.lang.Deprecated public float getVector(int index) { - return vector_.getFloat(index); + @java.lang.Override + public com.google.protobuf.ByteString + getFromUuidBytes() { + java.lang.Object ref = fromUuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fromUuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - private int vectorMemoizedSerializedSize = -1; - public static final int PROPERTIES_FIELD_NUMBER = 3; - private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties properties_; + public static final int TO_COLLECTION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object toCollection_ = ""; /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return Whether the properties field is set. + * optional string to_collection = 4; + * @return Whether the toCollection field is set. */ @java.lang.Override - public boolean hasProperties() { + public boolean hasToCollection() { return ((bitField0_ & 0x00000001) != 0); } /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return The properties. + * optional string to_collection = 4; + * @return The toCollection. */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties() { - return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + public java.lang.String getToCollection() { + java.lang.Object ref = toCollection_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + toCollection_ = s; + return s; + } } /** - * .weaviate.v1.BatchObject.Properties properties = 3; + * optional string to_collection = 4; + * @return The bytes for toCollection. */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder() { - return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + public com.google.protobuf.ByteString + getToCollectionBytes() { + java.lang.Object ref = toCollection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + toCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int COLLECTION_FIELD_NUMBER = 4; + public static final int TO_UUID_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private volatile java.lang.Object collection_ = ""; + private volatile java.lang.Object toUuid_ = ""; /** - * string collection = 4; - * @return The collection. + * string to_uuid = 5; + * @return The toUuid. */ @java.lang.Override - public java.lang.String getCollection() { - java.lang.Object ref = collection_; + public java.lang.String getToUuid() { + java.lang.Object ref = toUuid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - collection_ = s; + toUuid_ = s; return s; } } /** - * string collection = 4; - * @return The bytes for collection. + * string to_uuid = 5; + * @return The bytes for toUuid. */ @java.lang.Override public com.google.protobuf.ByteString - getCollectionBytes() { - java.lang.Object ref = collection_; + getToUuidBytes() { + java.lang.Object ref = toUuid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - collection_ = b; + toUuid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int TENANT_FIELD_NUMBER = 5; + public static final int TENANT_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** - * string tenant = 5; + * string tenant = 6; * @return The tenant. */ @java.lang.Override @@ -6879,7 +18399,7 @@ public java.lang.String getTenant() { } } /** - * string tenant = 5; + * string tenant = 6; * @return The bytes for tenant. */ @java.lang.Override @@ -6897,1462 +18417,2377 @@ public java.lang.String getTenant() { } } - public static final int VECTOR_BYTES_FIELD_NUMBER = 6; - private com.google.protobuf.ByteString vectorBytes_ = com.google.protobuf.ByteString.EMPTY; - /** - * bytes vector_bytes = 6; - * @return The vectorBytes. - */ + private byte memoizedIsInitialized = -1; @java.lang.Override - public com.google.protobuf.ByteString getVectorBytes() { - return vectorBytes_; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } - public static final int VECTORS_FIELD_NUMBER = 23; - @SuppressWarnings("serial") - private java.util.List vectors_; - /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; - */ @java.lang.Override - public java.util.List getVectorsList() { - return vectors_; + 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_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromCollection_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fromCollection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromUuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fromUuid_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, toCollection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toUuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, toUuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tenant_); + } + getUnknownFields().writeTo(output); } - /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; - */ + @java.lang.Override - public java.util.List - getVectorsOrBuilderList() { - return vectors_; + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromCollection_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fromCollection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromUuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fromUuid_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, toCollection_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toUuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, toUuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, tenant_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; - */ + @java.lang.Override - public int getVectorsCount() { - return vectors_.size(); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getFromCollection() + .equals(other.getFromCollection())) return false; + if (!getFromUuid() + .equals(other.getFromUuid())) return false; + if (hasToCollection() != other.hasToCollection()) return false; + if (hasToCollection()) { + if (!getToCollection() + .equals(other.getToCollection())) return false; + } + if (!getToUuid() + .equals(other.getToUuid())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FROM_COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getFromCollection().hashCode(); + hash = (37 * hash) + FROM_UUID_FIELD_NUMBER; + hash = (53 * hash) + getFromUuid().hashCode(); + if (hasToCollection()) { + hash = (37 * hash) + TO_COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getToCollection().hashCode(); + } + hash = (37 * hash) + TO_UUID_FIELD_NUMBER; + hash = (53 * hash) + getToUuid().hashCode(); + hash = (37 * hash) + TENANT_FIELD_NUMBER; + hash = (53 * hash) + getTenant().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; - */ + @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index) { - return vectors_.get(index); + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } /** - *
-     * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-     * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * Protobuf type {@code weaviate.v1.BatchReference} */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( - int index) { - return vectors_.get(index); - } + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchReference) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReference_descriptor; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + fromCollection_ = ""; + fromUuid_ = ""; + toCollection_ = ""; + toUuid_ = ""; + tenant_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReference_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.fromCollection_ = fromCollection_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fromUuid_ = fromUuid_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.toCollection_ = toCollection_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.toUuid_ = toUuid_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.tenant_ = tenant_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFromCollection().isEmpty()) { + fromCollection_ = other.fromCollection_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFromUuid().isEmpty()) { + fromUuid_ = other.fromUuid_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasToCollection()) { + toCollection_ = other.toCollection_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getToUuid().isEmpty()) { + toUuid_ = other.toUuid_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getTenant().isEmpty()) { + tenant_ = other.tenant_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + fromCollection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + fromUuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + toCollection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + toUuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * string name = 1; + * @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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string name = 1; + * @return The bytes for name. + */ + 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); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_); + private java.lang.Object fromCollection_ = ""; + /** + * string from_collection = 2; + * @return The fromCollection. + */ + public java.lang.String getFromCollection() { + java.lang.Object ref = fromCollection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fromCollection_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - if (getVectorList().size() > 0) { - output.writeUInt32NoTag(18); - output.writeUInt32NoTag(vectorMemoizedSerializedSize); + /** + * string from_collection = 2; + * @return The bytes for fromCollection. + */ + public com.google.protobuf.ByteString + getFromCollectionBytes() { + java.lang.Object ref = fromCollection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fromCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - for (int i = 0; i < vector_.size(); i++) { - output.writeFloatNoTag(vector_.getFloat(i)); + /** + * string from_collection = 2; + * @param value The fromCollection to set. + * @return This builder for chaining. + */ + public Builder setFromCollection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fromCollection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(3, getProperties()); + /** + * string from_collection = 2; + * @return This builder for chaining. + */ + public Builder clearFromCollection() { + fromCollection_ = getDefaultInstance().getFromCollection(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, collection_); + /** + * string from_collection = 2; + * @param value The bytes for fromCollection to set. + * @return This builder for chaining. + */ + public Builder setFromCollectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fromCollection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tenant_); + + private java.lang.Object fromUuid_ = ""; + /** + * string from_uuid = 3; + * @return The fromUuid. + */ + public java.lang.String getFromUuid() { + java.lang.Object ref = fromUuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fromUuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - if (!vectorBytes_.isEmpty()) { - output.writeBytes(6, vectorBytes_); + /** + * string from_uuid = 3; + * @return The bytes for fromUuid. + */ + public com.google.protobuf.ByteString + getFromUuidBytes() { + java.lang.Object ref = fromUuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fromUuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - for (int i = 0; i < vectors_.size(); i++) { - output.writeMessage(23, vectors_.get(i)); + /** + * string from_uuid = 3; + * @param value The fromUuid to set. + * @return This builder for chaining. + */ + public Builder setFromUuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fromUuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string from_uuid = 3; + * @return This builder for chaining. + */ + public Builder clearFromUuid() { + fromUuid_ = getDefaultInstance().getFromUuid(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string from_uuid = 3; + * @param value The bytes for fromUuid to set. + * @return This builder for chaining. + */ + public Builder setFromUuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fromUuid_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; } - getUnknownFields().writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + private java.lang.Object toCollection_ = ""; + /** + * optional string to_collection = 4; + * @return Whether the toCollection field is set. + */ + public boolean hasToCollection() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional string to_collection = 4; + * @return The toCollection. + */ + public java.lang.String getToCollection() { + java.lang.Object ref = toCollection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + toCollection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string to_collection = 4; + * @return The bytes for toCollection. + */ + public com.google.protobuf.ByteString + getToCollectionBytes() { + java.lang.Object ref = toCollection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + toCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string to_collection = 4; + * @param value The toCollection to set. + * @return This builder for chaining. + */ + public Builder setToCollection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + toCollection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * optional string to_collection = 4; + * @return This builder for chaining. + */ + public Builder clearToCollection() { + toCollection_ = getDefaultInstance().getToCollection(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * optional string to_collection = 4; + * @param value The bytes for toCollection to set. + * @return This builder for chaining. + */ + public Builder setToCollectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + toCollection_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_); + private java.lang.Object toUuid_ = ""; + /** + * string to_uuid = 5; + * @return The toUuid. + */ + public java.lang.String getToUuid() { + java.lang.Object ref = toUuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + toUuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - { - int dataSize = 0; - dataSize = 4 * getVectorList().size(); - size += dataSize; - if (!getVectorList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + /** + * string to_uuid = 5; + * @return The bytes for toUuid. + */ + public com.google.protobuf.ByteString + getToUuidBytes() { + java.lang.Object ref = toUuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + toUuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string to_uuid = 5; + * @param value The toUuid to set. + * @return This builder for chaining. + */ + public Builder setToUuid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + toUuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string to_uuid = 5; + * @return This builder for chaining. + */ + public Builder clearToUuid() { + toUuid_ = getDefaultInstance().getToUuid(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string to_uuid = 5; + * @param value The bytes for toUuid to set. + * @return This builder for chaining. + */ + public Builder setToUuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + toUuid_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object tenant_ = ""; + /** + * string tenant = 6; + * @return The tenant. + */ + public java.lang.String getTenant() { + java.lang.Object ref = tenant_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenant_ = s; + return s; + } else { + return (java.lang.String) ref; } - vectorMemoizedSerializedSize = dataSize; } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getProperties()); + /** + * string tenant = 6; + * @return The bytes for tenant. + */ + public com.google.protobuf.ByteString + getTenantBytes() { + java.lang.Object ref = tenant_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tenant_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collection_); + /** + * string tenant = 6; + * @param value The tenant to set. + * @return This builder for chaining. + */ + public Builder setTenant( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tenant_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tenant_); + /** + * string tenant = 6; + * @return This builder for chaining. + */ + public Builder clearTenant() { + tenant_ = getDefaultInstance().getTenant(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; } - if (!vectorBytes_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, vectorBytes_); + /** + * string tenant = 6; + * @param value The bytes for tenant to set. + * @return This builder for chaining. + */ + public Builder setTenantBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tenant_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; } - for (int i = 0; i < vectors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, vectors_.get(i)); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject)) { - return super.equals(obj); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject) obj; - if (!getUuid() - .equals(other.getUuid())) return false; - if (!getVectorList() - .equals(other.getVectorList())) return false; - if (hasProperties() != other.hasProperties()) return false; - if (hasProperties()) { - if (!getProperties() - .equals(other.getProperties())) return false; - } - if (!getCollection() - .equals(other.getCollection())) return false; - if (!getTenant() - .equals(other.getTenant())) return false; - if (!getVectorBytes() - .equals(other.getVectorBytes())) return false; - if (!getVectorsList() - .equals(other.getVectorsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + UUID_FIELD_NUMBER; - hash = (53 * hash) + getUuid().hashCode(); - if (getVectorCount() > 0) { - hash = (37 * hash) + VECTOR_FIELD_NUMBER; - hash = (53 * hash) + getVectorList().hashCode(); - } - if (hasProperties()) { - hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getProperties().hashCode(); - } - hash = (37 * hash) + COLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getCollection().hashCode(); - hash = (37 * hash) + TENANT_FIELD_NUMBER; - hash = (53 * hash) + getTenant().hashCode(); - hash = (37 * hash) + VECTOR_BYTES_FIELD_NUMBER; - hash = (53 * hash) + getVectorBytes().hashCode(); - if (getVectorsCount() > 0) { - hash = (37 * hash) + VECTORS_FIELD_NUMBER; - hash = (53 * hash) + getVectorsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchReference) } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchReference) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference(); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getDefaultInstance() { + return DEFAULT_INSTANCE; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchReference 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; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReference getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + } + + public interface BatchObjectsReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObjectsReply) + com.google.protobuf.MessageOrBuilder { + + /** + * float took = 1; + * @return The took. + */ + float getTook(); + + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + java.util.List + getErrorsList(); + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index); + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + int getErrorsCount(); + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + java.util.List + getErrorsOrBuilderList(); + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + * Protobuf type {@code weaviate.v1.BatchObjectsReply} + */ + public static final class BatchObjectsReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObjectsReply) + BatchObjectsReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchObjectsReply.newBuilder() to construct. + private BatchObjectsReply(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + private BatchObjectsReply() { + errors_ = java.util.Collections.emptyList(); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchObjectsReply(); } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; } + @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.Builder.class); } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + public interface BatchErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObjectsReply.BatchError) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 index = 1; + * @return The index. + */ + int getIndex(); + + /** + * string error = 2; + * @return The error. + */ + java.lang.String getError(); + /** + * string error = 2; + * @return The bytes for error. + */ + com.google.protobuf.ByteString + getErrorBytes(); } /** - * Protobuf type {@code weaviate.v1.BatchObject} + * Protobuf type {@code weaviate.v1.BatchObjectsReply.BatchError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObject) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectOrBuilder { + public static final class BatchError extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObjectsReply.BatchError) + BatchErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use BatchError.newBuilder() to construct. + private BatchError(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BatchError() { + error_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BatchError(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private int index_ = 0; + /** + * int32 index = 1; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + + public static final int ERROR_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object error_ = ""; + /** + * string error = 2; + * @return The error. + */ + @java.lang.Override + public java.lang.String getError() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } + } + /** + * string error = 2; + * @return The bytes for error. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (index_ != 0) { + output.writeInt32(1, index_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (index_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, index_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError) obj; + + if (getIndex() + != other.getIndex()) return false; + if (!getError() + .equals(other.getError())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex(); + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Builder.class); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getPropertiesFieldBuilder(); - getVectorsFieldBuilder(); - } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - uuid_ = ""; - vector_ = emptyFloatList(); - properties_ = null; - if (propertiesBuilder_ != null) { - propertiesBuilder_.dispose(); - propertiesBuilder_ = null; - } - collection_ = ""; - tenant_ = ""; - vectorBytes_ = com.google.protobuf.ByteString.EMPTY; - if (vectorsBuilder_ == null) { - vectors_ = java.util.Collections.emptyList(); - } else { - vectors_ = null; - vectorsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - return this; + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError 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 com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObject_descriptor; + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance(); + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } - onBuilt(); - return result; + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } + /** + * Protobuf type {@code weaviate.v1.BatchObjectsReply.BatchError} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObjectsReply.BatchError) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + } - private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result) { - if (vectorsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - vectors_ = java.util.Collections.unmodifiableList(vectors_); - bitField0_ = (bitField0_ & ~0x00000040); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + index_ = 0; + error_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - result.vectors_ = vectors_; - } else { - result.vectors_ = vectorsBuilder_.build(); + return result; } - } - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.uuid_ = uuid_; + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - if (((from_bitField0_ & 0x00000002) != 0)) { - vector_.makeImmutable(); - result.vector_ = vector_; + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.index_ = index_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.error_ = error_; + } } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.properties_ = propertiesBuilder_ == null - ? properties_ - : propertiesBuilder_.build(); - to_bitField0_ |= 0x00000001; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.collection_ = collection_; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.tenant_ = tenant_; + @java.lang.Override + 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) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + 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) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()) return this; + if (other.getIndex() != 0) { + setIndex(other.getIndex()); + } + if (!other.getError().isEmpty()) { + error_ = other.error_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.vectorBytes_ = vectorBytes_; + + @java.lang.Override + public final boolean isInitialized() { + return true; } - result.bitField0_ |= to_bitField0_; - } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - 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) { - return super.clearField(field); - } - @java.lang.Override - 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) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject)other); - } else { - super.mergeFrom(other); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + index_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + error_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } - } + private int bitField0_; - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.getDefaultInstance()) return this; - if (!other.getUuid().isEmpty()) { - uuid_ = other.uuid_; + private int index_ ; + /** + * int32 index = 1; + * @return The index. + */ + @java.lang.Override + public int getIndex() { + return index_; + } + /** + * int32 index = 1; + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(int value) { + + index_ = value; bitField0_ |= 0x00000001; onChanged(); + return this; } - if (!other.vector_.isEmpty()) { - if (vector_.isEmpty()) { - vector_ = other.vector_; - vector_.makeImmutable(); - bitField0_ |= 0x00000002; + /** + * int32 index = 1; + * @return This builder for chaining. + */ + public Builder clearIndex() { + bitField0_ = (bitField0_ & ~0x00000001); + index_ = 0; + onChanged(); + return this; + } + + private java.lang.Object error_ = ""; + /** + * string error = 2; + * @return The error. + */ + public java.lang.String getError() { + java.lang.Object ref = error_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; } else { - ensureVectorIsMutable(); - vector_.addAll(other.vector_); + return (java.lang.String) ref; } - onChanged(); } - if (other.hasProperties()) { - mergeProperties(other.getProperties()); + /** + * string error = 2; + * @return The bytes for error. + */ + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - if (!other.getCollection().isEmpty()) { - collection_ = other.collection_; - bitField0_ |= 0x00000008; + /** + * string error = 2; + * @param value The error to set. + * @return This builder for chaining. + */ + public Builder setError( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + error_ = value; + bitField0_ |= 0x00000002; onChanged(); + return this; } - if (!other.getTenant().isEmpty()) { - tenant_ = other.tenant_; - bitField0_ |= 0x00000010; + /** + * string error = 2; + * @return This builder for chaining. + */ + public Builder clearError() { + error_ = getDefaultInstance().getError(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); + return this; } - if (other.getVectorBytes() != com.google.protobuf.ByteString.EMPTY) { - setVectorBytes(other.getVectorBytes()); + /** + * string error = 2; + * @param value The bytes for error to set. + * @return This builder for chaining. + */ + public Builder setErrorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + error_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } - if (vectorsBuilder_ == null) { - if (!other.vectors_.isEmpty()) { - if (vectors_.isEmpty()) { - vectors_ = other.vectors_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureVectorsIsMutable(); - vectors_.addAll(other.vectors_); - } - onChanged(); - } - } else { - if (!other.vectors_.isEmpty()) { - if (vectorsBuilder_.isEmpty()) { - vectorsBuilder_.dispose(); - vectorsBuilder_ = null; - vectors_ = other.vectors_; - bitField0_ = (bitField0_ & ~0x00000040); - vectorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVectorsFieldBuilder() : null; - } else { - vectorsBuilder_.addAllMessages(other.vectors_); - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObjectsReply.BatchError) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObjectsReply.BatchError) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchError 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(); } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override - public final boolean isInitialized() { - return true; + public com.google.protobuf.Parser getParserForType() { + return PARSER; } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - uuid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: { - float v = input.readFloat(); - ensureVectorIsMutable(); - vector_.addFloat(v); - break; - } // case 21 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - int alloc = length > 4096 ? 4096 : length; - ensureVectorIsMutable(alloc / 4); - while (input.getBytesUntilLimit() > 0) { - vector_.addFloat(input.readFloat()); - } - input.popLimit(limit); - break; - } // case 18 - case 26: { - input.readMessage( - getPropertiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - collection_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - vectorBytes_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 186: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.parser(), - extensionRegistry); - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); - vectors_.add(m); - } else { - vectorsBuilder_.addMessage(m); - } - break; - } // case 186 - 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) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - private int bitField0_; - private java.lang.Object uuid_ = ""; - /** - * string uuid = 1; - * @return The uuid. - */ - public java.lang.String getUuid() { - java.lang.Object ref = uuid_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uuid_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string uuid = 1; - * @return The bytes for uuid. - */ - public com.google.protobuf.ByteString - getUuidBytes() { - java.lang.Object ref = uuid_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uuid_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string uuid = 1; - * @param value The uuid to set. - * @return This builder for chaining. - */ - public Builder setUuid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - uuid_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * string uuid = 1; - * @return This builder for chaining. - */ - public Builder clearUuid() { - uuid_ = getDefaultInstance().getUuid(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * string uuid = 1; - * @param value The bytes for uuid to set. - * @return This builder for chaining. - */ - public Builder setUuidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - uuid_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } + } + + public static final int TOOK_FIELD_NUMBER = 1; + private float took_ = 0F; + /** + * float took = 1; + * @return The took. + */ + @java.lang.Override + public float getTook() { + return took_; + } + + public static final int ERRORS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List errors_; + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + @java.lang.Override + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index) { + return errors_.get(index); + } + /** + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } - private com.google.protobuf.Internal.FloatList vector_ = emptyFloatList(); - private void ensureVectorIsMutable() { - if (!vector_.isModifiable()) { - vector_ = makeMutableCopy(vector_); - } - bitField0_ |= 0x00000002; - } - private void ensureVectorIsMutable(int capacity) { - if (!vector_.isModifiable()) { - vector_ = makeMutableCopy(vector_, capacity); - } - bitField0_ |= 0x00000002; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(took_) != 0) { + output.writeFloat(1, took_); } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return A list containing the vector. - */ - @java.lang.Deprecated public java.util.List - getVectorList() { - vector_.makeImmutable(); - return vector_; + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(2, errors_.get(i)); } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return The count of vector. - */ - @java.lang.Deprecated public int getVectorCount() { - return vector_.size(); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(took_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, took_); } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param index The index of the element to return. - * @return The vector at the given index. - */ - @java.lang.Deprecated public float getVector(int index) { - return vector_.getFloat(index); + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param index The index to set the value at. - * @param value The vector to set. - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder setVector( - int index, float value) { + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - ensureVectorIsMutable(); - vector_.setFloat(index, value); - bitField0_ |= 0x00000002; - onChanged(); - return this; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param value The vector to add. - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder addVector(float value) { + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply) obj; - ensureVectorIsMutable(); - vector_.addFloat(value); - bitField0_ |= 0x00000002; - onChanged(); - return this; + if (java.lang.Float.floatToIntBits(getTook()) + != java.lang.Float.floatToIntBits( + other.getTook())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @param values The vector to add. - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder addAllVector( - java.lang.Iterable values) { - ensureVectorIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vector_); - bitField0_ |= 0x00000002; - onChanged(); - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TOOK_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTook()); + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.BatchObjectsReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObjectsReply) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; } - /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated float vector = 2 [deprecated = true]; - * @deprecated weaviate.v1.BatchObject.vector is deprecated. - * See v1/batch.proto;l=44 - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder clearVector() { - vector_ = emptyFloatList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.Builder.class); } - private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties properties_; - private com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder> propertiesBuilder_; - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return Whether the properties field is set. - */ - public boolean hasProperties() { - return ((bitField0_ & 0x00000004) != 0); + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.newBuilder() + private Builder() { + } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - * @return The properties. - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties getProperties() { - if (propertiesBuilder_ == null) { - return properties_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; - } else { - return propertiesBuilder_.getMessage(); - } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public Builder setProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties value) { - if (propertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - properties_ = value; + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + took_ = 0F; + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); } else { - propertiesBuilder_.setMessage(value); + errors_ = null; + errorsBuilder_.clear(); } - bitField0_ |= 0x00000004; - onChanged(); + bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public Builder setProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder builderForValue) { - if (propertiesBuilder_ == null) { - properties_ = builderForValue.build(); - } else { - propertiesBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public Builder mergeProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties value) { - if (propertiesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - properties_ != null && - properties_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance()) { - getPropertiesBuilder().mergeFrom(value); - } else { - properties_ = value; - } - } else { - propertiesBuilder_.mergeFrom(value); - } - if (properties_ != null) { - bitField0_ |= 0x00000004; - onChanged(); - } - return this; + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.getDefaultInstance(); } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public Builder clearProperties() { - bitField0_ = (bitField0_ & ~0x00000004); - properties_ = null; - if (propertiesBuilder_ != null) { - propertiesBuilder_.dispose(); - propertiesBuilder_ = null; + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - onChanged(); - return this; + return result; } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder getPropertiesBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getPropertiesFieldBuilder().getBuilder(); + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder getPropertiesOrBuilder() { - if (propertiesBuilder_ != null) { - return propertiesBuilder_.getMessageOrBuilder(); + + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result) { + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.errors_ = errors_; } else { - return properties_ == null ? - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.getDefaultInstance() : properties_; + result.errors_ = errorsBuilder_.build(); } } - /** - * .weaviate.v1.BatchObject.Properties properties = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder> - getPropertiesFieldBuilder() { - if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.Properties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject.PropertiesOrBuilder>( - getProperties(), - getParentForChildren(), - isClean()); - properties_ = null; + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.took_ = took_; } - return propertiesBuilder_; } - private java.lang.Object collection_ = ""; - /** - * string collection = 4; - * @return The collection. - */ - public java.lang.String getCollection() { - java.lang.Object ref = collection_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - collection_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * string collection = 4; - * @return The bytes for collection. - */ - public com.google.protobuf.ByteString - getCollectionBytes() { - java.lang.Object ref = collection_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - collection_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * string collection = 4; - * @param value The collection to set. - * @return This builder for chaining. - */ - public Builder setCollection( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - collection_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * string collection = 4; - * @return This builder for chaining. - */ - public Builder clearCollection() { - collection_ = getDefaultInstance().getCollection(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * string collection = 4; - * @param value The bytes for collection to set. - * @return This builder for chaining. - */ - public Builder setCollectionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - collection_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - - private java.lang.Object tenant_ = ""; - /** - * string tenant = 5; - * @return The tenant. - */ - public java.lang.String getTenant() { - java.lang.Object ref = tenant_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tenant_ = s; - return s; + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply)other); } else { - return (java.lang.String) ref; + super.mergeFrom(other); + return this; } } - /** - * string tenant = 5; - * @return The bytes for tenant. - */ - public com.google.protobuf.ByteString - getTenantBytes() { - java.lang.Object ref = tenant_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tenant_ = b; - return b; + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.getDefaultInstance()) return this; + if (other.getTook() != 0F) { + setTook(other.getTook()); + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } } else { - return (com.google.protobuf.ByteString) ref; + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000002); + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } } - } - /** - * string tenant = 5; - * @param value The tenant to set. - * @return This builder for chaining. - */ - public Builder setTenant( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - tenant_ = value; - bitField0_ |= 0x00000010; + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } - /** - * string tenant = 5; - * @return This builder for chaining. - */ - public Builder clearTenant() { - tenant_ = getDefaultInstance().getTenant(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; + + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - * string tenant = 5; - * @param value The bytes for tenant to set. - * @return This builder for chaining. - */ - public Builder setTenantBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - tenant_ = value; - bitField0_ |= 0x00000010; - onChanged(); + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + took_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 18: { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError m = + input.readMessage( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString vectorBytes_ = com.google.protobuf.ByteString.EMPTY; + private float took_ ; /** - * bytes vector_bytes = 6; - * @return The vectorBytes. + * float took = 1; + * @return The took. */ @java.lang.Override - public com.google.protobuf.ByteString getVectorBytes() { - return vectorBytes_; + public float getTook() { + return took_; } /** - * bytes vector_bytes = 6; - * @param value The vectorBytes to set. + * float took = 1; + * @param value The took to set. * @return This builder for chaining. */ - public Builder setVectorBytes(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - vectorBytes_ = value; - bitField0_ |= 0x00000020; + public Builder setTook(float value) { + + took_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } /** - * bytes vector_bytes = 6; + * float took = 1; * @return This builder for chaining. */ - public Builder clearVectorBytes() { - bitField0_ = (bitField0_ & ~0x00000020); - vectorBytes_ = getDefaultInstance().getVectorBytes(); + public Builder clearTook() { + bitField0_ = (bitField0_ & ~0x00000001); + took_ = 0F; onChanged(); return this; } - private java.util.List vectors_ = + private java.util.List errors_ = java.util.Collections.emptyList(); - private void ensureVectorsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - vectors_ = new java.util.ArrayList(vectors_); - bitField0_ |= 0x00000040; + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder> vectorsBuilder_; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder> errorsBuilder_; /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public java.util.List getVectorsList() { - if (vectorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(vectors_); + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); } else { - return vectorsBuilder_.getMessageList(); + return errorsBuilder_.getMessageList(); } } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public int getVectorsCount() { - if (vectorsBuilder_ == null) { - return vectors_.size(); + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); } else { - return vectorsBuilder_.getCount(); + return errorsBuilder_.getCount(); } } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors getVectors(int index) { - if (vectorsBuilder_ == null) { - return vectors_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { - return vectorsBuilder_.getMessage(index); + return errorsBuilder_.getMessage(index); } } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder setVectors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { - if (vectorsBuilder_ == null) { + public Builder setErrors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVectorsIsMutable(); - vectors_.set(index, value); + ensureErrorsIsMutable(); + errors_.set(index, value); onChanged(); } else { - vectorsBuilder_.setMessage(index, value); + errorsBuilder_.setMessage(index, value); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder setVectors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); - vectors_.set(index, builderForValue.build()); + public Builder setErrors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); onChanged(); } else { - vectorsBuilder_.setMessage(index, builderForValue.build()); + errorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder addVectors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { - if (vectorsBuilder_ == null) { + public Builder addErrors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVectorsIsMutable(); - vectors_.add(value); + ensureErrorsIsMutable(); + errors_.add(value); onChanged(); } else { - vectorsBuilder_.addMessage(value); + errorsBuilder_.addMessage(value); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder addVectors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors value) { - if (vectorsBuilder_ == null) { + public Builder addErrors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureVectorsIsMutable(); - vectors_.add(index, value); + ensureErrorsIsMutable(); + errors_.add(index, value); onChanged(); } else { - vectorsBuilder_.addMessage(index, value); + errorsBuilder_.addMessage(index, value); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder addVectors( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); - vectors_.add(builderForValue.build()); + public Builder addErrors( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); onChanged(); } else { - vectorsBuilder_.addMessage(builderForValue.build()); + errorsBuilder_.addMessage(builderForValue.build()); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder addVectors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder builderForValue) { - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); - vectors_.add(index, builderForValue.build()); + public Builder addErrors( + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); onChanged(); } else { - vectorsBuilder_.addMessage(index, builderForValue.build()); + errorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder addAllVectors( - java.lang.Iterable values) { - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, vectors_); + values, errors_); onChanged(); } else { - vectorsBuilder_.addAllMessages(values); + errorsBuilder_.addAllMessages(values); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder clearVectors() { - if (vectorsBuilder_ == null) { - vectors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { - vectorsBuilder_.clear(); + errorsBuilder_.clear(); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public Builder removeVectors(int index) { - if (vectorsBuilder_ == null) { - ensureVectorsIsMutable(); - vectors_.remove(index); + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); onChanged(); } else { - vectorsBuilder_.remove(index); + errorsBuilder_.remove(index); } return this; } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder getVectorsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder getErrorsBuilder( int index) { - return getVectorsFieldBuilder().getBuilder(index); + return getErrorsFieldBuilder().getBuilder(index); } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( int index) { - if (vectorsBuilder_ == null) { - return vectors_.get(index); } else { - return vectorsBuilder_.getMessageOrBuilder(index); + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); } } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public java.util.List - getVectorsOrBuilderList() { - if (vectorsBuilder_ != null) { - return vectorsBuilder_.getMessageOrBuilderList(); + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(vectors_); + return java.util.Collections.unmodifiableList(errors_); } } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder addVectorsBuilder() { - return getVectorsFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.getDefaultInstance()); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()); } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder addVectorsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder addErrorsBuilder( int index) { - return getVectorsFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()); } /** - *
-       * protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
-       * 
- * - * repeated .weaviate.v1.Vectors vectors = 23; + * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; */ - public java.util.List - getVectorsBuilderList() { - return getVectorsFieldBuilder().getBuilderList(); + public java.util.List + getErrorsBuilderList() { + return getErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder> - getVectorsFieldBuilder() { - if (vectorsBuilder_ == null) { - vectorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.Vectors.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.VectorsOrBuilder>( - vectors_, - ((bitField0_ & 0x00000040) != 0), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder> + getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - vectors_ = null; + errors_ = null; } - return vectorsBuilder_; + return errorsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -8367,23 +20802,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObject) + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObjectsReply) } - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObject) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObjectsReply) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject(); + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply(); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstance() { + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public BatchObject parsePartialFrom( + public BatchObjectsReply parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8402,24 +20837,24 @@ public BatchObject parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObject getDefaultInstanceForType() { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface BatchObjectsReplyOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObjectsReply) + public interface BatchReferencesReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchReferencesReply) com.google.protobuf.MessageOrBuilder { /** @@ -8429,42 +20864,42 @@ public interface BatchObjectsReplyOrBuilder extends float getTook(); /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getErrors(int index); /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ int getErrorsCount(); /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder getErrorsOrBuilder( int index); } /** - * Protobuf type {@code weaviate.v1.BatchObjectsReply} + * Protobuf type {@code weaviate.v1.BatchReferencesReply} */ - public static final class BatchObjectsReply extends + public static final class BatchReferencesReply extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObjectsReply) - BatchObjectsReplyOrBuilder { + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchReferencesReply) + BatchReferencesReplyOrBuilder { private static final long serialVersionUID = 0L; - // Use BatchObjectsReply.newBuilder() to construct. - private BatchObjectsReply(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use BatchReferencesReply.newBuilder() to construct. + private BatchReferencesReply(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchObjectsReply() { + private BatchReferencesReply() { errors_ = java.util.Collections.emptyList(); } @@ -8472,24 +20907,24 @@ private BatchObjectsReply() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new BatchObjectsReply(); + return new BatchReferencesReply(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.Builder.class); } public interface BatchErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchObjectsReply.BatchError) + // @@protoc_insertion_point(interface_extends:weaviate.v1.BatchReferencesReply.BatchError) com.google.protobuf.MessageOrBuilder { /** @@ -8511,11 +20946,11 @@ public interface BatchErrorOrBuilder extends getErrorBytes(); } /** - * Protobuf type {@code weaviate.v1.BatchObjectsReply.BatchError} + * Protobuf type {@code weaviate.v1.BatchReferencesReply.BatchError} */ public static final class BatchError extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:weaviate.v1.BatchObjectsReply.BatchError) + // @@protoc_insertion_point(message_implements:weaviate.v1.BatchReferencesReply.BatchError) BatchErrorOrBuilder { private static final long serialVersionUID = 0L; // Use BatchError.newBuilder() to construct. @@ -8535,15 +20970,15 @@ protected java.lang.Object newInstance( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_BatchError_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; @@ -8642,10 +21077,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError)) { + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError)) { return super.equals(obj); } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError) obj; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError) obj; if (getIndex() != other.getIndex()) return false; @@ -8671,44 +21106,44 @@ public int hashCode() { return hash; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom(byte[] data) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8716,26 +21151,26 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseDelimitedFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseDelimitedFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8748,7 +21183,7 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError prototype) { + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -8764,26 +21199,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code weaviate.v1.BatchObjectsReply.BatchError} + * Protobuf type {@code weaviate.v1.BatchReferencesReply.BatchError} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObjectsReply.BatchError) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder { + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchReferencesReply.BatchError) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_BatchError_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder.class); } - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.newBuilder() + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.newBuilder() private Builder() { } @@ -8805,17 +21240,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.getDefaultInstance(); } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result = buildPartial(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8823,14 +21258,14 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError(this); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError result) { + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.index_ = index_; @@ -8874,16 +21309,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError)other); + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()) return this; + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.getDefaultInstance()) return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } @@ -9061,16 +21496,16 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObjectsReply.BatchError) + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchReferencesReply.BatchError) } - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObjectsReply.BatchError) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchReferencesReply.BatchError) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError(); + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError(); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstance() { + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -9106,7 +21541,7 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getDefaultInstanceForType() { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -9125,41 +21560,41 @@ public float getTook() { public static final int ERRORS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private java.util.List errors_; + private java.util.List errors_; /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index) { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getErrors(int index) { return errors_.get(index); } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder getErrorsOrBuilder( int index) { return errors_.get(index); } @@ -9211,10 +21646,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply)) { + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply)) { return super.equals(obj); } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply) obj; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply) obj; if (java.lang.Float.floatToIntBits(getTook()) != java.lang.Float.floatToIntBits( @@ -9244,44 +21679,44 @@ public int hashCode() { return hash; } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom(byte[] data) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -9289,26 +21724,26 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseDelimitedFrom(java.io.InputStream input) + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseDelimitedFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply parseFrom( + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -9321,7 +21756,7 @@ public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.B public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply prototype) { + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -9337,26 +21772,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code weaviate.v1.BatchObjectsReply} + * Protobuf type {@code weaviate.v1.BatchReferencesReply} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchObjectsReply) - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReplyOrBuilder { + // @@protoc_insertion_point(builder_implements:weaviate.v1.BatchReferencesReply) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReplyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_fieldAccessorTable + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.Builder.class); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.Builder.class); } - // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.newBuilder() + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.newBuilder() private Builder() { } @@ -9384,17 +21819,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchObjectsReply_descriptor; + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.internal_static_weaviate_v1_BatchReferencesReply_descriptor; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstanceForType() { - return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.getDefaultInstance(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.getDefaultInstance(); } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply build() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result = buildPartial(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9402,15 +21837,15 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply buildPartial() { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply(this); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result) { + private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -9422,7 +21857,7 @@ private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.pro } } - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply result) { + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.took_ = took_; @@ -9463,16 +21898,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply) { - return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply)other); + if (other instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply other) { - if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.getDefaultInstance()) return this; + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.getDefaultInstance()) return this; if (other.getTook() != 0F) { setTook(other.getTook()); } @@ -9534,9 +21969,9 @@ public Builder mergeFrom( break; } // case 13 case 18: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError m = + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError m = input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.parser(), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.parser(), extensionRegistry); if (errorsBuilder_ == null) { ensureErrorsIsMutable(); @@ -9595,22 +22030,22 @@ public Builder clearTook() { return this; } - private java.util.List errors_ = + private java.util.List errors_ = java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder> errorsBuilder_; + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder> errorsBuilder_; /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public java.util.List getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -9618,7 +22053,7 @@ public java.util.Listrepeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -9628,9 +22063,9 @@ public int getErrorsCount() { } } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError getErrors(int index) { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -9638,10 +22073,10 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder setErrors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9655,10 +22090,10 @@ public Builder setErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder setErrors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -9669,9 +22104,9 @@ public Builder setErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public Builder addErrors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + public Builder addErrors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9685,10 +22120,10 @@ public Builder addErrors(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder addErrors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError value) { + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9702,10 +22137,10 @@ public Builder addErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder addErrors( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -9716,10 +22151,10 @@ public Builder addErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder addErrors( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder builderForValue) { + int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -9730,10 +22165,10 @@ public Builder addErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -9745,7 +22180,7 @@ public Builder addAllErrors( return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -9758,7 +22193,7 @@ public Builder clearErrors() { return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -9771,16 +22206,16 @@ public Builder removeErrors(int index) { return this; } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder getErrorsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder getErrorsOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -9788,9 +22223,9 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public java.util.List + public java.util.List getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); @@ -9799,33 +22234,33 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj } } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder addErrorsBuilder() { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder addErrorsBuilder() { return getErrorsFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()); + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder addErrorsBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder addErrorsBuilder( int index) { return getErrorsFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.getDefaultInstance()); + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.getDefaultInstance()); } /** - * repeated .weaviate.v1.BatchObjectsReply.BatchError errors = 2; + * repeated .weaviate.v1.BatchReferencesReply.BatchError errors = 2; */ - public java.util.List + public java.util.List getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder> + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply.BatchErrorOrBuilder>( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchError.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply.BatchErrorOrBuilder>( errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -9847,23 +22282,23 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchObjectsReply) + // @@protoc_insertion_point(builder_scope:weaviate.v1.BatchReferencesReply) } - // @@protoc_insertion_point(class_scope:weaviate.v1.BatchObjectsReply) - private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:weaviate.v1.BatchReferencesReply) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply(); + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply(); } - public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstance() { + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public BatchObjectsReply parsePartialFrom( + public BatchReferencesReply parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9882,17 +22317,17 @@ public BatchObjectsReply parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObjectsReply getDefaultInstanceForType() { + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchReferencesReply getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -9903,6 +22338,71 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_weaviate_v1_BatchObjectsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchReferencesRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchReferencesRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchSendRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchSendRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchSendRequest_Stop_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchSendRequest_Objects_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchSendRequest_References_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchSendRequest_References_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchSendReply_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchSendReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_Start_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_Stop_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_Shutdown_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchStreamMessage_Error_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_weaviate_v1_BatchObject_descriptor; private static final @@ -9923,6 +22423,11 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchReference_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchReference_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_weaviate_v1_BatchObjectsReply_descriptor; private static final @@ -9933,6 +22438,16 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_weaviate_v1_BatchObjectsReply_BatchError_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchReferencesReply_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchReferencesReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_BatchReferencesReply_BatchError_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -9947,37 +22462,77 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj "atchObjectsRequest\022)\n\007objects\030\001 \003(\0132\030.we" + "aviate.v1.BatchObject\022=\n\021consistency_lev" + "el\030\002 \001(\0162\035.weaviate.v1.ConsistencyLevelH" + - "\000\210\001\001B\024\n\022_consistency_level\"\336\007\n\013BatchObje" + - "ct\022\014\n\004uuid\030\001 \001(\t\022\022\n\006vector\030\002 \003(\002B\002\030\001\0227\n\n" + - "properties\030\003 \001(\0132#.weaviate.v1.BatchObje" + - "ct.Properties\022\022\n\ncollection\030\004 \001(\t\022\016\n\006ten" + - "ant\030\005 \001(\t\022\024\n\014vector_bytes\030\006 \001(\014\022%\n\007vecto" + - "rs\030\027 \003(\0132\024.weaviate.v1.Vectors\032\204\005\n\nPrope" + - "rties\0223\n\022non_ref_properties\030\001 \001(\0132\027.goog" + - "le.protobuf.Struct\022N\n\027single_target_ref_" + - "props\030\002 \003(\0132-.weaviate.v1.BatchObject.Si" + - "ngleTargetRefProps\022L\n\026multi_target_ref_p" + - "rops\030\003 \003(\0132,.weaviate.v1.BatchObject.Mul" + - "tiTargetRefProps\022C\n\027number_array_propert" + - "ies\030\004 \003(\0132\".weaviate.v1.NumberArrayPrope" + - "rties\022=\n\024int_array_properties\030\005 \003(\0132\037.we" + - "aviate.v1.IntArrayProperties\022?\n\025text_arr" + - "ay_properties\030\006 \003(\0132 .weaviate.v1.TextAr" + - "rayProperties\022E\n\030boolean_array_propertie" + - "s\030\007 \003(\0132#.weaviate.v1.BooleanArrayProper" + - "ties\0228\n\021object_properties\030\010 \003(\0132\035.weavia" + - "te.v1.ObjectProperties\022C\n\027object_array_p" + - "roperties\030\t \003(\0132\".weaviate.v1.ObjectArra" + - "yProperties\022\030\n\020empty_list_props\030\n \003(\t\0328\n" + - "\024SingleTargetRefProps\022\r\n\005uuids\030\001 \003(\t\022\021\n\t" + - "prop_name\030\002 \001(\t\032R\n\023MultiTargetRefProps\022\r" + - "\n\005uuids\030\001 \003(\t\022\021\n\tprop_name\030\002 \001(\t\022\031\n\021targ" + - "et_collection\030\003 \001(\t\"\210\001\n\021BatchObjectsRepl" + - "y\022\014\n\004took\030\001 \001(\002\0229\n\006errors\030\002 \003(\0132).weavia" + - "te.v1.BatchObjectsReply.BatchError\032*\n\nBa" + - "tchError\022\r\n\005index\030\001 \001(\005\022\r\n\005error\030\002 \001(\tBC" + - "\n-io.weaviate.client6.v1.internal.grpc.p" + - "rotocolB\022WeaviateProtoBatchb\006proto3" + "\000\210\001\001B\024\n\022_consistency_level\"\236\001\n\026BatchRefe" + + "rencesRequest\022/\n\nreferences\030\001 \003(\0132\033.weav" + + "iate.v1.BatchReference\022=\n\021consistency_le" + + "vel\030\002 \001(\0162\035.weaviate.v1.ConsistencyLevel" + + "H\000\210\001\001B\024\n\022_consistency_level\"\326\002\n\020BatchSen" + + "dRequest\022\021\n\tstream_id\030\001 \001(\t\0228\n\007objects\030\002" + + " \001(\0132%.weaviate.v1.BatchSendRequest.Obje" + + "ctsH\000\022>\n\nreferences\030\003 \001(\0132(.weaviate.v1." + + "BatchSendRequest.ReferencesH\000\0222\n\004stop\030\004 " + + "\001(\0132\".weaviate.v1.BatchSendRequest.StopH" + + "\000\032\006\n\004Stop\0323\n\007Objects\022(\n\006values\030\001 \003(\0132\030.w" + + "eaviate.v1.BatchObject\0329\n\nReferences\022+\n\006" + + "values\030\001 \003(\0132\033.weaviate.v1.BatchReferenc" + + "eB\t\n\007message\"B\n\016BatchSendReply\022\027\n\017next_b" + + "atch_size\030\001 \001(\005\022\027\n\017backoff_seconds\030\002 \001(\002" + + "\"\307\001\n\022BatchStreamRequest\022=\n\021consistency_l" + + "evel\030\001 \001(\0162\035.weaviate.v1.ConsistencyLeve" + + "lH\000\210\001\001\022\031\n\014object_index\030\002 \001(\005H\001\210\001\001\022\034\n\017ref" + + "erence_index\030\003 \001(\005H\002\210\001\001B\024\n\022_consistency_" + + "levelB\017\n\r_object_indexB\022\n\020_reference_ind" + + "ex\"\360\003\n\022BatchStreamMessage\022\021\n\tstream_id\030\001" + + " \001(\t\0226\n\005error\030\002 \001(\0132%.weaviate.v1.BatchS" + + "treamMessage.ErrorH\000\0226\n\005start\030\003 \001(\0132%.we" + + "aviate.v1.BatchStreamMessage.StartH\000\0224\n\004" + + "stop\030\004 \001(\0132$.weaviate.v1.BatchStreamMess" + + "age.StopH\000\022<\n\010shutdown\030\005 \001(\0132(.weaviate." + + "v1.BatchStreamMessage.ShutdownH\000\022E\n\rshut" + + "ting_down\030\006 \001(\0132,.weaviate.v1.BatchStrea" + + "mMessage.ShuttingDownH\000\032\007\n\005Start\032\006\n\004Stop" + + "\032\n\n\010Shutdown\032\016\n\014ShuttingDown\032d\n\005Error\022\r\n" + + "\005error\030\001 \001(\t\022\r\n\005index\030\002 \001(\005\022\024\n\014is_retria" + + "ble\030\003 \001(\010\022\021\n\tis_object\030\004 \001(\010\022\024\n\014is_refer" + + "ence\030\005 \001(\010B\t\n\007message\"\336\007\n\013BatchObject\022\014\n" + + "\004uuid\030\001 \001(\t\022\022\n\006vector\030\002 \003(\002B\002\030\001\0227\n\nprope" + + "rties\030\003 \001(\0132#.weaviate.v1.BatchObject.Pr" + + "operties\022\022\n\ncollection\030\004 \001(\t\022\016\n\006tenant\030\005" + + " \001(\t\022\024\n\014vector_bytes\030\006 \001(\014\022%\n\007vectors\030\027 " + + "\003(\0132\024.weaviate.v1.Vectors\032\204\005\n\nProperties" + + "\0223\n\022non_ref_properties\030\001 \001(\0132\027.google.pr" + + "otobuf.Struct\022N\n\027single_target_ref_props" + + "\030\002 \003(\0132-.weaviate.v1.BatchObject.SingleT" + + "argetRefProps\022L\n\026multi_target_ref_props\030" + + "\003 \003(\0132,.weaviate.v1.BatchObject.MultiTar" + + "getRefProps\022C\n\027number_array_properties\030\004" + + " \003(\0132\".weaviate.v1.NumberArrayProperties" + + "\022=\n\024int_array_properties\030\005 \003(\0132\037.weaviat" + + "e.v1.IntArrayProperties\022?\n\025text_array_pr" + + "operties\030\006 \003(\0132 .weaviate.v1.TextArrayPr" + + "operties\022E\n\030boolean_array_properties\030\007 \003" + + "(\0132#.weaviate.v1.BooleanArrayProperties\022" + + "8\n\021object_properties\030\010 \003(\0132\035.weaviate.v1" + + ".ObjectProperties\022C\n\027object_array_proper" + + "ties\030\t \003(\0132\".weaviate.v1.ObjectArrayProp" + + "erties\022\030\n\020empty_list_props\030\n \003(\t\0328\n\024Sing" + + "leTargetRefProps\022\r\n\005uuids\030\001 \003(\t\022\021\n\tprop_" + + "name\030\002 \001(\t\032R\n\023MultiTargetRefProps\022\r\n\005uui" + + "ds\030\001 \003(\t\022\021\n\tprop_name\030\002 \001(\t\022\031\n\021target_co" + + "llection\030\003 \001(\t\"\231\001\n\016BatchReference\022\014\n\004nam" + + "e\030\001 \001(\t\022\027\n\017from_collection\030\002 \001(\t\022\021\n\tfrom" + + "_uuid\030\003 \001(\t\022\032\n\rto_collection\030\004 \001(\tH\000\210\001\001\022" + + "\017\n\007to_uuid\030\005 \001(\t\022\016\n\006tenant\030\006 \001(\tB\020\n\016_to_" + + "collection\"\210\001\n\021BatchObjectsReply\022\014\n\004took" + + "\030\001 \001(\002\0229\n\006errors\030\002 \003(\0132).weaviate.v1.Bat" + + "chObjectsReply.BatchError\032*\n\nBatchError\022" + + "\r\n\005index\030\001 \001(\005\022\r\n\005error\030\002 \001(\t\"\216\001\n\024BatchR" + + "eferencesReply\022\014\n\004took\030\001 \001(\002\022<\n\006errors\030\002" + + " \003(\0132,.weaviate.v1.BatchReferencesReply." + + "BatchError\032*\n\nBatchError\022\r\n\005index\030\001 \001(\005\022" + + "\r\n\005error\030\002 \001(\tBC\n-io.weaviate.client6.v1" + + ".internal.grpc.protocolB\022WeaviateProtoBa" + + "tchb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -9991,8 +22546,86 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_BatchObjectsRequest_descriptor, new java.lang.String[] { "Objects", "ConsistencyLevel", "ConsistencyLevel", }); - internal_static_weaviate_v1_BatchObject_descriptor = + internal_static_weaviate_v1_BatchReferencesRequest_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_weaviate_v1_BatchReferencesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchReferencesRequest_descriptor, + new java.lang.String[] { "References", "ConsistencyLevel", "ConsistencyLevel", }); + internal_static_weaviate_v1_BatchSendRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_weaviate_v1_BatchSendRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchSendRequest_descriptor, + new java.lang.String[] { "StreamId", "Objects", "References", "Stop", "Message", }); + internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor = + internal_static_weaviate_v1_BatchSendRequest_descriptor.getNestedTypes().get(0); + internal_static_weaviate_v1_BatchSendRequest_Stop_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchSendRequest_Stop_descriptor, + new java.lang.String[] { }); + internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor = + internal_static_weaviate_v1_BatchSendRequest_descriptor.getNestedTypes().get(1); + internal_static_weaviate_v1_BatchSendRequest_Objects_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchSendRequest_Objects_descriptor, + new java.lang.String[] { "Values", }); + internal_static_weaviate_v1_BatchSendRequest_References_descriptor = + internal_static_weaviate_v1_BatchSendRequest_descriptor.getNestedTypes().get(2); + internal_static_weaviate_v1_BatchSendRequest_References_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchSendRequest_References_descriptor, + new java.lang.String[] { "Values", }); + internal_static_weaviate_v1_BatchSendReply_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_weaviate_v1_BatchSendReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchSendReply_descriptor, + new java.lang.String[] { "NextBatchSize", "BackoffSeconds", }); + internal_static_weaviate_v1_BatchStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_weaviate_v1_BatchStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamRequest_descriptor, + new java.lang.String[] { "ConsistencyLevel", "ObjectIndex", "ReferenceIndex", "ConsistencyLevel", "ObjectIndex", "ReferenceIndex", }); + internal_static_weaviate_v1_BatchStreamMessage_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_weaviate_v1_BatchStreamMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_descriptor, + new java.lang.String[] { "StreamId", "Error", "Start", "Stop", "Shutdown", "ShuttingDown", "Message", }); + internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor = + internal_static_weaviate_v1_BatchStreamMessage_descriptor.getNestedTypes().get(0); + internal_static_weaviate_v1_BatchStreamMessage_Start_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_Start_descriptor, + new java.lang.String[] { }); + internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor = + internal_static_weaviate_v1_BatchStreamMessage_descriptor.getNestedTypes().get(1); + internal_static_weaviate_v1_BatchStreamMessage_Stop_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_Stop_descriptor, + new java.lang.String[] { }); + internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor = + internal_static_weaviate_v1_BatchStreamMessage_descriptor.getNestedTypes().get(2); + internal_static_weaviate_v1_BatchStreamMessage_Shutdown_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_Shutdown_descriptor, + new java.lang.String[] { }); + internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor = + internal_static_weaviate_v1_BatchStreamMessage_descriptor.getNestedTypes().get(3); + internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_ShuttingDown_descriptor, + new java.lang.String[] { }); + internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor = + internal_static_weaviate_v1_BatchStreamMessage_descriptor.getNestedTypes().get(4); + internal_static_weaviate_v1_BatchStreamMessage_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchStreamMessage_Error_descriptor, + new java.lang.String[] { "Error", "Index", "IsRetriable", "IsObject", "IsReference", }); + internal_static_weaviate_v1_BatchObject_descriptor = + getDescriptor().getMessageTypes().get(6); internal_static_weaviate_v1_BatchObject_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_BatchObject_descriptor, @@ -10015,8 +22648,14 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_BatchObject_MultiTargetRefProps_descriptor, new java.lang.String[] { "Uuids", "PropName", "TargetCollection", }); + internal_static_weaviate_v1_BatchReference_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_weaviate_v1_BatchReference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchReference_descriptor, + new java.lang.String[] { "Name", "FromCollection", "FromUuid", "ToCollection", "ToUuid", "Tenant", "ToCollection", }); internal_static_weaviate_v1_BatchObjectsReply_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(8); internal_static_weaviate_v1_BatchObjectsReply_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_BatchObjectsReply_descriptor, @@ -10027,6 +22666,18 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBatch.BatchObj com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_BatchObjectsReply_BatchError_descriptor, new java.lang.String[] { "Index", "Error", }); + internal_static_weaviate_v1_BatchReferencesReply_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_weaviate_v1_BatchReferencesReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchReferencesReply_descriptor, + new java.lang.String[] { "Took", "Errors", }); + internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor = + internal_static_weaviate_v1_BatchReferencesReply_descriptor.getNestedTypes().get(0); + internal_static_weaviate_v1_BatchReferencesReply_BatchError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_BatchReferencesReply_BatchError_descriptor, + new java.lang.String[] { "Index", "Error", }); com.google.protobuf.StructProto.getDescriptor(); io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.getDescriptor(); } diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoFileReplication.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoFileReplication.java new file mode 100644 index 000000000..6805d6201 --- /dev/null +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoFileReplication.java @@ -0,0 +1,8341 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: v1/file_replication.proto + +package io.weaviate.client6.v1.internal.grpc.protocol; + +public final class WeaviateProtoFileReplication { + private WeaviateProtoFileReplication() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + * Protobuf enum {@code weaviate.v1.CompressionType} + */ + public enum CompressionType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * No compression
+     * 
+ * + * COMPRESSION_TYPE_UNSPECIFIED = 0; + */ + COMPRESSION_TYPE_UNSPECIFIED(0), + /** + *
+     * gzip (compress/gzip)
+     * 
+ * + * COMPRESSION_TYPE_GZIP = 1; + */ + COMPRESSION_TYPE_GZIP(1), + /** + *
+     * zlib (compress/zlib)
+     * 
+ * + * COMPRESSION_TYPE_ZLIB = 2; + */ + COMPRESSION_TYPE_ZLIB(2), + /** + *
+     * raw DEFLATE (compress/flate)
+     * 
+ * + * COMPRESSION_TYPE_DEFLATE = 3; + */ + COMPRESSION_TYPE_DEFLATE(3), + UNRECOGNIZED(-1), + ; + + /** + *
+     * No compression
+     * 
+ * + * COMPRESSION_TYPE_UNSPECIFIED = 0; + */ + public static final int COMPRESSION_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+     * gzip (compress/gzip)
+     * 
+ * + * COMPRESSION_TYPE_GZIP = 1; + */ + public static final int COMPRESSION_TYPE_GZIP_VALUE = 1; + /** + *
+     * zlib (compress/zlib)
+     * 
+ * + * COMPRESSION_TYPE_ZLIB = 2; + */ + public static final int COMPRESSION_TYPE_ZLIB_VALUE = 2; + /** + *
+     * raw DEFLATE (compress/flate)
+     * 
+ * + * COMPRESSION_TYPE_DEFLATE = 3; + */ + public static final int COMPRESSION_TYPE_DEFLATE_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CompressionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CompressionType forNumber(int value) { + switch (value) { + case 0: return COMPRESSION_TYPE_UNSPECIFIED; + case 1: return COMPRESSION_TYPE_GZIP; + case 2: return COMPRESSION_TYPE_ZLIB; + case 3: return COMPRESSION_TYPE_DEFLATE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompressionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompressionType findValueByNumber(int number) { + return CompressionType.forNumber(number); + } + }; + + 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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.getDescriptor().getEnumTypes().get(0); + } + + private static final CompressionType[] VALUES = values(); + + public static CompressionType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CompressionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:weaviate.v1.CompressionType) + } + + public interface PauseFileActivityRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.PauseFileActivityRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + + /** + * uint64 schema_version = 3; + * @return The schemaVersion. + */ + long getSchemaVersion(); + } + /** + * Protobuf type {@code weaviate.v1.PauseFileActivityRequest} + */ + public static final class PauseFileActivityRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.PauseFileActivityRequest) + PauseFileActivityRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PauseFileActivityRequest.newBuilder() to construct. + private PauseFileActivityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PauseFileActivityRequest() { + indexName_ = ""; + shardName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PauseFileActivityRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEMA_VERSION_FIELD_NUMBER = 3; + private long schemaVersion_ = 0L; + /** + * uint64 schema_version = 3; + * @return The schemaVersion. + */ + @java.lang.Override + public long getSchemaVersion() { + return schemaVersion_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + if (schemaVersion_ != 0L) { + output.writeUInt64(3, schemaVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + if (schemaVersion_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(3, schemaVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (getSchemaVersion() + != other.getSchemaVersion()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (37 * hash) + SCHEMA_VERSION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSchemaVersion()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.PauseFileActivityRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.PauseFileActivityRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + schemaVersion_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.schemaVersion_ = schemaVersion_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getSchemaVersion() != 0L) { + setSchemaVersion(other.getSchemaVersion()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + schemaVersion_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long schemaVersion_ ; + /** + * uint64 schema_version = 3; + * @return The schemaVersion. + */ + @java.lang.Override + public long getSchemaVersion() { + return schemaVersion_; + } + /** + * uint64 schema_version = 3; + * @param value The schemaVersion to set. + * @return This builder for chaining. + */ + public Builder setSchemaVersion(long value) { + + schemaVersion_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * uint64 schema_version = 3; + * @return This builder for chaining. + */ + public Builder clearSchemaVersion() { + bitField0_ = (bitField0_ & ~0x00000004); + schemaVersion_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.PauseFileActivityRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.PauseFileActivityRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseFileActivityRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PauseFileActivityResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.PauseFileActivityResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.PauseFileActivityResponse} + */ + public static final class PauseFileActivityResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.PauseFileActivityResponse) + PauseFileActivityResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use PauseFileActivityResponse.newBuilder() to construct. + private PauseFileActivityResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PauseFileActivityResponse() { + indexName_ = ""; + shardName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PauseFileActivityResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.PauseFileActivityResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.PauseFileActivityResponse) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_PauseFileActivityResponse_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.PauseFileActivityResponse) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.PauseFileActivityResponse) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseFileActivityResponse 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.PauseFileActivityResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResumeFileActivityRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.ResumeFileActivityRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.ResumeFileActivityRequest} + */ + public static final class ResumeFileActivityRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.ResumeFileActivityRequest) + ResumeFileActivityRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResumeFileActivityRequest.newBuilder() to construct. + private ResumeFileActivityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResumeFileActivityRequest() { + indexName_ = ""; + shardName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResumeFileActivityRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.ResumeFileActivityRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.ResumeFileActivityRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.ResumeFileActivityRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.ResumeFileActivityRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeFileActivityRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResumeFileActivityResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.ResumeFileActivityResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.ResumeFileActivityResponse} + */ + public static final class ResumeFileActivityResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.ResumeFileActivityResponse) + ResumeFileActivityResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResumeFileActivityResponse.newBuilder() to construct. + private ResumeFileActivityResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResumeFileActivityResponse() { + indexName_ = ""; + shardName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResumeFileActivityResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.ResumeFileActivityResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.ResumeFileActivityResponse) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.ResumeFileActivityResponse) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.ResumeFileActivityResponse) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeFileActivityResponse 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ResumeFileActivityResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListFilesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.ListFilesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.ListFilesRequest} + */ + public static final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.ListFilesRequest) + ListFilesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListFilesRequest.newBuilder() to construct. + private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListFilesRequest() { + indexName_ = ""; + shardName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListFilesRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.ListFilesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.ListFilesRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.ListFilesRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.ListFilesRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListFilesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.ListFilesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + + /** + * repeated string file_names = 3; + * @return A list containing the fileNames. + */ + java.util.List + getFileNamesList(); + /** + * repeated string file_names = 3; + * @return The count of fileNames. + */ + int getFileNamesCount(); + /** + * repeated string file_names = 3; + * @param index The index of the element to return. + * @return The fileNames at the given index. + */ + java.lang.String getFileNames(int index); + /** + * repeated string file_names = 3; + * @param index The index of the value to return. + * @return The bytes of the fileNames at the given index. + */ + com.google.protobuf.ByteString + getFileNamesBytes(int index); + } + /** + * Protobuf type {@code weaviate.v1.ListFilesResponse} + */ + public static final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.ListFilesResponse) + ListFilesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListFilesResponse.newBuilder() to construct. + private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListFilesResponse() { + indexName_ = ""; + shardName_ = ""; + fileNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListFilesResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILE_NAMES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList fileNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string file_names = 3; + * @return A list containing the fileNames. + */ + public com.google.protobuf.ProtocolStringList + getFileNamesList() { + return fileNames_; + } + /** + * repeated string file_names = 3; + * @return The count of fileNames. + */ + public int getFileNamesCount() { + return fileNames_.size(); + } + /** + * repeated string file_names = 3; + * @param index The index of the element to return. + * @return The fileNames at the given index. + */ + public java.lang.String getFileNames(int index) { + return fileNames_.get(index); + } + /** + * repeated string file_names = 3; + * @param index The index of the value to return. + * @return The bytes of the fileNames at the given index. + */ + public com.google.protobuf.ByteString + getFileNamesBytes(int index) { + return fileNames_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + for (int i = 0; i < fileNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileNames_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + { + int dataSize = 0; + for (int i = 0; i < fileNames_.size(); i++) { + dataSize += computeStringSizeNoTag(fileNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getFileNamesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getFileNamesList() + .equals(other.getFileNamesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + if (getFileNamesCount() > 0) { + hash = (37 * hash) + FILE_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getFileNamesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.ListFilesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.ListFilesResponse) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + fileNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_ListFilesResponse_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + fileNames_.makeImmutable(); + result.fileNames_ = fileNames_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.fileNames_.isEmpty()) { + if (fileNames_.isEmpty()) { + fileNames_ = other.fileNames_; + bitField0_ |= 0x00000004; + } else { + ensureFileNamesIsMutable(); + fileNames_.addAll(other.fileNames_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFileNamesIsMutable(); + fileNames_.add(s); + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList fileNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFileNamesIsMutable() { + if (!fileNames_.isModifiable()) { + fileNames_ = new com.google.protobuf.LazyStringArrayList(fileNames_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string file_names = 3; + * @return A list containing the fileNames. + */ + public com.google.protobuf.ProtocolStringList + getFileNamesList() { + fileNames_.makeImmutable(); + return fileNames_; + } + /** + * repeated string file_names = 3; + * @return The count of fileNames. + */ + public int getFileNamesCount() { + return fileNames_.size(); + } + /** + * repeated string file_names = 3; + * @param index The index of the element to return. + * @return The fileNames at the given index. + */ + public java.lang.String getFileNames(int index) { + return fileNames_.get(index); + } + /** + * repeated string file_names = 3; + * @param index The index of the value to return. + * @return The bytes of the fileNames at the given index. + */ + public com.google.protobuf.ByteString + getFileNamesBytes(int index) { + return fileNames_.getByteString(index); + } + /** + * repeated string file_names = 3; + * @param index The index to set the value at. + * @param value The fileNames to set. + * @return This builder for chaining. + */ + public Builder setFileNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFileNamesIsMutable(); + fileNames_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string file_names = 3; + * @param value The fileNames to add. + * @return This builder for chaining. + */ + public Builder addFileNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFileNamesIsMutable(); + fileNames_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string file_names = 3; + * @param values The fileNames to add. + * @return This builder for chaining. + */ + public Builder addAllFileNames( + java.lang.Iterable values) { + ensureFileNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fileNames_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string file_names = 3; + * @return This builder for chaining. + */ + public Builder clearFileNames() { + fileNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string file_names = 3; + * @param value The bytes of the fileNames to add. + * @return This builder for chaining. + */ + public Builder addFileNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFileNamesIsMutable(); + fileNames_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.ListFilesResponse) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.ListFilesResponse) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.ListFilesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetFileMetadataRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.GetFileMetadataRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + + /** + * string file_name = 3; + * @return The fileName. + */ + java.lang.String getFileName(); + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + com.google.protobuf.ByteString + getFileNameBytes(); + } + /** + * Protobuf type {@code weaviate.v1.GetFileMetadataRequest} + */ + public static final class GetFileMetadataRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.GetFileMetadataRequest) + GetFileMetadataRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetFileMetadataRequest.newBuilder() to construct. + private GetFileMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetFileMetadataRequest() { + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetFileMetadataRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileMetadataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileMetadataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + @java.lang.Override + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getFileName() + .equals(other.getFileName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getFileName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.GetFileMetadataRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.GetFileMetadataRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileMetadataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileMetadataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileMetadataRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fileName_ = fileName_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFileName().isEmpty()) { + fileName_ = other.fileName_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + fileName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file_name = 3; + * @param value The fileName to set. + * @return This builder for chaining. + */ + public Builder setFileName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string file_name = 3; + * @return This builder for chaining. + */ + public Builder clearFileName() { + fileName_ = getDefaultInstance().getFileName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string file_name = 3; + * @param value The bytes for fileName to set. + * @return This builder for chaining. + */ + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.GetFileMetadataRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.GetFileMetadataRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileMetadataRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileMetadataRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FileMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.FileMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + + /** + * string file_name = 3; + * @return The fileName. + */ + java.lang.String getFileName(); + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + com.google.protobuf.ByteString + getFileNameBytes(); + + /** + * int64 size = 4; + * @return The size. + */ + long getSize(); + + /** + * uint32 crc32 = 5; + * @return The crc32. + */ + int getCrc32(); + } + /** + * Protobuf type {@code weaviate.v1.FileMetadata} + */ + public static final class FileMetadata extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.FileMetadata) + FileMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use FileMetadata.newBuilder() to construct. + private FileMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FileMetadata() { + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FileMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + @java.lang.Override + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SIZE_FIELD_NUMBER = 4; + private long size_ = 0L; + /** + * int64 size = 4; + * @return The size. + */ + @java.lang.Override + public long getSize() { + return size_; + } + + public static final int CRC32_FIELD_NUMBER = 5; + private int crc32_ = 0; + /** + * uint32 crc32 = 5; + * @return The crc32. + */ + @java.lang.Override + public int getCrc32() { + return crc32_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_); + } + if (size_ != 0L) { + output.writeInt64(4, size_); + } + if (crc32_ != 0) { + output.writeUInt32(5, crc32_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_); + } + if (size_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, size_); + } + if (crc32_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, crc32_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getFileName() + .equals(other.getFileName())) return false; + if (getSize() + != other.getSize()) return false; + if (getCrc32() + != other.getCrc32()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getFileName().hashCode(); + hash = (37 * hash) + SIZE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSize()); + hash = (37 * hash) + CRC32_FIELD_NUMBER; + hash = (53 * hash) + getCrc32(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.FileMetadata} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.FileMetadata) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + size_ = 0L; + crc32_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileMetadata_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fileName_ = fileName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.size_ = size_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.crc32_ = crc32_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFileName().isEmpty()) { + fileName_ = other.fileName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getSize() != 0L) { + setSize(other.getSize()); + } + if (other.getCrc32() != 0) { + setCrc32(other.getCrc32()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + fileName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + size_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + crc32_ = input.readUInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file_name = 3; + * @param value The fileName to set. + * @return This builder for chaining. + */ + public Builder setFileName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string file_name = 3; + * @return This builder for chaining. + */ + public Builder clearFileName() { + fileName_ = getDefaultInstance().getFileName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string file_name = 3; + * @param value The bytes for fileName to set. + * @return This builder for chaining. + */ + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private long size_ ; + /** + * int64 size = 4; + * @return The size. + */ + @java.lang.Override + public long getSize() { + return size_; + } + /** + * int64 size = 4; + * @param value The size to set. + * @return This builder for chaining. + */ + public Builder setSize(long value) { + + size_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * int64 size = 4; + * @return This builder for chaining. + */ + public Builder clearSize() { + bitField0_ = (bitField0_ & ~0x00000008); + size_ = 0L; + onChanged(); + return this; + } + + private int crc32_ ; + /** + * uint32 crc32 = 5; + * @return The crc32. + */ + @java.lang.Override + public int getCrc32() { + return crc32_; + } + /** + * uint32 crc32 = 5; + * @param value The crc32 to set. + * @return This builder for chaining. + */ + public Builder setCrc32(int value) { + + crc32_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * uint32 crc32 = 5; + * @return This builder for chaining. + */ + public Builder clearCrc32() { + bitField0_ = (bitField0_ & ~0x00000010); + crc32_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.FileMetadata) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.FileMetadata) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileMetadata 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string index_name = 1; + * @return The indexName. + */ + java.lang.String getIndexName(); + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + com.google.protobuf.ByteString + getIndexNameBytes(); + + /** + * string shard_name = 2; + * @return The shardName. + */ + java.lang.String getShardName(); + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + com.google.protobuf.ByteString + getShardNameBytes(); + + /** + * string file_name = 3; + * @return The fileName. + */ + java.lang.String getFileName(); + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + com.google.protobuf.ByteString + getFileNameBytes(); + + /** + *
+     * Requested compression algorithm for streamed chunks
+     * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The enum numeric value on the wire for compression. + */ + int getCompressionValue(); + /** + *
+     * Requested compression algorithm for streamed chunks
+     * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The compression. + */ + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType getCompression(); + } + /** + * Protobuf type {@code weaviate.v1.GetFileRequest} + */ + public static final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.GetFileRequest) + GetFileRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetFileRequest.newBuilder() to construct. + private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetFileRequest() { + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + compression_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetFileRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.Builder.class); + } + + public static final int INDEX_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + @java.lang.Override + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARD_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + @java.lang.Override + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILE_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + @java.lang.Override + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMPRESSION_FIELD_NUMBER = 4; + private int compression_ = 0; + /** + *
+     * Requested compression algorithm for streamed chunks
+     * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The enum numeric value on the wire for compression. + */ + @java.lang.Override public int getCompressionValue() { + return compression_; + } + /** + *
+     * Requested compression algorithm for streamed chunks
+     * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The compression. + */ + @java.lang.Override public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType getCompression() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.forNumber(compression_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_); + } + if (compression_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.COMPRESSION_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, compression_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, indexName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_); + } + if (compression_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.COMPRESSION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, compression_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest) obj; + + if (!getIndexName() + .equals(other.getIndexName())) return false; + if (!getShardName() + .equals(other.getShardName())) return false; + if (!getFileName() + .equals(other.getFileName())) return false; + if (compression_ != other.compression_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIndexName().hashCode(); + hash = (37 * hash) + SHARD_NAME_FIELD_NUMBER; + hash = (53 * hash) + getShardName().hashCode(); + hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getFileName().hashCode(); + hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; + hash = (53 * hash) + compression_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.GetFileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.GetFileRequest) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + indexName_ = ""; + shardName_ = ""; + fileName_ = ""; + compression_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_GetFileRequest_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.indexName_ = indexName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.shardName_ = shardName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fileName_ = fileName_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.compression_ = compression_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest.getDefaultInstance()) return this; + if (!other.getIndexName().isEmpty()) { + indexName_ = other.indexName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getShardName().isEmpty()) { + shardName_ = other.shardName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getFileName().isEmpty()) { + fileName_ = other.fileName_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.compression_ != 0) { + setCompressionValue(other.getCompressionValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + indexName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + shardName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + fileName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + compression_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object indexName_ = ""; + /** + * string index_name = 1; + * @return The indexName. + */ + public java.lang.String getIndexName() { + java.lang.Object ref = indexName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + indexName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string index_name = 1; + * @return The bytes for indexName. + */ + public com.google.protobuf.ByteString + getIndexNameBytes() { + java.lang.Object ref = indexName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + indexName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string index_name = 1; + * @param value The indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string index_name = 1; + * @return This builder for chaining. + */ + public Builder clearIndexName() { + indexName_ = getDefaultInstance().getIndexName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string index_name = 1; + * @param value The bytes for indexName to set. + * @return This builder for chaining. + */ + public Builder setIndexNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + indexName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object shardName_ = ""; + /** + * string shard_name = 2; + * @return The shardName. + */ + public java.lang.String getShardName() { + java.lang.Object ref = shardName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + shardName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string shard_name = 2; + * @return The bytes for shardName. + */ + public com.google.protobuf.ByteString + getShardNameBytes() { + java.lang.Object ref = shardName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + shardName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string shard_name = 2; + * @param value The shardName to set. + * @return This builder for chaining. + */ + public Builder setShardName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @return This builder for chaining. + */ + public Builder clearShardName() { + shardName_ = getDefaultInstance().getShardName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string shard_name = 2; + * @param value The bytes for shardName to set. + * @return This builder for chaining. + */ + public Builder setShardNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + shardName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object fileName_ = ""; + /** + * string file_name = 3; + * @return The fileName. + */ + public java.lang.String getFileName() { + java.lang.Object ref = fileName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fileName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string file_name = 3; + * @return The bytes for fileName. + */ + public com.google.protobuf.ByteString + getFileNameBytes() { + java.lang.Object ref = fileName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fileName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string file_name = 3; + * @param value The fileName to set. + * @return This builder for chaining. + */ + public Builder setFileName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string file_name = 3; + * @return This builder for chaining. + */ + public Builder clearFileName() { + fileName_ = getDefaultInstance().getFileName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string file_name = 3; + * @param value The bytes for fileName to set. + * @return This builder for chaining. + */ + public Builder setFileNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + fileName_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int compression_ = 0; + /** + *
+       * Requested compression algorithm for streamed chunks
+       * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The enum numeric value on the wire for compression. + */ + @java.lang.Override public int getCompressionValue() { + return compression_; + } + /** + *
+       * Requested compression algorithm for streamed chunks
+       * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @param value The enum numeric value on the wire for compression to set. + * @return This builder for chaining. + */ + public Builder setCompressionValue(int value) { + compression_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Requested compression algorithm for streamed chunks
+       * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return The compression. + */ + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType getCompression() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType result = io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.forNumber(compression_); + return result == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType.UNRECOGNIZED : result; + } + /** + *
+       * Requested compression algorithm for streamed chunks
+       * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @param value The compression to set. + * @return This builder for chaining. + */ + public Builder setCompression(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.CompressionType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + compression_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Requested compression algorithm for streamed chunks
+       * 
+ * + * .weaviate.v1.CompressionType compression = 4; + * @return This builder for chaining. + */ + public Builder clearCompression() { + bitField0_ = (bitField0_ & ~0x00000008); + compression_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.GetFileRequest) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.GetFileRequest) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.GetFileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FileChunkOrBuilder extends + // @@protoc_insertion_point(interface_extends:weaviate.v1.FileChunk) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Byte offset in the uncompressed file
+     * 
+ * + * int64 offset = 1; + * @return The offset. + */ + long getOffset(); + + /** + *
+     * Compressed or raw chunk data
+     * 
+ * + * bytes data = 2; + * @return The data. + */ + com.google.protobuf.ByteString getData(); + + /** + *
+     * Indicates final chunk
+     * 
+ * + * bool eof = 3; + * @return The eof. + */ + boolean getEof(); + } + /** + * Protobuf type {@code weaviate.v1.FileChunk} + */ + public static final class FileChunk extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:weaviate.v1.FileChunk) + FileChunkOrBuilder { + private static final long serialVersionUID = 0L; + // Use FileChunk.newBuilder() to construct. + private FileChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FileChunk() { + data_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FileChunk(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileChunk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileChunk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.Builder.class); + } + + public static final int OFFSET_FIELD_NUMBER = 1; + private long offset_ = 0L; + /** + *
+     * Byte offset in the uncompressed file
+     * 
+ * + * int64 offset = 1; + * @return The offset. + */ + @java.lang.Override + public long getOffset() { + return offset_; + } + + public static final int DATA_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+     * Compressed or raw chunk data
+     * 
+ * + * bytes data = 2; + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } + + public static final int EOF_FIELD_NUMBER = 3; + private boolean eof_ = false; + /** + *
+     * Indicates final chunk
+     * 
+ * + * bool eof = 3; + * @return The eof. + */ + @java.lang.Override + public boolean getEof() { + return eof_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (offset_ != 0L) { + output.writeInt64(1, offset_); + } + if (!data_.isEmpty()) { + output.writeBytes(2, data_); + } + if (eof_ != false) { + output.writeBool(3, eof_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (offset_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, offset_); + } + if (!data_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, data_); + } + if (eof_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, eof_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk) obj; + + if (getOffset() + != other.getOffset()) return false; + if (!getData() + .equals(other.getData())) return false; + if (getEof() + != other.getEof()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OFFSET_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + hash = (37 * hash) + EOF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEof()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk 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 static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code weaviate.v1.FileChunk} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:weaviate.v1.FileChunk) + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunkOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileChunk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileChunk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.class, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.Builder.class); + } + + // Construct using io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + offset_ = 0L; + data_ = com.google.protobuf.ByteString.EMPTY; + eof_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.internal_static_weaviate_v1_FileChunk_descriptor; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk getDefaultInstanceForType() { + return io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.getDefaultInstance(); + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk build() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk buildPartial() { + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.offset_ = offset_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.data_ = data_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.eof_ = eof_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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 io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk) { + return mergeFrom((io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk other) { + if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk.getDefaultInstance()) return this; + if (other.getOffset() != 0L) { + setOffset(other.getOffset()); + } + if (other.getData() != com.google.protobuf.ByteString.EMPTY) { + setData(other.getData()); + } + if (other.getEof() != false) { + setEof(other.getEof()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + data_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + eof_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long offset_ ; + /** + *
+       * Byte offset in the uncompressed file
+       * 
+ * + * int64 offset = 1; + * @return The offset. + */ + @java.lang.Override + public long getOffset() { + return offset_; + } + /** + *
+       * Byte offset in the uncompressed file
+       * 
+ * + * int64 offset = 1; + * @param value The offset to set. + * @return This builder for chaining. + */ + public Builder setOffset(long value) { + + offset_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Byte offset in the uncompressed file
+       * 
+ * + * int64 offset = 1; + * @return This builder for chaining. + */ + public Builder clearOffset() { + bitField0_ = (bitField0_ & ~0x00000001); + offset_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * Compressed or raw chunk data
+       * 
+ * + * bytes data = 2; + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } + /** + *
+       * Compressed or raw chunk data
+       * 
+ * + * bytes data = 2; + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + data_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Compressed or raw chunk data
+       * 
+ * + * bytes data = 2; + * @return This builder for chaining. + */ + public Builder clearData() { + bitField0_ = (bitField0_ & ~0x00000002); + data_ = getDefaultInstance().getData(); + onChanged(); + return this; + } + + private boolean eof_ ; + /** + *
+       * Indicates final chunk
+       * 
+ * + * bool eof = 3; + * @return The eof. + */ + @java.lang.Override + public boolean getEof() { + return eof_; + } + /** + *
+       * Indicates final chunk
+       * 
+ * + * bool eof = 3; + * @param value The eof to set. + * @return This builder for chaining. + */ + public Builder setEof(boolean value) { + + eof_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Indicates final chunk
+       * 
+ * + * bool eof = 3; + * @return This builder for chaining. + */ + public Builder clearEof() { + bitField0_ = (bitField0_ & ~0x00000004); + eof_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:weaviate.v1.FileChunk) + } + + // @@protoc_insertion_point(class_scope:weaviate.v1.FileChunk) + private static final io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk(); + } + + public static io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileChunk 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; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoFileReplication.FileChunk getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_PauseFileActivityRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_PauseFileActivityRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_PauseFileActivityResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_PauseFileActivityResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_ResumeFileActivityRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_ResumeFileActivityResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_ListFilesRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_ListFilesRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_ListFilesResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_ListFilesResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_GetFileMetadataRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_GetFileMetadataRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_FileMetadata_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_FileMetadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_GetFileRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_GetFileRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_weaviate_v1_FileChunk_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_weaviate_v1_FileChunk_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\031v1/file_replication.proto\022\013weaviate.v1" + + "\"Z\n\030PauseFileActivityRequest\022\022\n\nindex_na" + + "me\030\001 \001(\t\022\022\n\nshard_name\030\002 \001(\t\022\026\n\016schema_v" + + "ersion\030\003 \001(\004\"C\n\031PauseFileActivityRespons" + + "e\022\022\n\nindex_name\030\001 \001(\t\022\022\n\nshard_name\030\002 \001(" + + "\t\"C\n\031ResumeFileActivityRequest\022\022\n\nindex_" + + "name\030\001 \001(\t\022\022\n\nshard_name\030\002 \001(\t\"D\n\032Resume" + + "FileActivityResponse\022\022\n\nindex_name\030\001 \001(\t" + + "\022\022\n\nshard_name\030\002 \001(\t\":\n\020ListFilesRequest" + + "\022\022\n\nindex_name\030\001 \001(\t\022\022\n\nshard_name\030\002 \001(\t" + + "\"O\n\021ListFilesResponse\022\022\n\nindex_name\030\001 \001(" + + "\t\022\022\n\nshard_name\030\002 \001(\t\022\022\n\nfile_names\030\003 \003(" + + "\t\"S\n\026GetFileMetadataRequest\022\022\n\nindex_nam" + + "e\030\001 \001(\t\022\022\n\nshard_name\030\002 \001(\t\022\021\n\tfile_name" + + "\030\003 \001(\t\"f\n\014FileMetadata\022\022\n\nindex_name\030\001 \001" + + "(\t\022\022\n\nshard_name\030\002 \001(\t\022\021\n\tfile_name\030\003 \001(" + + "\t\022\014\n\004size\030\004 \001(\003\022\r\n\005crc32\030\005 \001(\r\"~\n\016GetFil" + + "eRequest\022\022\n\nindex_name\030\001 \001(\t\022\022\n\nshard_na" + + "me\030\002 \001(\t\022\021\n\tfile_name\030\003 \001(\t\0221\n\013compressi" + + "on\030\004 \001(\0162\034.weaviate.v1.CompressionType\"6" + + "\n\tFileChunk\022\016\n\006offset\030\001 \001(\003\022\014\n\004data\030\002 \001(" + + "\014\022\013\n\003eof\030\003 \001(\010*\207\001\n\017CompressionType\022 \n\034CO" + + "MPRESSION_TYPE_UNSPECIFIED\020\000\022\031\n\025COMPRESS" + + "ION_TYPE_GZIP\020\001\022\031\n\025COMPRESSION_TYPE_ZLIB" + + "\020\002\022\034\n\030COMPRESSION_TYPE_DEFLATE\020\0032\312\003\n\026Fil" + + "eReplicationService\022b\n\021PauseFileActivity" + + "\022%.weaviate.v1.PauseFileActivityRequest\032" + + "&.weaviate.v1.PauseFileActivityResponse\022" + + "e\n\022ResumeFileActivity\022&.weaviate.v1.Resu" + + "meFileActivityRequest\032\'.weaviate.v1.Resu" + + "meFileActivityResponse\022J\n\tListFiles\022\035.we" + + "aviate.v1.ListFilesRequest\032\036.weaviate.v1" + + ".ListFilesResponse\022U\n\017GetFileMetadata\022#." + + "weaviate.v1.GetFileMetadataRequest\032\031.wea" + + "viate.v1.FileMetadata(\0010\001\022B\n\007GetFile\022\033.w" + + "eaviate.v1.GetFileRequest\032\026.weaviate.v1." + + "FileChunk(\0010\001BM\n-io.weaviate.client6.v1." + + "internal.grpc.protocolB\034WeaviateProtoFil" + + "eReplicationb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_weaviate_v1_PauseFileActivityRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_weaviate_v1_PauseFileActivityRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_PauseFileActivityRequest_descriptor, + new java.lang.String[] { "IndexName", "ShardName", "SchemaVersion", }); + internal_static_weaviate_v1_PauseFileActivityResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_weaviate_v1_PauseFileActivityResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_PauseFileActivityResponse_descriptor, + new java.lang.String[] { "IndexName", "ShardName", }); + internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_weaviate_v1_ResumeFileActivityRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_ResumeFileActivityRequest_descriptor, + new java.lang.String[] { "IndexName", "ShardName", }); + internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_weaviate_v1_ResumeFileActivityResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_ResumeFileActivityResponse_descriptor, + new java.lang.String[] { "IndexName", "ShardName", }); + internal_static_weaviate_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_weaviate_v1_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_ListFilesRequest_descriptor, + new java.lang.String[] { "IndexName", "ShardName", }); + internal_static_weaviate_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_weaviate_v1_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_ListFilesResponse_descriptor, + new java.lang.String[] { "IndexName", "ShardName", "FileNames", }); + internal_static_weaviate_v1_GetFileMetadataRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_weaviate_v1_GetFileMetadataRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_GetFileMetadataRequest_descriptor, + new java.lang.String[] { "IndexName", "ShardName", "FileName", }); + internal_static_weaviate_v1_FileMetadata_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_weaviate_v1_FileMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_FileMetadata_descriptor, + new java.lang.String[] { "IndexName", "ShardName", "FileName", "Size", "Crc32", }); + internal_static_weaviate_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_weaviate_v1_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_GetFileRequest_descriptor, + new java.lang.String[] { "IndexName", "ShardName", "FileName", "Compression", }); + internal_static_weaviate_v1_FileChunk_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_weaviate_v1_FileChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_weaviate_v1_FileChunk_descriptor, + new java.lang.String[] { "Offset", "Data", "Eof", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoGenerative.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoGenerative.java index 2bd79cfef..7b35c27ec 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoGenerative.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoGenerative.java @@ -21,14 +21,14 @@ public interface GenerativeSearchOrBuilder extends /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The singleResponsePrompt. */ @java.lang.Deprecated java.lang.String getSingleResponsePrompt(); /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The bytes for singleResponsePrompt. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -37,14 +37,14 @@ public interface GenerativeSearchOrBuilder extends /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The groupedResponseTask. */ @java.lang.Deprecated java.lang.String getGroupedResponseTask(); /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The bytes for groupedResponseTask. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -53,7 +53,7 @@ public interface GenerativeSearchOrBuilder extends /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return A list containing the groupedProperties. */ @java.lang.Deprecated java.util.List @@ -61,14 +61,14 @@ public interface GenerativeSearchOrBuilder extends /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return The count of groupedProperties. */ @java.lang.Deprecated int getGroupedPropertiesCount(); /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the element to return. * @return The groupedProperties at the given index. */ @@ -76,7 +76,7 @@ public interface GenerativeSearchOrBuilder extends /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the value to return. * @return The bytes of the groupedProperties at the given index. */ @@ -1341,6 +1341,12 @@ public interface GroupedOrBuilder extends */ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.GenerativeProviderOrBuilder getQueriesOrBuilder( int index); + + /** + * bool debug = 4; + * @return The debug. + */ + boolean getDebug(); } /** * Protobuf type {@code weaviate.v1.GenerativeSearch.Grouped} @@ -1506,6 +1512,17 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen return queries_.get(index); } + public static final int DEBUG_FIELD_NUMBER = 4; + private boolean debug_ = false; + /** + * bool debug = 4; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1529,6 +1546,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < queries_.size(); i++) { output.writeMessage(3, queries_.get(i)); } + if (debug_ != false) { + output.writeBool(4, debug_); + } getUnknownFields().writeTo(output); } @@ -1549,6 +1569,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, queries_.get(i)); } + if (debug_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, debug_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1573,6 +1597,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getQueriesList() .equals(other.getQueriesList())) return false; + if (getDebug() + != other.getDebug()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1594,6 +1620,9 @@ public int hashCode() { hash = (37 * hash) + QUERIES_FIELD_NUMBER; hash = (53 * hash) + getQueriesList().hashCode(); } + hash = (37 * hash) + DEBUG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDebug()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1745,6 +1774,7 @@ public Builder clear() { queriesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); + debug_ = false; return this; } @@ -1801,6 +1831,9 @@ private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.Weaviat : propertiesBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.debug_ = debug_; + } result.bitField0_ |= to_bitField0_; } @@ -1882,6 +1915,9 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP } } } + if (other.getDebug() != false) { + setDebug(other.getDebug()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1933,6 +1969,11 @@ public Builder mergeFrom( } break; } // case 26 + case 32: { + debug_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -2454,6 +2495,38 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen } return queriesBuilder_; } + + private boolean debug_ ; + /** + * bool debug = 4; + * @return The debug. + */ + @java.lang.Override + public boolean getDebug() { + return debug_; + } + /** + * bool debug = 4; + * @param value The debug to set. + * @return This builder for chaining. + */ + public Builder setDebug(boolean value) { + + debug_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool debug = 4; + * @return This builder for chaining. + */ + public Builder clearDebug() { + bitField0_ = (bitField0_ & ~0x00000008); + debug_ = false; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2525,7 +2598,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The singleResponsePrompt. */ @java.lang.Override @@ -2544,7 +2617,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The bytes for singleResponsePrompt. */ @java.lang.Override @@ -2568,7 +2641,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The groupedResponseTask. */ @java.lang.Override @@ -2587,7 +2660,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The bytes for groupedResponseTask. */ @java.lang.Override @@ -2612,7 +2685,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return A list containing the groupedProperties. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -2622,7 +2695,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return The count of groupedProperties. */ @java.lang.Deprecated public int getGroupedPropertiesCount() { @@ -2631,7 +2704,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the element to return. * @return The groupedProperties at the given index. */ @@ -2641,7 +2714,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the value to return. * @return The bytes of the groupedProperties at the given index. */ @@ -3178,7 +3251,7 @@ public Builder mergeFrom( /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The singleResponsePrompt. */ @java.lang.Deprecated public java.lang.String getSingleResponsePrompt() { @@ -3196,7 +3269,7 @@ public Builder mergeFrom( /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return The bytes for singleResponsePrompt. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -3215,7 +3288,7 @@ public Builder mergeFrom( /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @param value The singleResponsePrompt to set. * @return This builder for chaining. */ @@ -3230,7 +3303,7 @@ public Builder mergeFrom( /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSingleResponsePrompt() { @@ -3242,7 +3315,7 @@ public Builder mergeFrom( /** * string single_response_prompt = 1 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.single_response_prompt is deprecated. - * See v1/generative.proto;l=24 + * See v1/generative.proto;l=25 * @param value The bytes for singleResponsePrompt to set. * @return This builder for chaining. */ @@ -3260,7 +3333,7 @@ public Builder mergeFrom( /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The groupedResponseTask. */ @java.lang.Deprecated public java.lang.String getGroupedResponseTask() { @@ -3278,7 +3351,7 @@ public Builder mergeFrom( /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return The bytes for groupedResponseTask. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -3297,7 +3370,7 @@ public Builder mergeFrom( /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @param value The groupedResponseTask to set. * @return This builder for chaining. */ @@ -3312,7 +3385,7 @@ public Builder mergeFrom( /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGroupedResponseTask() { @@ -3324,7 +3397,7 @@ public Builder mergeFrom( /** * string grouped_response_task = 2 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_response_task is deprecated. - * See v1/generative.proto;l=25 + * See v1/generative.proto;l=26 * @param value The bytes for groupedResponseTask to set. * @return This builder for chaining. */ @@ -3349,7 +3422,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return A list containing the groupedProperties. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -3360,7 +3433,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return The count of groupedProperties. */ @java.lang.Deprecated public int getGroupedPropertiesCount() { @@ -3369,7 +3442,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the element to return. * @return The groupedProperties at the given index. */ @@ -3379,7 +3452,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index of the value to return. * @return The bytes of the groupedProperties at the given index. */ @@ -3390,7 +3463,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param index The index to set the value at. * @param value The groupedProperties to set. * @return This builder for chaining. @@ -3407,7 +3480,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param value The groupedProperties to add. * @return This builder for chaining. */ @@ -3423,7 +3496,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param values The groupedProperties to add. * @return This builder for chaining. */ @@ -3439,7 +3512,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGroupedProperties() { @@ -3452,7 +3525,7 @@ private void ensureGroupedPropertiesIsMutable() { /** * repeated string grouped_properties = 3 [deprecated = true]; * @deprecated weaviate.v1.GenerativeSearch.grouped_properties is deprecated. - * See v1/generative.proto;l=26 + * See v1/generative.proto;l=27 * @param value The bytes of the groupedProperties to add. * @return This builder for chaining. */ @@ -50171,7 +50244,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen static { java.lang.String[] descriptorData = { "\n\023v1/generative.proto\022\013weaviate.v1\032\rv1/b" + - "ase.proto\"\316\003\n\020GenerativeSearch\022\"\n\026single" + + "ase.proto\"\335\003\n\020GenerativeSearch\022\"\n\026single" + "_response_prompt\030\001 \001(\tB\002\030\001\022!\n\025grouped_re" + "sponse_task\030\002 \001(\tB\002\030\001\022\036\n\022grouped_propert" + "ies\030\003 \003(\tB\002\030\001\0224\n\006single\030\004 \001(\0132$.weaviate" + @@ -50179,255 +50252,255 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen " \001(\0132%.weaviate.v1.GenerativeSearch.Grou" + "ped\032Y\n\006Single\022\016\n\006prompt\030\001 \001(\t\022\r\n\005debug\030\002" + " \001(\010\0220\n\007queries\030\003 \003(\0132\037.weaviate.v1.Gene" + - "rativeProvider\032\211\001\n\007Grouped\022\014\n\004task\030\001 \001(\t" + + "rativeProvider\032\230\001\n\007Grouped\022\014\n\004task\030\001 \001(\t" + "\022/\n\nproperties\030\002 \001(\0132\026.weaviate.v1.TextA" + "rrayH\000\210\001\001\0220\n\007queries\030\003 \003(\0132\037.weaviate.v1" + - ".GenerativeProviderB\r\n\013_properties\"\300\005\n\022G" + - "enerativeProvider\022\027\n\017return_metadata\030\001 \001" + - "(\010\0225\n\tanthropic\030\002 \001(\0132 .weaviate.v1.Gene" + - "rativeAnthropicH\000\0223\n\010anyscale\030\003 \001(\0132\037.we" + - "aviate.v1.GenerativeAnyscaleH\000\022)\n\003aws\030\004 " + - "\001(\0132\032.weaviate.v1.GenerativeAWSH\000\022/\n\006coh" + - "ere\030\005 \001(\0132\035.weaviate.v1.GenerativeCohere" + - "H\000\022-\n\005dummy\030\006 \001(\0132\034.weaviate.v1.Generati" + - "veDummyH\000\0221\n\007mistral\030\007 \001(\0132\036.weaviate.v1" + - ".GenerativeMistralH\000\022/\n\006ollama\030\010 \001(\0132\035.w" + - "eaviate.v1.GenerativeOllamaH\000\022/\n\006openai\030" + - "\t \001(\0132\035.weaviate.v1.GenerativeOpenAIH\000\022/" + - "\n\006google\030\n \001(\0132\035.weaviate.v1.GenerativeG" + - "oogleH\000\0227\n\ndatabricks\030\013 \001(\0132!.weaviate.v" + - "1.GenerativeDatabricksH\000\0227\n\nfriendliai\030\014" + - " \001(\0132!.weaviate.v1.GenerativeFriendliAIH" + - "\000\022/\n\006nvidia\030\r \001(\0132\035.weaviate.v1.Generati" + - "veNvidiaH\000\022)\n\003xai\030\016 \001(\0132\032.weaviate.v1.Ge" + - "nerativeXAIH\000B\006\n\004kind\"\261\003\n\023GenerativeAnth" + - "ropic\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\027\n\nmax_toke" + - "ns\030\002 \001(\003H\001\210\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\030\n\013tem" + - "perature\030\004 \001(\001H\003\210\001\001\022\022\n\005top_k\030\005 \001(\003H\004\210\001\001\022" + - "\022\n\005top_p\030\006 \001(\001H\005\210\001\001\0223\n\016stop_sequences\030\007 " + - "\001(\0132\026.weaviate.v1.TextArrayH\006\210\001\001\022+\n\006imag" + - "es\030\010 \001(\0132\026.weaviate.v1.TextArrayH\007\210\001\001\0225\n" + - "\020image_properties\030\t \001(\0132\026.weaviate.v1.Te" + - "xtArrayH\010\210\001\001B\013\n\t_base_urlB\r\n\013_max_tokens" + - "B\010\n\006_modelB\016\n\014_temperatureB\010\n\006_top_kB\010\n\006" + - "_top_pB\021\n\017_stop_sequencesB\t\n\007_imagesB\023\n\021" + - "_image_properties\"\200\001\n\022GenerativeAnyscale" + - "\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001" + - "\210\001\001\022\030\n\013temperature\030\003 \001(\001H\002\210\001\001B\013\n\t_base_u" + - "rlB\010\n\006_modelB\016\n\014_temperature\"\235\003\n\rGenerat" + - "iveAWS\022\022\n\005model\030\003 \001(\tH\000\210\001\001\022\030\n\013temperatur" + - "e\030\010 \001(\001H\001\210\001\001\022\024\n\007service\030\t \001(\tH\002\210\001\001\022\023\n\006re" + - "gion\030\n \001(\tH\003\210\001\001\022\025\n\010endpoint\030\013 \001(\tH\004\210\001\001\022\031" + - "\n\014target_model\030\014 \001(\tH\005\210\001\001\022\033\n\016target_vari" + - "ant\030\r \001(\tH\006\210\001\001\022+\n\006images\030\016 \001(\0132\026.weaviat" + - "e.v1.TextArrayH\007\210\001\001\0225\n\020image_properties\030" + - "\017 \001(\0132\026.weaviate.v1.TextArrayH\010\210\001\001B\010\n\006_m" + - "odelB\016\n\014_temperatureB\n\n\010_serviceB\t\n\007_reg" + - "ionB\013\n\t_endpointB\017\n\r_target_modelB\021\n\017_ta" + - "rget_variantB\t\n\007_imagesB\023\n\021_image_proper" + - "ties\"\204\003\n\020GenerativeCohere\022\025\n\010base_url\030\001 " + - "\001(\tH\000\210\001\001\022\036\n\021frequency_penalty\030\002 \001(\001H\001\210\001\001" + - "\022\027\n\nmax_tokens\030\003 \001(\003H\002\210\001\001\022\022\n\005model\030\004 \001(\t" + - "H\003\210\001\001\022\016\n\001k\030\005 \001(\003H\004\210\001\001\022\016\n\001p\030\006 \001(\001H\005\210\001\001\022\035\n" + - "\020presence_penalty\030\007 \001(\001H\006\210\001\001\0223\n\016stop_seq" + - "uences\030\010 \001(\0132\026.weaviate.v1.TextArrayH\007\210\001" + - "\001\022\030\n\013temperature\030\t \001(\001H\010\210\001\001B\013\n\t_base_url" + - "B\024\n\022_frequency_penaltyB\r\n\013_max_tokensB\010\n" + - "\006_modelB\004\n\002_kB\004\n\002_pB\023\n\021_presence_penalty" + - "B\021\n\017_stop_sequencesB\016\n\014_temperature\"\021\n\017G" + - "enerativeDummy\"\305\001\n\021GenerativeMistral\022\025\n\010" + - "base_url\030\001 \001(\tH\000\210\001\001\022\027\n\nmax_tokens\030\002 \001(\003H" + - "\001\210\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\030\n\013temperature\030" + - "\004 \001(\001H\003\210\001\001\022\022\n\005top_p\030\005 \001(\001H\004\210\001\001B\013\n\t_base_" + - "urlB\r\n\013_max_tokensB\010\n\006_modelB\016\n\014_tempera" + - "tureB\010\n\006_top_p\"\212\002\n\020GenerativeOllama\022\031\n\014a" + - "pi_endpoint\030\001 \001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001\210" + - "\001\001\022\030\n\013temperature\030\003 \001(\001H\002\210\001\001\022+\n\006images\030\004" + - " \001(\0132\026.weaviate.v1.TextArrayH\003\210\001\001\0225\n\020ima" + - "ge_properties\030\005 \001(\0132\026.weaviate.v1.TextAr" + - "rayH\004\210\001\001B\017\n\r_api_endpointB\010\n\006_modelB\016\n\014_" + - "temperatureB\t\n\007_imagesB\023\n\021_image_propert" + - "ies\"\246\005\n\020GenerativeOpenAI\022\036\n\021frequency_pe" + - "nalty\030\001 \001(\001H\000\210\001\001\022\027\n\nmax_tokens\030\002 \001(\003H\001\210\001" + - "\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\016\n\001n\030\004 \001(\003H\003\210\001\001\022\035\n" + - "\020presence_penalty\030\005 \001(\001H\004\210\001\001\022)\n\004stop\030\006 \001" + - "(\0132\026.weaviate.v1.TextArrayH\005\210\001\001\022\030\n\013tempe" + - "rature\030\007 \001(\001H\006\210\001\001\022\022\n\005top_p\030\010 \001(\001H\007\210\001\001\022\025\n" + - "\010base_url\030\t \001(\tH\010\210\001\001\022\030\n\013api_version\030\n \001(" + - "\tH\t\210\001\001\022\032\n\rresource_name\030\013 \001(\tH\n\210\001\001\022\032\n\rde" + - "ployment_id\030\014 \001(\tH\013\210\001\001\022\025\n\010is_azure\030\r \001(\010" + - "H\014\210\001\001\022+\n\006images\030\016 \001(\0132\026.weaviate.v1.Text" + - "ArrayH\r\210\001\001\0225\n\020image_properties\030\017 \001(\0132\026.w" + - "eaviate.v1.TextArrayH\016\210\001\001B\024\n\022_frequency_" + - "penaltyB\r\n\013_max_tokensB\010\n\006_modelB\004\n\002_nB\023" + - "\n\021_presence_penaltyB\007\n\005_stopB\016\n\014_tempera" + - "tureB\010\n\006_top_pB\013\n\t_base_urlB\016\n\014_api_vers" + - "ionB\020\n\016_resource_nameB\020\n\016_deployment_idB" + - "\013\n\t_is_azureB\t\n\007_imagesB\023\n\021_image_proper" + - "ties\"\222\005\n\020GenerativeGoogle\022\036\n\021frequency_p" + - "enalty\030\001 \001(\001H\000\210\001\001\022\027\n\nmax_tokens\030\002 \001(\003H\001\210" + - "\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\035\n\020presence_penal" + - "ty\030\004 \001(\001H\003\210\001\001\022\030\n\013temperature\030\005 \001(\001H\004\210\001\001\022" + - "\022\n\005top_k\030\006 \001(\003H\005\210\001\001\022\022\n\005top_p\030\007 \001(\001H\006\210\001\001\022" + - "3\n\016stop_sequences\030\010 \001(\0132\026.weaviate.v1.Te" + - "xtArrayH\007\210\001\001\022\031\n\014api_endpoint\030\t \001(\tH\010\210\001\001\022" + - "\027\n\nproject_id\030\n \001(\tH\t\210\001\001\022\030\n\013endpoint_id\030" + - "\013 \001(\tH\n\210\001\001\022\023\n\006region\030\014 \001(\tH\013\210\001\001\022+\n\006image" + - "s\030\r \001(\0132\026.weaviate.v1.TextArrayH\014\210\001\001\0225\n\020" + - "image_properties\030\016 \001(\0132\026.weaviate.v1.Tex" + - "tArrayH\r\210\001\001B\024\n\022_frequency_penaltyB\r\n\013_ma" + - "x_tokensB\010\n\006_modelB\023\n\021_presence_penaltyB" + - "\016\n\014_temperatureB\010\n\006_top_kB\010\n\006_top_pB\021\n\017_" + - "stop_sequencesB\017\n\r_api_endpointB\r\n\013_proj" + - "ect_idB\016\n\014_endpoint_idB\t\n\007_regionB\t\n\007_im" + - "agesB\023\n\021_image_properties\"\320\003\n\024Generative" + - "Databricks\022\025\n\010endpoint\030\001 \001(\tH\000\210\001\001\022\022\n\005mod" + - "el\030\002 \001(\tH\001\210\001\001\022\036\n\021frequency_penalty\030\003 \001(\001" + - "H\002\210\001\001\022\026\n\tlog_probs\030\004 \001(\010H\003\210\001\001\022\032\n\rtop_log" + - "_probs\030\005 \001(\003H\004\210\001\001\022\027\n\nmax_tokens\030\006 \001(\003H\005\210" + - "\001\001\022\016\n\001n\030\007 \001(\003H\006\210\001\001\022\035\n\020presence_penalty\030\010" + - " \001(\001H\007\210\001\001\022)\n\004stop\030\t \001(\0132\026.weaviate.v1.Te" + - "xtArrayH\010\210\001\001\022\030\n\013temperature\030\n \001(\001H\t\210\001\001\022\022" + - "\n\005top_p\030\013 \001(\001H\n\210\001\001B\013\n\t_endpointB\010\n\006_mode" + - "lB\024\n\022_frequency_penaltyB\014\n\n_log_probsB\020\n" + - "\016_top_log_probsB\r\n\013_max_tokensB\004\n\002_nB\023\n\021" + - "_presence_penaltyB\007\n\005_stopB\016\n\014_temperatu" + - "reB\010\n\006_top_p\"\336\001\n\024GenerativeFriendliAI\022\025\n" + - "\010base_url\030\001 \001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001\210\001\001" + - "\022\027\n\nmax_tokens\030\003 \001(\003H\002\210\001\001\022\030\n\013temperature" + - "\030\004 \001(\001H\003\210\001\001\022\016\n\001n\030\005 \001(\003H\004\210\001\001\022\022\n\005top_p\030\006 \001" + - "(\001H\005\210\001\001B\013\n\t_base_urlB\010\n\006_modelB\r\n\013_max_t" + - "okensB\016\n\014_temperatureB\004\n\002_nB\010\n\006_top_p\"\304\001" + - "\n\020GenerativeNvidia\022\025\n\010base_url\030\001 \001(\tH\000\210\001" + - "\001\022\022\n\005model\030\002 \001(\tH\001\210\001\001\022\030\n\013temperature\030\003 \001" + - "(\001H\002\210\001\001\022\022\n\005top_p\030\004 \001(\001H\003\210\001\001\022\027\n\nmax_token" + - "s\030\005 \001(\003H\004\210\001\001B\013\n\t_base_urlB\010\n\006_modelB\016\n\014_" + - "temperatureB\010\n\006_top_pB\r\n\013_max_tokens\"\305\002\n" + - "\rGenerativeXAI\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\022\n" + + ".GenerativeProvider\022\r\n\005debug\030\004 \001(\010B\r\n\013_p" + + "roperties\"\300\005\n\022GenerativeProvider\022\027\n\017retu" + + "rn_metadata\030\001 \001(\010\0225\n\tanthropic\030\002 \001(\0132 .w" + + "eaviate.v1.GenerativeAnthropicH\000\0223\n\010anys" + + "cale\030\003 \001(\0132\037.weaviate.v1.GenerativeAnysc" + + "aleH\000\022)\n\003aws\030\004 \001(\0132\032.weaviate.v1.Generat" + + "iveAWSH\000\022/\n\006cohere\030\005 \001(\0132\035.weaviate.v1.G" + + "enerativeCohereH\000\022-\n\005dummy\030\006 \001(\0132\034.weavi" + + "ate.v1.GenerativeDummyH\000\0221\n\007mistral\030\007 \001(" + + "\0132\036.weaviate.v1.GenerativeMistralH\000\022/\n\006o" + + "llama\030\010 \001(\0132\035.weaviate.v1.GenerativeOlla" + + "maH\000\022/\n\006openai\030\t \001(\0132\035.weaviate.v1.Gener" + + "ativeOpenAIH\000\022/\n\006google\030\n \001(\0132\035.weaviate" + + ".v1.GenerativeGoogleH\000\0227\n\ndatabricks\030\013 \001" + + "(\0132!.weaviate.v1.GenerativeDatabricksH\000\022" + + "7\n\nfriendliai\030\014 \001(\0132!.weaviate.v1.Genera" + + "tiveFriendliAIH\000\022/\n\006nvidia\030\r \001(\0132\035.weavi" + + "ate.v1.GenerativeNvidiaH\000\022)\n\003xai\030\016 \001(\0132\032" + + ".weaviate.v1.GenerativeXAIH\000B\006\n\004kind\"\261\003\n" + + "\023GenerativeAnthropic\022\025\n\010base_url\030\001 \001(\tH\000" + + "\210\001\001\022\027\n\nmax_tokens\030\002 \001(\003H\001\210\001\001\022\022\n\005model\030\003 " + + "\001(\tH\002\210\001\001\022\030\n\013temperature\030\004 \001(\001H\003\210\001\001\022\022\n\005to" + + "p_k\030\005 \001(\003H\004\210\001\001\022\022\n\005top_p\030\006 \001(\001H\005\210\001\001\0223\n\016st" + + "op_sequences\030\007 \001(\0132\026.weaviate.v1.TextArr" + + "ayH\006\210\001\001\022+\n\006images\030\010 \001(\0132\026.weaviate.v1.Te" + + "xtArrayH\007\210\001\001\0225\n\020image_properties\030\t \001(\0132\026" + + ".weaviate.v1.TextArrayH\010\210\001\001B\013\n\t_base_url" + + "B\r\n\013_max_tokensB\010\n\006_modelB\016\n\014_temperatur" + + "eB\010\n\006_top_kB\010\n\006_top_pB\021\n\017_stop_sequences" + + "B\t\n\007_imagesB\023\n\021_image_properties\"\200\001\n\022Gen" + + "erativeAnyscale\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\022" + + "\n\005model\030\002 \001(\tH\001\210\001\001\022\030\n\013temperature\030\003 \001(\001H" + + "\002\210\001\001B\013\n\t_base_urlB\010\n\006_modelB\016\n\014_temperat" + + "ure\"\235\003\n\rGenerativeAWS\022\022\n\005model\030\003 \001(\tH\000\210\001" + + "\001\022\030\n\013temperature\030\010 \001(\001H\001\210\001\001\022\024\n\007service\030\t" + + " \001(\tH\002\210\001\001\022\023\n\006region\030\n \001(\tH\003\210\001\001\022\025\n\010endpoi" + + "nt\030\013 \001(\tH\004\210\001\001\022\031\n\014target_model\030\014 \001(\tH\005\210\001\001" + + "\022\033\n\016target_variant\030\r \001(\tH\006\210\001\001\022+\n\006images\030" + + "\016 \001(\0132\026.weaviate.v1.TextArrayH\007\210\001\001\0225\n\020im" + + "age_properties\030\017 \001(\0132\026.weaviate.v1.TextA" + + "rrayH\010\210\001\001B\010\n\006_modelB\016\n\014_temperatureB\n\n\010_" + + "serviceB\t\n\007_regionB\013\n\t_endpointB\017\n\r_targ" + + "et_modelB\021\n\017_target_variantB\t\n\007_imagesB\023" + + "\n\021_image_properties\"\204\003\n\020GenerativeCohere" + + "\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\036\n\021frequency_pen" + + "alty\030\002 \001(\001H\001\210\001\001\022\027\n\nmax_tokens\030\003 \001(\003H\002\210\001\001" + + "\022\022\n\005model\030\004 \001(\tH\003\210\001\001\022\016\n\001k\030\005 \001(\003H\004\210\001\001\022\016\n\001" + + "p\030\006 \001(\001H\005\210\001\001\022\035\n\020presence_penalty\030\007 \001(\001H\006" + + "\210\001\001\0223\n\016stop_sequences\030\010 \001(\0132\026.weaviate.v" + + "1.TextArrayH\007\210\001\001\022\030\n\013temperature\030\t \001(\001H\010\210" + + "\001\001B\013\n\t_base_urlB\024\n\022_frequency_penaltyB\r\n" + + "\013_max_tokensB\010\n\006_modelB\004\n\002_kB\004\n\002_pB\023\n\021_p" + + "resence_penaltyB\021\n\017_stop_sequencesB\016\n\014_t" + + "emperature\"\021\n\017GenerativeDummy\"\305\001\n\021Genera" + + "tiveMistral\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\027\n\nma" + + "x_tokens\030\002 \001(\003H\001\210\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022" + + "\030\n\013temperature\030\004 \001(\001H\003\210\001\001\022\022\n\005top_p\030\005 \001(\001" + + "H\004\210\001\001B\013\n\t_base_urlB\r\n\013_max_tokensB\010\n\006_mo" + + "delB\016\n\014_temperatureB\010\n\006_top_p\"\212\002\n\020Genera" + + "tiveOllama\022\031\n\014api_endpoint\030\001 \001(\tH\000\210\001\001\022\022\n" + "\005model\030\002 \001(\tH\001\210\001\001\022\030\n\013temperature\030\003 \001(\001H\002" + - "\210\001\001\022\022\n\005top_p\030\004 \001(\001H\003\210\001\001\022\027\n\nmax_tokens\030\005 " + - "\001(\003H\004\210\001\001\022+\n\006images\030\006 \001(\0132\026.weaviate.v1.T" + - "extArrayH\005\210\001\001\0225\n\020image_properties\030\007 \001(\0132" + - "\026.weaviate.v1.TextArrayH\006\210\001\001B\013\n\t_base_ur" + - "lB\010\n\006_modelB\016\n\014_temperatureB\010\n\006_top_pB\r\n" + - "\013_max_tokensB\t\n\007_imagesB\023\n\021_image_proper" + - "ties\"\222\001\n\033GenerativeAnthropicMetadata\022=\n\005" + - "usage\030\001 \001(\0132..weaviate.v1.GenerativeAnth" + - "ropicMetadata.Usage\0324\n\005Usage\022\024\n\014input_to" + - "kens\030\001 \001(\003\022\025\n\routput_tokens\030\002 \001(\003\"\034\n\032Gen" + - "erativeAnyscaleMetadata\"\027\n\025GenerativeAWS" + - "Metadata\"\234\006\n\030GenerativeCohereMetadata\022J\n" + - "\013api_version\030\001 \001(\01320.weaviate.v1.Generat" + - "iveCohereMetadata.ApiVersionH\000\210\001\001\022L\n\014bil" + - "led_units\030\002 \001(\01321.weaviate.v1.Generative" + - "CohereMetadata.BilledUnitsH\001\210\001\001\022A\n\006token" + - "s\030\003 \001(\0132,.weaviate.v1.GenerativeCohereMe" + - "tadata.TokensH\002\210\001\001\022-\n\010warnings\030\004 \001(\0132\026.w" + - "eaviate.v1.TextArrayH\003\210\001\001\032\216\001\n\nApiVersion" + - "\022\024\n\007version\030\001 \001(\tH\000\210\001\001\022\032\n\ris_deprecated\030" + - "\002 \001(\010H\001\210\001\001\022\034\n\017is_experimental\030\003 \001(\010H\002\210\001\001" + - "B\n\n\010_versionB\020\n\016_is_deprecatedB\022\n\020_is_ex" + - "perimental\032\305\001\n\013BilledUnits\022\031\n\014input_toke" + - "ns\030\001 \001(\001H\000\210\001\001\022\032\n\routput_tokens\030\002 \001(\001H\001\210\001" + - "\001\022\031\n\014search_units\030\003 \001(\001H\002\210\001\001\022\034\n\017classifi" + - "cations\030\004 \001(\001H\003\210\001\001B\017\n\r_input_tokensB\020\n\016_" + - "output_tokensB\017\n\r_search_unitsB\022\n\020_class" + - "ifications\032b\n\006Tokens\022\031\n\014input_tokens\030\001 \001" + - "(\001H\000\210\001\001\022\032\n\routput_tokens\030\002 \001(\001H\001\210\001\001B\017\n\r_" + - "input_tokensB\020\n\016_output_tokensB\016\n\014_api_v" + - "ersionB\017\n\r_billed_unitsB\t\n\007_tokensB\013\n\t_w" + - "arnings\"\031\n\027GenerativeDummyMetadata\"\201\002\n\031G" + - "enerativeMistralMetadata\022@\n\005usage\030\001 \001(\0132" + - ",.weaviate.v1.GenerativeMistralMetadata." + - "UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rprompt_tokens\030\001 " + - "\001(\003H\000\210\001\001\022\036\n\021completion_tokens\030\002 \001(\003H\001\210\001\001" + - "\022\031\n\014total_tokens\030\003 \001(\003H\002\210\001\001B\020\n\016_prompt_t" + - "okensB\024\n\022_completion_tokensB\017\n\r_total_to" + - "kensB\010\n\006_usage\"\032\n\030GenerativeOllamaMetada" + - "ta\"\377\001\n\030GenerativeOpenAIMetadata\022?\n\005usage" + - "\030\001 \001(\0132+.weaviate.v1.GenerativeOpenAIMet" + + "\210\001\001\022+\n\006images\030\004 \001(\0132\026.weaviate.v1.TextAr" + + "rayH\003\210\001\001\0225\n\020image_properties\030\005 \001(\0132\026.wea" + + "viate.v1.TextArrayH\004\210\001\001B\017\n\r_api_endpoint" + + "B\010\n\006_modelB\016\n\014_temperatureB\t\n\007_imagesB\023\n" + + "\021_image_properties\"\246\005\n\020GenerativeOpenAI\022" + + "\036\n\021frequency_penalty\030\001 \001(\001H\000\210\001\001\022\027\n\nmax_t" + + "okens\030\002 \001(\003H\001\210\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\016\n\001" + + "n\030\004 \001(\003H\003\210\001\001\022\035\n\020presence_penalty\030\005 \001(\001H\004" + + "\210\001\001\022)\n\004stop\030\006 \001(\0132\026.weaviate.v1.TextArra" + + "yH\005\210\001\001\022\030\n\013temperature\030\007 \001(\001H\006\210\001\001\022\022\n\005top_" + + "p\030\010 \001(\001H\007\210\001\001\022\025\n\010base_url\030\t \001(\tH\010\210\001\001\022\030\n\013a" + + "pi_version\030\n \001(\tH\t\210\001\001\022\032\n\rresource_name\030\013" + + " \001(\tH\n\210\001\001\022\032\n\rdeployment_id\030\014 \001(\tH\013\210\001\001\022\025\n" + + "\010is_azure\030\r \001(\010H\014\210\001\001\022+\n\006images\030\016 \001(\0132\026.w" + + "eaviate.v1.TextArrayH\r\210\001\001\0225\n\020image_prope" + + "rties\030\017 \001(\0132\026.weaviate.v1.TextArrayH\016\210\001\001" + + "B\024\n\022_frequency_penaltyB\r\n\013_max_tokensB\010\n" + + "\006_modelB\004\n\002_nB\023\n\021_presence_penaltyB\007\n\005_s" + + "topB\016\n\014_temperatureB\010\n\006_top_pB\013\n\t_base_u" + + "rlB\016\n\014_api_versionB\020\n\016_resource_nameB\020\n\016" + + "_deployment_idB\013\n\t_is_azureB\t\n\007_imagesB\023" + + "\n\021_image_properties\"\222\005\n\020GenerativeGoogle" + + "\022\036\n\021frequency_penalty\030\001 \001(\001H\000\210\001\001\022\027\n\nmax_" + + "tokens\030\002 \001(\003H\001\210\001\001\022\022\n\005model\030\003 \001(\tH\002\210\001\001\022\035\n" + + "\020presence_penalty\030\004 \001(\001H\003\210\001\001\022\030\n\013temperat" + + "ure\030\005 \001(\001H\004\210\001\001\022\022\n\005top_k\030\006 \001(\003H\005\210\001\001\022\022\n\005to" + + "p_p\030\007 \001(\001H\006\210\001\001\0223\n\016stop_sequences\030\010 \001(\0132\026" + + ".weaviate.v1.TextArrayH\007\210\001\001\022\031\n\014api_endpo" + + "int\030\t \001(\tH\010\210\001\001\022\027\n\nproject_id\030\n \001(\tH\t\210\001\001\022" + + "\030\n\013endpoint_id\030\013 \001(\tH\n\210\001\001\022\023\n\006region\030\014 \001(" + + "\tH\013\210\001\001\022+\n\006images\030\r \001(\0132\026.weaviate.v1.Tex" + + "tArrayH\014\210\001\001\0225\n\020image_properties\030\016 \001(\0132\026." + + "weaviate.v1.TextArrayH\r\210\001\001B\024\n\022_frequency" + + "_penaltyB\r\n\013_max_tokensB\010\n\006_modelB\023\n\021_pr" + + "esence_penaltyB\016\n\014_temperatureB\010\n\006_top_k" + + "B\010\n\006_top_pB\021\n\017_stop_sequencesB\017\n\r_api_en" + + "dpointB\r\n\013_project_idB\016\n\014_endpoint_idB\t\n" + + "\007_regionB\t\n\007_imagesB\023\n\021_image_properties" + + "\"\320\003\n\024GenerativeDatabricks\022\025\n\010endpoint\030\001 " + + "\001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001\210\001\001\022\036\n\021frequenc" + + "y_penalty\030\003 \001(\001H\002\210\001\001\022\026\n\tlog_probs\030\004 \001(\010H" + + "\003\210\001\001\022\032\n\rtop_log_probs\030\005 \001(\003H\004\210\001\001\022\027\n\nmax_" + + "tokens\030\006 \001(\003H\005\210\001\001\022\016\n\001n\030\007 \001(\003H\006\210\001\001\022\035\n\020pre" + + "sence_penalty\030\010 \001(\001H\007\210\001\001\022)\n\004stop\030\t \001(\0132\026" + + ".weaviate.v1.TextArrayH\010\210\001\001\022\030\n\013temperatu" + + "re\030\n \001(\001H\t\210\001\001\022\022\n\005top_p\030\013 \001(\001H\n\210\001\001B\013\n\t_en" + + "dpointB\010\n\006_modelB\024\n\022_frequency_penaltyB\014" + + "\n\n_log_probsB\020\n\016_top_log_probsB\r\n\013_max_t" + + "okensB\004\n\002_nB\023\n\021_presence_penaltyB\007\n\005_sto" + + "pB\016\n\014_temperatureB\010\n\006_top_p\"\336\001\n\024Generati" + + "veFriendliAI\022\025\n\010base_url\030\001 \001(\tH\000\210\001\001\022\022\n\005m" + + "odel\030\002 \001(\tH\001\210\001\001\022\027\n\nmax_tokens\030\003 \001(\003H\002\210\001\001" + + "\022\030\n\013temperature\030\004 \001(\001H\003\210\001\001\022\016\n\001n\030\005 \001(\003H\004\210" + + "\001\001\022\022\n\005top_p\030\006 \001(\001H\005\210\001\001B\013\n\t_base_urlB\010\n\006_" + + "modelB\r\n\013_max_tokensB\016\n\014_temperatureB\004\n\002" + + "_nB\010\n\006_top_p\"\304\001\n\020GenerativeNvidia\022\025\n\010bas" + + "e_url\030\001 \001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001\210\001\001\022\030\n\013" + + "temperature\030\003 \001(\001H\002\210\001\001\022\022\n\005top_p\030\004 \001(\001H\003\210" + + "\001\001\022\027\n\nmax_tokens\030\005 \001(\003H\004\210\001\001B\013\n\t_base_url" + + "B\010\n\006_modelB\016\n\014_temperatureB\010\n\006_top_pB\r\n\013" + + "_max_tokens\"\305\002\n\rGenerativeXAI\022\025\n\010base_ur" + + "l\030\001 \001(\tH\000\210\001\001\022\022\n\005model\030\002 \001(\tH\001\210\001\001\022\030\n\013temp" + + "erature\030\003 \001(\001H\002\210\001\001\022\022\n\005top_p\030\004 \001(\001H\003\210\001\001\022\027" + + "\n\nmax_tokens\030\005 \001(\003H\004\210\001\001\022+\n\006images\030\006 \001(\0132" + + "\026.weaviate.v1.TextArrayH\005\210\001\001\0225\n\020image_pr" + + "operties\030\007 \001(\0132\026.weaviate.v1.TextArrayH\006" + + "\210\001\001B\013\n\t_base_urlB\010\n\006_modelB\016\n\014_temperatu" + + "reB\010\n\006_top_pB\r\n\013_max_tokensB\t\n\007_imagesB\023" + + "\n\021_image_properties\"\222\001\n\033GenerativeAnthro" + + "picMetadata\022=\n\005usage\030\001 \001(\0132..weaviate.v1" + + ".GenerativeAnthropicMetadata.Usage\0324\n\005Us" + + "age\022\024\n\014input_tokens\030\001 \001(\003\022\025\n\routput_toke" + + "ns\030\002 \001(\003\"\034\n\032GenerativeAnyscaleMetadata\"\027" + + "\n\025GenerativeAWSMetadata\"\234\006\n\030GenerativeCo" + + "hereMetadata\022J\n\013api_version\030\001 \001(\01320.weav" + + "iate.v1.GenerativeCohereMetadata.ApiVers" + + "ionH\000\210\001\001\022L\n\014billed_units\030\002 \001(\01321.weaviat" + + "e.v1.GenerativeCohereMetadata.BilledUnit" + + "sH\001\210\001\001\022A\n\006tokens\030\003 \001(\0132,.weaviate.v1.Gen" + + "erativeCohereMetadata.TokensH\002\210\001\001\022-\n\010war" + + "nings\030\004 \001(\0132\026.weaviate.v1.TextArrayH\003\210\001\001" + + "\032\216\001\n\nApiVersion\022\024\n\007version\030\001 \001(\tH\000\210\001\001\022\032\n" + + "\ris_deprecated\030\002 \001(\010H\001\210\001\001\022\034\n\017is_experime" + + "ntal\030\003 \001(\010H\002\210\001\001B\n\n\010_versionB\020\n\016_is_depre" + + "catedB\022\n\020_is_experimental\032\305\001\n\013BilledUnit" + + "s\022\031\n\014input_tokens\030\001 \001(\001H\000\210\001\001\022\032\n\routput_t" + + "okens\030\002 \001(\001H\001\210\001\001\022\031\n\014search_units\030\003 \001(\001H\002" + + "\210\001\001\022\034\n\017classifications\030\004 \001(\001H\003\210\001\001B\017\n\r_in" + + "put_tokensB\020\n\016_output_tokensB\017\n\r_search_" + + "unitsB\022\n\020_classifications\032b\n\006Tokens\022\031\n\014i" + + "nput_tokens\030\001 \001(\001H\000\210\001\001\022\032\n\routput_tokens\030" + + "\002 \001(\001H\001\210\001\001B\017\n\r_input_tokensB\020\n\016_output_t" + + "okensB\016\n\014_api_versionB\017\n\r_billed_unitsB\t" + + "\n\007_tokensB\013\n\t_warnings\"\031\n\027GenerativeDumm" + + "yMetadata\"\201\002\n\031GenerativeMistralMetadata\022" + + "@\n\005usage\030\001 \001(\0132,.weaviate.v1.GenerativeM" + + "istralMetadata.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rp" + + "rompt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021completion_to" + + "kens\030\002 \001(\003H\001\210\001\001\022\031\n\014total_tokens\030\003 \001(\003H\002\210" + + "\001\001B\020\n\016_prompt_tokensB\024\n\022_completion_toke" + + "nsB\017\n\r_total_tokensB\010\n\006_usage\"\032\n\030Generat" + + "iveOllamaMetadata\"\377\001\n\030GenerativeOpenAIMe" + + "tadata\022?\n\005usage\030\001 \001(\0132+.weaviate.v1.Gene" + + "rativeOpenAIMetadata.UsageH\000\210\001\001\032\227\001\n\005Usag" + + "e\022\032\n\rprompt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021complet" + + "ion_tokens\030\002 \001(\003H\001\210\001\001\022\031\n\014total_tokens\030\003 " + + "\001(\003H\002\210\001\001B\020\n\016_prompt_tokensB\024\n\022_completio" + + "n_tokensB\017\n\r_total_tokensB\010\n\006_usage\"\350\006\n\030" + + "GenerativeGoogleMetadata\022E\n\010metadata\030\001 \001" + + "(\0132..weaviate.v1.GenerativeGoogleMetadat" + + "a.MetadataH\000\210\001\001\022P\n\016usage_metadata\030\002 \001(\0132" + + "3.weaviate.v1.GenerativeGoogleMetadata.U" + + "sageMetadataH\001\210\001\001\032~\n\nTokenCount\022&\n\031total" + + "_billable_characters\030\001 \001(\003H\000\210\001\001\022\031\n\014total" + + "_tokens\030\002 \001(\003H\001\210\001\001B\034\n\032_total_billable_ch" + + "aractersB\017\n\r_total_tokens\032\341\001\n\rTokenMetad" + + "ata\022P\n\021input_token_count\030\001 \001(\01320.weaviat" + + "e.v1.GenerativeGoogleMetadata.TokenCount" + + "H\000\210\001\001\022Q\n\022output_token_count\030\002 \001(\01320.weav" + + "iate.v1.GenerativeGoogleMetadata.TokenCo" + + "untH\001\210\001\001B\024\n\022_input_token_countB\025\n\023_outpu" + + "t_token_count\032o\n\010Metadata\022P\n\016token_metad" + + "ata\030\001 \001(\01323.weaviate.v1.GenerativeGoogle" + + "Metadata.TokenMetadataH\000\210\001\001B\021\n\017_token_me" + + "tadata\032\275\001\n\rUsageMetadata\022\037\n\022prompt_token" + + "_count\030\001 \001(\003H\000\210\001\001\022#\n\026candidates_token_co" + + "unt\030\002 \001(\003H\001\210\001\001\022\036\n\021total_token_count\030\003 \001(" + + "\003H\002\210\001\001B\025\n\023_prompt_token_countB\031\n\027_candid" + + "ates_token_countB\024\n\022_total_token_countB\013" + + "\n\t_metadataB\021\n\017_usage_metadata\"\207\002\n\034Gener" + + "ativeDatabricksMetadata\022C\n\005usage\030\001 \001(\0132/" + + ".weaviate.v1.GenerativeDatabricksMetadat" + + "a.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rprompt_tokens\030" + + "\001 \001(\003H\000\210\001\001\022\036\n\021completion_tokens\030\002 \001(\003H\001\210" + + "\001\001\022\031\n\014total_tokens\030\003 \001(\003H\002\210\001\001B\020\n\016_prompt" + + "_tokensB\024\n\022_completion_tokensB\017\n\r_total_" + + "tokensB\010\n\006_usage\"\207\002\n\034GenerativeFriendliA" + + "IMetadata\022C\n\005usage\030\001 \001(\0132/.weaviate.v1.G" + + "enerativeFriendliAIMetadata.UsageH\000\210\001\001\032\227" + + "\001\n\005Usage\022\032\n\rprompt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021" + + "completion_tokens\030\002 \001(\003H\001\210\001\001\022\031\n\014total_to" + + "kens\030\003 \001(\003H\002\210\001\001B\020\n\016_prompt_tokensB\024\n\022_co" + + "mpletion_tokensB\017\n\r_total_tokensB\010\n\006_usa" + + "ge\"\377\001\n\030GenerativeNvidiaMetadata\022?\n\005usage" + + "\030\001 \001(\0132+.weaviate.v1.GenerativeNvidiaMet" + "adata.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rprompt_tok" + "ens\030\001 \001(\003H\000\210\001\001\022\036\n\021completion_tokens\030\002 \001(" + "\003H\001\210\001\001\022\031\n\014total_tokens\030\003 \001(\003H\002\210\001\001B\020\n\016_pr" + "ompt_tokensB\024\n\022_completion_tokensB\017\n\r_to" + - "tal_tokensB\010\n\006_usage\"\350\006\n\030GenerativeGoogl" + - "eMetadata\022E\n\010metadata\030\001 \001(\0132..weaviate.v" + - "1.GenerativeGoogleMetadata.MetadataH\000\210\001\001" + - "\022P\n\016usage_metadata\030\002 \001(\01323.weaviate.v1.G" + - "enerativeGoogleMetadata.UsageMetadataH\001\210" + - "\001\001\032~\n\nTokenCount\022&\n\031total_billable_chara" + - "cters\030\001 \001(\003H\000\210\001\001\022\031\n\014total_tokens\030\002 \001(\003H\001" + - "\210\001\001B\034\n\032_total_billable_charactersB\017\n\r_to" + - "tal_tokens\032\341\001\n\rTokenMetadata\022P\n\021input_to" + - "ken_count\030\001 \001(\01320.weaviate.v1.Generative" + - "GoogleMetadata.TokenCountH\000\210\001\001\022Q\n\022output" + - "_token_count\030\002 \001(\01320.weaviate.v1.Generat" + - "iveGoogleMetadata.TokenCountH\001\210\001\001B\024\n\022_in" + - "put_token_countB\025\n\023_output_token_count\032o" + - "\n\010Metadata\022P\n\016token_metadata\030\001 \001(\01323.wea" + - "viate.v1.GenerativeGoogleMetadata.TokenM" + - "etadataH\000\210\001\001B\021\n\017_token_metadata\032\275\001\n\rUsag" + - "eMetadata\022\037\n\022prompt_token_count\030\001 \001(\003H\000\210" + - "\001\001\022#\n\026candidates_token_count\030\002 \001(\003H\001\210\001\001\022" + - "\036\n\021total_token_count\030\003 \001(\003H\002\210\001\001B\025\n\023_prom" + - "pt_token_countB\031\n\027_candidates_token_coun" + - "tB\024\n\022_total_token_countB\013\n\t_metadataB\021\n\017" + - "_usage_metadata\"\207\002\n\034GenerativeDatabricks" + - "Metadata\022C\n\005usage\030\001 \001(\0132/.weaviate.v1.Ge" + - "nerativeDatabricksMetadata.UsageH\000\210\001\001\032\227\001" + - "\n\005Usage\022\032\n\rprompt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021c" + - "ompletion_tokens\030\002 \001(\003H\001\210\001\001\022\031\n\014total_tok" + - "ens\030\003 \001(\003H\002\210\001\001B\020\n\016_prompt_tokensB\024\n\022_com" + - "pletion_tokensB\017\n\r_total_tokensB\010\n\006_usag" + - "e\"\207\002\n\034GenerativeFriendliAIMetadata\022C\n\005us" + - "age\030\001 \001(\0132/.weaviate.v1.GenerativeFriend" + - "liAIMetadata.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rpro" + - "mpt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021completion_toke" + - "ns\030\002 \001(\003H\001\210\001\001\022\031\n\014total_tokens\030\003 \001(\003H\002\210\001\001" + - "B\020\n\016_prompt_tokensB\024\n\022_completion_tokens" + - "B\017\n\r_total_tokensB\010\n\006_usage\"\377\001\n\030Generati" + - "veNvidiaMetadata\022?\n\005usage\030\001 \001(\0132+.weavia" + - "te.v1.GenerativeNvidiaMetadata.UsageH\000\210\001" + - "\001\032\227\001\n\005Usage\022\032\n\rprompt_tokens\030\001 \001(\003H\000\210\001\001\022" + - "\036\n\021completion_tokens\030\002 \001(\003H\001\210\001\001\022\031\n\014total" + - "_tokens\030\003 \001(\003H\002\210\001\001B\020\n\016_prompt_tokensB\024\n\022" + - "_completion_tokensB\017\n\r_total_tokensB\010\n\006_" + - "usage\"\371\001\n\025GenerativeXAIMetadata\022<\n\005usage" + - "\030\001 \001(\0132(.weaviate.v1.GenerativeXAIMetada" + - "ta.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032\n\rprompt_tokens" + - "\030\001 \001(\003H\000\210\001\001\022\036\n\021completion_tokens\030\002 \001(\003H\001" + - "\210\001\001\022\031\n\014total_tokens\030\003 \001(\003H\002\210\001\001B\020\n\016_promp" + - "t_tokensB\024\n\022_completion_tokensB\017\n\r_total" + - "_tokensB\010\n\006_usage\"\217\006\n\022GenerativeMetadata" + - "\022=\n\tanthropic\030\001 \001(\0132(.weaviate.v1.Genera" + - "tiveAnthropicMetadataH\000\022;\n\010anyscale\030\002 \001(" + - "\0132\'.weaviate.v1.GenerativeAnyscaleMetada" + - "taH\000\0221\n\003aws\030\003 \001(\0132\".weaviate.v1.Generati" + - "veAWSMetadataH\000\0227\n\006cohere\030\004 \001(\0132%.weavia" + - "te.v1.GenerativeCohereMetadataH\000\0225\n\005dumm" + - "y\030\005 \001(\0132$.weaviate.v1.GenerativeDummyMet" + - "adataH\000\0229\n\007mistral\030\006 \001(\0132&.weaviate.v1.G" + - "enerativeMistralMetadataH\000\0227\n\006ollama\030\007 \001" + - "(\0132%.weaviate.v1.GenerativeOllamaMetadat" + - "aH\000\0227\n\006openai\030\010 \001(\0132%.weaviate.v1.Genera" + - "tiveOpenAIMetadataH\000\0227\n\006google\030\t \001(\0132%.w" + - "eaviate.v1.GenerativeGoogleMetadataH\000\022?\n" + - "\ndatabricks\030\n \001(\0132).weaviate.v1.Generati" + - "veDatabricksMetadataH\000\022?\n\nfriendliai\030\013 \001" + - "(\0132).weaviate.v1.GenerativeFriendliAIMet" + - "adataH\000\0227\n\006nvidia\030\014 \001(\0132%.weaviate.v1.Ge" + - "nerativeNvidiaMetadataH\000\0221\n\003xai\030\r \001(\0132\"." + - "weaviate.v1.GenerativeXAIMetadataH\000B\006\n\004k" + - "ind\"\242\001\n\017GenerativeReply\022\016\n\006result\030\001 \001(\t\022" + - "0\n\005debug\030\002 \001(\0132\034.weaviate.v1.GenerativeD" + - "ebugH\000\210\001\001\0226\n\010metadata\030\003 \001(\0132\037.weaviate.v" + - "1.GenerativeMetadataH\001\210\001\001B\010\n\006_debugB\013\n\t_" + - "metadata\"@\n\020GenerativeResult\022,\n\006values\030\001" + - " \003(\0132\034.weaviate.v1.GenerativeReply\";\n\017Ge" + - "nerativeDebug\022\030\n\013full_prompt\030\001 \001(\tH\000\210\001\001B" + - "\016\n\014_full_promptBH\n-io.weaviate.client6.v" + - "1.internal.grpc.protocolB\027WeaviateProtoG" + - "enerativeb\006proto3" + "tal_tokensB\010\n\006_usage\"\371\001\n\025GenerativeXAIMe" + + "tadata\022<\n\005usage\030\001 \001(\0132(.weaviate.v1.Gene" + + "rativeXAIMetadata.UsageH\000\210\001\001\032\227\001\n\005Usage\022\032" + + "\n\rprompt_tokens\030\001 \001(\003H\000\210\001\001\022\036\n\021completion" + + "_tokens\030\002 \001(\003H\001\210\001\001\022\031\n\014total_tokens\030\003 \001(\003" + + "H\002\210\001\001B\020\n\016_prompt_tokensB\024\n\022_completion_t" + + "okensB\017\n\r_total_tokensB\010\n\006_usage\"\217\006\n\022Gen" + + "erativeMetadata\022=\n\tanthropic\030\001 \001(\0132(.wea" + + "viate.v1.GenerativeAnthropicMetadataH\000\022;" + + "\n\010anyscale\030\002 \001(\0132\'.weaviate.v1.Generativ" + + "eAnyscaleMetadataH\000\0221\n\003aws\030\003 \001(\0132\".weavi" + + "ate.v1.GenerativeAWSMetadataH\000\0227\n\006cohere" + + "\030\004 \001(\0132%.weaviate.v1.GenerativeCohereMet" + + "adataH\000\0225\n\005dummy\030\005 \001(\0132$.weaviate.v1.Gen" + + "erativeDummyMetadataH\000\0229\n\007mistral\030\006 \001(\0132" + + "&.weaviate.v1.GenerativeMistralMetadataH" + + "\000\0227\n\006ollama\030\007 \001(\0132%.weaviate.v1.Generati" + + "veOllamaMetadataH\000\0227\n\006openai\030\010 \001(\0132%.wea" + + "viate.v1.GenerativeOpenAIMetadataH\000\0227\n\006g" + + "oogle\030\t \001(\0132%.weaviate.v1.GenerativeGoog" + + "leMetadataH\000\022?\n\ndatabricks\030\n \001(\0132).weavi" + + "ate.v1.GenerativeDatabricksMetadataH\000\022?\n" + + "\nfriendliai\030\013 \001(\0132).weaviate.v1.Generati" + + "veFriendliAIMetadataH\000\0227\n\006nvidia\030\014 \001(\0132%" + + ".weaviate.v1.GenerativeNvidiaMetadataH\000\022" + + "1\n\003xai\030\r \001(\0132\".weaviate.v1.GenerativeXAI" + + "MetadataH\000B\006\n\004kind\"\242\001\n\017GenerativeReply\022\016" + + "\n\006result\030\001 \001(\t\0220\n\005debug\030\002 \001(\0132\034.weaviate" + + ".v1.GenerativeDebugH\000\210\001\001\0226\n\010metadata\030\003 \001" + + "(\0132\037.weaviate.v1.GenerativeMetadataH\001\210\001\001" + + "B\010\n\006_debugB\013\n\t_metadata\"@\n\020GenerativeRes" + + "ult\022,\n\006values\030\001 \003(\0132\034.weaviate.v1.Genera" + + "tiveReply\";\n\017GenerativeDebug\022\030\n\013full_pro" + + "mpt\030\001 \001(\tH\000\210\001\001B\016\n\014_full_promptBH\n-io.wea" + + "viate.client6.v1.internal.grpc.protocolB" + + "\027WeaviateProtoGenerativeb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -50451,7 +50524,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.Gen internal_static_weaviate_v1_GenerativeSearch_Grouped_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_GenerativeSearch_Grouped_descriptor, - new java.lang.String[] { "Task", "Properties", "Queries", "Properties", }); + new java.lang.String[] { "Task", "Properties", "Queries", "Debug", "Properties", }); internal_static_weaviate_v1_GenerativeProvider_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_weaviate_v1_GenerativeProvider_fieldAccessorTable = new diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoProperties.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoProperties.java index 5eff0ef17..1b54c851a 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoProperties.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoProperties.java @@ -747,34 +747,19 @@ public interface ValueOrBuilder extends double getNumberValue(); /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return Whether the stringValue field is set. - */ - @java.lang.Deprecated boolean hasStringValue(); - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The stringValue. - */ - @java.lang.Deprecated java.lang.String getStringValue(); - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The bytes for stringValue. - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStringValueBytes(); - - /** + *
+     *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+     * 
+ * * bool bool_value = 3; * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + *
+     *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+     * 
+ * * bool bool_value = 3; * @return The boolValue. */ @@ -979,7 +964,6 @@ public enum KindCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NUMBER_VALUE(1), - @java.lang.Deprecated STRING_VALUE(2), BOOL_VALUE(3), OBJECT_VALUE(4), LIST_VALUE(5), @@ -1009,7 +993,6 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { case 1: return NUMBER_VALUE; - case 2: return STRING_VALUE; case 3: return BOOL_VALUE; case 4: return OBJECT_VALUE; case 5: return LIST_VALUE; @@ -1057,66 +1040,12 @@ public double getNumberValue() { return 0D; } - public static final int STRING_VALUE_FIELD_NUMBER = 2; - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return Whether the stringValue field is set. - */ - @java.lang.Deprecated public boolean hasStringValue() { - return kindCase_ == 2; - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The stringValue. - */ - @java.lang.Deprecated public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (kindCase_ == 2) { - ref = kind_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (kindCase_ == 2) { - kind_ = s; - } - return s; - } - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The bytes for stringValue. - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (kindCase_ == 2) { - ref = kind_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (kindCase_ == 2) { - kind_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int BOOL_VALUE_FIELD_NUMBER = 3; /** + *
+     *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+     * 
+ * * bool bool_value = 3; * @return Whether the boolValue field is set. */ @@ -1125,6 +1054,10 @@ public boolean hasBoolValue() { return kindCase_ == 3; } /** + *
+     *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+     * 
+ * * bool bool_value = 3; * @return The boolValue. */ @@ -1538,9 +1471,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeDouble( 1, (double)((java.lang.Double) kind_)); } - if (kindCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); - } if (kindCase_ == 3) { output.writeBool( 3, (boolean)((java.lang.Boolean) kind_)); @@ -1590,9 +1520,6 @@ public int getSerializedSize() { .computeDoubleSize( 1, (double)((java.lang.Double) kind_)); } - if (kindCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); - } if (kindCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( @@ -1657,10 +1584,6 @@ public boolean equals(final java.lang.Object obj) { != java.lang.Double.doubleToLongBits( other.getNumberValue())) return false; break; - case 2: - if (!getStringValue() - .equals(other.getStringValue())) return false; - break; case 3: if (getBoolValue() != other.getBoolValue()) return false; @@ -1725,10 +1648,6 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getNumberValue())); break; - case 2: - hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getStringValue().hashCode(); - break; case 3: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( @@ -2029,12 +1948,6 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP setNumberValue(other.getNumberValue()); break; } - case STRING_VALUE: { - kindCase_ = 2; - kind_ = other.kind_; - onChanged(); - break; - } case BOOL_VALUE: { setBoolValue(other.getBoolValue()); break; @@ -2122,12 +2035,6 @@ public Builder mergeFrom( kindCase_ = 1; break; } // case 9 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - kindCase_ = 2; - kind_ = s; - break; - } // case 18 case 24: { kind_ = input.readBool(); kindCase_ = 3; @@ -2271,111 +2178,10 @@ public Builder clearNumberValue() { } /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return Whether the stringValue field is set. - */ - @java.lang.Override - @java.lang.Deprecated public boolean hasStringValue() { - return kindCase_ == 2; - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The stringValue. - */ - @java.lang.Override - @java.lang.Deprecated public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (kindCase_ == 2) { - ref = kind_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (kindCase_ == 2) { - kind_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return The bytes for stringValue. - */ - @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (kindCase_ == 2) { - ref = kind_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (kindCase_ == 2) { - kind_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @param value The stringValue to set. - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder setStringValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - kindCase_ = 2; - kind_ = value; - onChanged(); - return this; - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder clearStringValue() { - if (kindCase_ == 2) { - kindCase_ = 0; - kind_ = null; - onChanged(); - } - return this; - } - /** - * string string_value = 2 [deprecated = true]; - * @deprecated weaviate.v1.Value.string_value is deprecated. - * See v1/properties.proto;l=16 - * @param value The bytes for stringValue to set. - * @return This builder for chaining. - */ - @java.lang.Deprecated public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - kindCase_ = 2; - kind_ = value; - onChanged(); - return this; - } - - /** + *
+       *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+       * 
+ * * bool bool_value = 3; * @return Whether the boolValue field is set. */ @@ -2383,6 +2189,10 @@ public boolean hasBoolValue() { return kindCase_ == 3; } /** + *
+       *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+       * 
+ * * bool bool_value = 3; * @return The boolValue. */ @@ -2393,6 +2203,10 @@ public boolean getBoolValue() { return false; } /** + *
+       *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+       * 
+ * * bool bool_value = 3; * @param value The boolValue to set. * @return This builder for chaining. @@ -2405,6 +2219,10 @@ public Builder setBoolValue(boolean value) { return this; } /** + *
+       *dont reuse 2, old field that has been removed; Was "string string_value = 2;"
+       * 
+ * * bool bool_value = 3; * @return This builder for chaining. */ @@ -3536,30 +3354,6 @@ public interface ListValueOrBuilder extends // @@protoc_insertion_point(interface_extends:weaviate.v1.ListValue) com.google.protobuf.MessageOrBuilder { - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getValuesList(); - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value getValues(int index); - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated int getValuesCount(); - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getValuesOrBuilderList(); - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder getValuesOrBuilder( - int index); - /** * .weaviate.v1.NumberValues number_values = 2; * @return Whether the numberValues field is set. @@ -3680,7 +3474,6 @@ private ListValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListValue() { - values_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -3755,47 +3548,6 @@ public int getNumber() { kindCase_); } - public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List values_; - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getValuesList() { - return values_; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getValuesOrBuilderList() { - return values_; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public int getValuesCount() { - return values_.size(); - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value getValues(int index) { - return values_.get(index); - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder getValuesOrBuilder( - int index) { - return values_.get(index); - } - public static final int NUMBER_VALUES_FIELD_NUMBER = 2; /** * .weaviate.v1.NumberValues number_values = 2; @@ -4027,9 +3779,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < values_.size(); i++) { - output.writeMessage(1, values_.get(i)); - } if (kindCase_ == 2) { output.writeMessage(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.NumberValues) kind_); } @@ -4060,10 +3809,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); - } if (kindCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.NumberValues) kind_); @@ -4107,8 +3852,6 @@ public boolean equals(final java.lang.Object obj) { } io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 2: @@ -4153,10 +3896,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getValuesCount() > 0) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValuesList().hashCode(); - } switch (kindCase_) { case 2: hash = (37 * hash) + NUMBER_VALUES_FIELD_NUMBER; @@ -4320,13 +4059,6 @@ private Builder( public Builder clear() { super.clear(); bitField0_ = 0; - if (valuesBuilder_ == null) { - values_ = java.util.Collections.emptyList(); - } else { - values_ = null; - valuesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); if (numberValuesBuilder_ != null) { numberValuesBuilder_.clear(); } @@ -4376,25 +4108,12 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Lis @java.lang.Override public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue buildPartial() { io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue result = new io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue result) { - if (valuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - values_ = java.util.Collections.unmodifiableList(values_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.values_ = values_; - } else { - result.values_ = valuesBuilder_.build(); - } - } - private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue result) { int from_bitField0_ = bitField0_; } @@ -4476,32 +4195,6 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue other) { if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ListValue.getDefaultInstance()) return this; - if (valuesBuilder_ == null) { - if (!other.values_.isEmpty()) { - if (values_.isEmpty()) { - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureValuesIsMutable(); - values_.addAll(other.values_); - } - onChanged(); - } - } else { - if (!other.values_.isEmpty()) { - if (valuesBuilder_.isEmpty()) { - valuesBuilder_.dispose(); - valuesBuilder_ = null; - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; - } else { - valuesBuilder_.addAllMessages(other.values_); - } - } - } switch (other.getKindCase()) { case NUMBER_VALUES: { mergeNumberValues(other.getNumberValues()); @@ -4561,19 +4254,6 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.parser(), - extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 case 18: { input.readMessage( getNumberValuesFieldBuilder().getBuilder(), @@ -4655,246 +4335,6 @@ public Builder clearKind() { private int bitField0_; - private java.util.List values_ = - java.util.Collections.emptyList(); - private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(values_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder> valuesBuilder_; - - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getValuesList() { - if (valuesBuilder_ == null) { - return java.util.Collections.unmodifiableList(values_); - } else { - return valuesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public int getValuesCount() { - if (valuesBuilder_ == null) { - return values_.size(); - } else { - return valuesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value getValues(int index) { - if (valuesBuilder_ == null) { - return values_.get(index); - } else { - return valuesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setValues( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.set(index, value); - onChanged(); - } else { - valuesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setValues( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.set(index, builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addValues(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - } else { - valuesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addValues( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(index, value); - onChanged(); - } else { - valuesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addValues( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addValues( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(index, builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllValues( - java.lang.Iterable values) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); - onChanged(); - } else { - valuesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearValues() { - if (valuesBuilder_ == null) { - values_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - valuesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeValues(int index) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.remove(index); - onChanged(); - } else { - valuesBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder getValuesBuilder( - int index) { - return getValuesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder getValuesOrBuilder( - int index) { - if (valuesBuilder_ == null) { - return values_.get(index); } else { - return valuesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getValuesOrBuilderList() { - if (valuesBuilder_ != null) { - return valuesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(values_); - } - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.Value values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getValuesBuilderList() { - return getValuesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder> - getValuesFieldBuilder() { - if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Value.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.ValueOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - values_ = null; - } - return valuesBuilder_; - } - private com.google.protobuf.SingleFieldBuilderV3< io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.NumberValues, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.NumberValues.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.NumberValuesOrBuilder> numberValuesBuilder_; /** @@ -12048,41 +11488,40 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Pho "3\n\006fields\030\001 \003(\0132#.weaviate.v1.Properties" + ".FieldsEntry\032A\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t" + "\022!\n\005value\030\002 \001(\0132\022.weaviate.v1.Value:\0028\001\"" + - "\271\003\n\005Value\022\026\n\014number_value\030\001 \001(\001H\000\022\032\n\014str" + - "ing_value\030\002 \001(\tB\002\030\001H\000\022\024\n\nbool_value\030\003 \001(" + - "\010H\000\022/\n\014object_value\030\004 \001(\0132\027.weaviate.v1." + - "PropertiesH\000\022,\n\nlist_value\030\005 \001(\0132\026.weavi" + - "ate.v1.ListValueH\000\022\024\n\ndate_value\030\006 \001(\tH\000" + - "\022\024\n\nuuid_value\030\007 \001(\tH\000\022\023\n\tint_value\030\010 \001(" + - "\003H\000\022/\n\tgeo_value\030\t \001(\0132\032.weaviate.v1.Geo" + - "CoordinateH\000\022\024\n\nblob_value\030\n \001(\tH\000\022/\n\013ph" + - "one_value\030\013 \001(\0132\030.weaviate.v1.PhoneNumbe" + - "rH\000\0220\n\nnull_value\030\014 \001(\0162\032.google.protobu" + - "f.NullValueH\000\022\024\n\ntext_value\030\r \001(\tH\000B\006\n\004k" + - "ind\"\221\003\n\tListValue\022&\n\006values\030\001 \003(\0132\022.weav" + - "iate.v1.ValueB\002\030\001\0222\n\rnumber_values\030\002 \001(\013" + - "2\031.weaviate.v1.NumberValuesH\000\022.\n\013bool_va" + - "lues\030\003 \001(\0132\027.weaviate.v1.BoolValuesH\000\0222\n" + - "\robject_values\030\004 \001(\0132\031.weaviate.v1.Objec" + - "tValuesH\000\022.\n\013date_values\030\005 \001(\0132\027.weaviat" + - "e.v1.DateValuesH\000\022.\n\013uuid_values\030\006 \001(\0132\027" + - ".weaviate.v1.UuidValuesH\000\022,\n\nint_values\030" + - "\007 \001(\0132\026.weaviate.v1.IntValuesH\000\022.\n\013text_" + - "values\030\010 \001(\0132\027.weaviate.v1.TextValuesH\000B" + - "\006\n\004kind\"\036\n\014NumberValues\022\016\n\006values\030\001 \001(\014\"" + - "\034\n\nTextValues\022\016\n\006values\030\001 \003(\t\"\034\n\nBoolVal" + - "ues\022\016\n\006values\030\001 \003(\010\"7\n\014ObjectValues\022\'\n\006v" + - "alues\030\001 \003(\0132\027.weaviate.v1.Properties\"\034\n\n" + - "DateValues\022\016\n\006values\030\001 \003(\t\"\034\n\nUuidValues" + - "\022\016\n\006values\030\001 \003(\t\"\033\n\tIntValues\022\016\n\006values\030" + - "\001 \001(\014\"4\n\rGeoCoordinate\022\021\n\tlongitude\030\001 \001(" + - "\002\022\020\n\010latitude\030\002 \001(\002\"\251\001\n\013PhoneNumber\022\024\n\014c" + - "ountry_code\030\001 \001(\004\022\027\n\017default_country\030\002 \001" + - "(\t\022\r\n\005input\030\003 \001(\t\022\037\n\027international_forma" + - "tted\030\004 \001(\t\022\020\n\010national\030\005 \001(\004\022\032\n\022national" + - "_formatted\030\006 \001(\t\022\r\n\005valid\030\007 \001(\010BH\n-io.we" + - "aviate.client6.v1.internal.grpc.protocol" + - "B\027WeaviateProtoPropertiesb\006proto3" + "\235\003\n\005Value\022\026\n\014number_value\030\001 \001(\001H\000\022\024\n\nboo" + + "l_value\030\003 \001(\010H\000\022/\n\014object_value\030\004 \001(\0132\027." + + "weaviate.v1.PropertiesH\000\022,\n\nlist_value\030\005" + + " \001(\0132\026.weaviate.v1.ListValueH\000\022\024\n\ndate_v" + + "alue\030\006 \001(\tH\000\022\024\n\nuuid_value\030\007 \001(\tH\000\022\023\n\tin" + + "t_value\030\010 \001(\003H\000\022/\n\tgeo_value\030\t \001(\0132\032.wea" + + "viate.v1.GeoCoordinateH\000\022\024\n\nblob_value\030\n" + + " \001(\tH\000\022/\n\013phone_value\030\013 \001(\0132\030.weaviate.v" + + "1.PhoneNumberH\000\0220\n\nnull_value\030\014 \001(\0162\032.go" + + "ogle.protobuf.NullValueH\000\022\024\n\ntext_value\030" + + "\r \001(\tH\000B\006\n\004kind\"\357\002\n\tListValue\0222\n\rnumber_" + + "values\030\002 \001(\0132\031.weaviate.v1.NumberValuesH" + + "\000\022.\n\013bool_values\030\003 \001(\0132\027.weaviate.v1.Boo" + + "lValuesH\000\0222\n\robject_values\030\004 \001(\0132\031.weavi" + + "ate.v1.ObjectValuesH\000\022.\n\013date_values\030\005 \001" + + "(\0132\027.weaviate.v1.DateValuesH\000\022.\n\013uuid_va" + + "lues\030\006 \001(\0132\027.weaviate.v1.UuidValuesH\000\022,\n" + + "\nint_values\030\007 \001(\0132\026.weaviate.v1.IntValue" + + "sH\000\022.\n\013text_values\030\010 \001(\0132\027.weaviate.v1.T" + + "extValuesH\000B\006\n\004kindJ\004\010\001\020\002\"\036\n\014NumberValue" + + "s\022\016\n\006values\030\001 \001(\014\"\034\n\nTextValues\022\016\n\006value" + + "s\030\001 \003(\t\"\034\n\nBoolValues\022\016\n\006values\030\001 \003(\010\"7\n" + + "\014ObjectValues\022\'\n\006values\030\001 \003(\0132\027.weaviate" + + ".v1.Properties\"\034\n\nDateValues\022\016\n\006values\030\001" + + " \003(\t\"\034\n\nUuidValues\022\016\n\006values\030\001 \003(\t\"\033\n\tIn" + + "tValues\022\016\n\006values\030\001 \001(\014\"4\n\rGeoCoordinate" + + "\022\021\n\tlongitude\030\001 \001(\002\022\020\n\010latitude\030\002 \001(\002\"\251\001" + + "\n\013PhoneNumber\022\024\n\014country_code\030\001 \001(\004\022\027\n\017d" + + "efault_country\030\002 \001(\t\022\r\n\005input\030\003 \001(\t\022\037\n\027i" + + "nternational_formatted\030\004 \001(\t\022\020\n\010national" + + "\030\005 \001(\004\022\032\n\022national_formatted\030\006 \001(\t\022\r\n\005va" + + "lid\030\007 \001(\010BH\n-io.weaviate.client6.v1.inte" + + "rnal.grpc.protocolB\027WeaviateProtoPropert" + + "iesb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -12106,13 +11545,13 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Pho internal_static_weaviate_v1_Value_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_Value_descriptor, - new java.lang.String[] { "NumberValue", "StringValue", "BoolValue", "ObjectValue", "ListValue", "DateValue", "UuidValue", "IntValue", "GeoValue", "BlobValue", "PhoneValue", "NullValue", "TextValue", "Kind", }); + new java.lang.String[] { "NumberValue", "BoolValue", "ObjectValue", "ListValue", "DateValue", "UuidValue", "IntValue", "GeoValue", "BlobValue", "PhoneValue", "NullValue", "TextValue", "Kind", }); internal_static_weaviate_v1_ListValue_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_weaviate_v1_ListValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_ListValue_descriptor, - new java.lang.String[] { "Values", "NumberValues", "BoolValues", "ObjectValues", "DateValues", "UuidValues", "IntValues", "TextValues", "Kind", }); + new java.lang.String[] { "NumberValues", "BoolValues", "ObjectValues", "DateValues", "UuidValues", "IntValues", "TextValues", "Kind", }); internal_static_weaviate_v1_NumberValues_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_weaviate_v1_NumberValues_fieldAccessorTable = new diff --git a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoSearchGet.java b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoSearchGet.java index b09379afc..326ede844 100644 --- a/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoSearchGet.java +++ b/src/main/java/io/weaviate/client6/v1/internal/grpc/protocol/WeaviateProtoSearchGet.java @@ -434,7 +434,7 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.SortByOrBui /** * bool uses_123_api = 100 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_123_api is deprecated. - * See v1/search_get.proto;l=51 + * See v1/search_get.proto;l=50 * @return The uses123Api. */ @java.lang.Deprecated boolean getUses123Api(); @@ -442,7 +442,7 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.SortByOrBui /** * bool uses_125_api = 101 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_125_api is deprecated. - * See v1/search_get.proto;l=52 + * See v1/search_get.proto;l=51 * @return The uses125Api. */ @java.lang.Deprecated boolean getUses125Api(); @@ -1221,7 +1221,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_123_api = 100 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_123_api is deprecated. - * See v1/search_get.proto;l=51 + * See v1/search_get.proto;l=50 * @return The uses123Api. */ @java.lang.Override @@ -1234,7 +1234,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_125_api = 101 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_125_api is deprecated. - * See v1/search_get.proto;l=52 + * See v1/search_get.proto;l=51 * @return The uses125Api. */ @java.lang.Override @@ -5391,7 +5391,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_123_api = 100 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_123_api is deprecated. - * See v1/search_get.proto;l=51 + * See v1/search_get.proto;l=50 * @return The uses123Api. */ @java.lang.Override @@ -5401,7 +5401,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_123_api = 100 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_123_api is deprecated. - * See v1/search_get.proto;l=51 + * See v1/search_get.proto;l=50 * @param value The uses123Api to set. * @return This builder for chaining. */ @@ -5415,7 +5415,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_123_api = 100 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_123_api is deprecated. - * See v1/search_get.proto;l=51 + * See v1/search_get.proto;l=50 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUses123Api() { @@ -5429,7 +5429,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_125_api = 101 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_125_api is deprecated. - * See v1/search_get.proto;l=52 + * See v1/search_get.proto;l=51 * @return The uses125Api. */ @java.lang.Override @@ -5439,7 +5439,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_125_api = 101 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_125_api is deprecated. - * See v1/search_get.proto;l=52 + * See v1/search_get.proto;l=51 * @param value The uses125Api to set. * @return This builder for chaining. */ @@ -5453,7 +5453,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * bool uses_125_api = 101 [deprecated = true]; * @deprecated weaviate.v1.SearchRequest.uses_125_api is deprecated. - * See v1/search_get.proto;l=52 + * See v1/search_get.proto;l=51 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUses125Api() { @@ -12968,21 +12968,21 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.SearchResul /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return Whether the generativeGroupedResult field is set. */ @java.lang.Deprecated boolean hasGenerativeGroupedResult(); /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The generativeGroupedResult. */ @java.lang.Deprecated java.lang.String getGenerativeGroupedResult(); /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The bytes for generativeGroupedResult. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -13124,7 +13124,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return Whether the generativeGroupedResult field is set. */ @java.lang.Override @@ -13134,7 +13134,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The generativeGroupedResult. */ @java.lang.Override @@ -13153,7 +13153,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The bytes for generativeGroupedResult. */ @java.lang.Override @@ -14058,7 +14058,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return Whether the generativeGroupedResult field is set. */ @java.lang.Deprecated public boolean hasGenerativeGroupedResult() { @@ -14067,7 +14067,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The generativeGroupedResult. */ @java.lang.Deprecated public java.lang.String getGenerativeGroupedResult() { @@ -14085,7 +14085,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return The bytes for generativeGroupedResult. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -14104,7 +14104,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @param value The generativeGroupedResult to set. * @return This builder for chaining. */ @@ -14119,7 +14119,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGenerativeGroupedResult() { @@ -14131,7 +14131,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Sear /** * optional string generative_grouped_result = 3 [deprecated = true]; * @deprecated weaviate.v1.SearchReply.generative_grouped_result is deprecated. - * See v1/search_get.proto;l=115 + * See v1/search_get.proto;l=114 * @param value The bytes for generativeGroupedResult to set. * @return This builder for chaining. */ @@ -15123,14 +15123,14 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.SearchResul /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return Whether the generative field is set. */ @java.lang.Deprecated boolean hasGenerative(); /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return The generative. */ @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.GenerativeReply getGenerative(); @@ -15336,7 +15336,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return Whether the generative field is set. */ @java.lang.Override @@ -15346,7 +15346,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return The generative. */ @java.lang.Override @@ -16516,7 +16516,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return Whether the generative field is set. */ @java.lang.Deprecated public boolean hasGenerative() { @@ -16525,7 +16525,7 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Rera /** * optional .weaviate.v1.GenerativeReply generative = 7 [deprecated = true]; * @deprecated weaviate.v1.GroupByResult.generative is deprecated. - * See v1/search_get.proto;l=131 + * See v1/search_get.proto;l=130 * @return The generative. */ @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.GenerativeReply getGenerative() { @@ -17854,7 +17854,7 @@ public interface MetadataResultOrBuilder extends * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return A list containing the vector. */ @java.lang.Deprecated java.util.List getVectorList(); @@ -17865,7 +17865,7 @@ public interface MetadataResultOrBuilder extends * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return The count of vector. */ @java.lang.Deprecated int getVectorCount(); @@ -17876,7 +17876,7 @@ public interface MetadataResultOrBuilder extends * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param index The index of the element to return. * @return The vector at the given index. */ @@ -17974,14 +17974,14 @@ public interface MetadataResultOrBuilder extends /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The generative. */ @java.lang.Deprecated java.lang.String getGenerative(); /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The bytes for generative. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -17990,7 +17990,7 @@ public interface MetadataResultOrBuilder extends /** * bool generative_present = 17 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative_present is deprecated. - * See v1/search_get.proto;l=160 + * See v1/search_get.proto;l=159 * @return The generativePresent. */ @java.lang.Deprecated boolean getGenerativePresent(); @@ -18142,7 +18142,7 @@ public java.lang.String getId() { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return A list containing the vector. */ @java.lang.Override @@ -18157,7 +18157,7 @@ public java.lang.String getId() { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return The count of vector. */ @java.lang.Deprecated public int getVectorCount() { @@ -18170,7 +18170,7 @@ public java.lang.String getId() { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param index The index of the element to return. * @return The vector at the given index. */ @@ -18364,7 +18364,7 @@ public boolean getIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The generative. */ @java.lang.Override @@ -18383,7 +18383,7 @@ public boolean getIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The bytes for generative. */ @java.lang.Override @@ -18406,7 +18406,7 @@ public boolean getIsConsistent() { /** * bool generative_present = 17 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative_present is deprecated. - * See v1/search_get.proto;l=160 + * See v1/search_get.proto;l=159 * @return The generativePresent. */ @java.lang.Override @@ -19548,7 +19548,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return A list containing the vector. */ @java.lang.Deprecated public java.util.List @@ -19563,7 +19563,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return The count of vector. */ @java.lang.Deprecated public int getVectorCount() { @@ -19576,7 +19576,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param index The index of the element to return. * @return The vector at the given index. */ @@ -19590,7 +19590,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param index The index to set the value at. * @param value The vector to set. * @return This builder for chaining. @@ -19611,7 +19611,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param value The vector to add. * @return This builder for chaining. */ @@ -19630,7 +19630,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @param values The vector to add. * @return This builder for chaining. */ @@ -19650,7 +19650,7 @@ private void ensureVectorIsMutable(int capacity) { * * repeated float vector = 2 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.vector is deprecated. - * See v1/search_get.proto;l=145 + * See v1/search_get.proto;l=144 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearVector() { @@ -20128,7 +20128,7 @@ public Builder clearIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The generative. */ @java.lang.Deprecated public java.lang.String getGenerative() { @@ -20146,7 +20146,7 @@ public Builder clearIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return The bytes for generative. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -20165,7 +20165,7 @@ public Builder clearIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @param value The generative to set. * @return This builder for chaining. */ @@ -20180,7 +20180,7 @@ public Builder clearIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGenerative() { @@ -20192,7 +20192,7 @@ public Builder clearIsConsistent() { /** * string generative = 16 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative is deprecated. - * See v1/search_get.proto;l=159 + * See v1/search_get.proto;l=158 * @param value The bytes for generative to set. * @return This builder for chaining. */ @@ -20210,7 +20210,7 @@ public Builder clearIsConsistent() { /** * bool generative_present = 17 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative_present is deprecated. - * See v1/search_get.proto;l=160 + * See v1/search_get.proto;l=159 * @return The generativePresent. */ @java.lang.Override @@ -20220,7 +20220,7 @@ public Builder clearIsConsistent() { /** * bool generative_present = 17 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative_present is deprecated. - * See v1/search_get.proto;l=160 + * See v1/search_get.proto;l=159 * @param value The generativePresent to set. * @return This builder for chaining. */ @@ -20234,7 +20234,7 @@ public Builder clearIsConsistent() { /** * bool generative_present = 17 [deprecated = true]; * @deprecated weaviate.v1.MetadataResult.generative_present is deprecated. - * See v1/search_get.proto;l=160 + * See v1/search_get.proto;l=159 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearGenerativePresent() { @@ -20711,25 +20711,6 @@ public interface PropertiesResultOrBuilder extends // @@protoc_insertion_point(interface_extends:weaviate.v1.PropertiesResult) com.google.protobuf.MessageOrBuilder { - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return Whether the nonRefProperties field is set. - */ - @java.lang.Deprecated boolean hasNonRefProperties(); - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return The nonRefProperties. - */ - @java.lang.Deprecated com.google.protobuf.Struct getNonRefProperties(); - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder(); - /** * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ @@ -20781,150 +20762,6 @@ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefProperti */ io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder getMetadataOrBuilder(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getNumberArrayPropertiesList(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated int getNumberArrayPropertiesCount(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getNumberArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( - int index); - - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getIntArrayPropertiesList(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated int getIntArrayPropertiesCount(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getIntArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index); - - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getTextArrayPropertiesList(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated int getTextArrayPropertiesCount(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getTextArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index); - - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getBooleanArrayPropertiesList(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated int getBooleanArrayPropertiesCount(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getBooleanArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( - int index); - - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getObjectPropertiesList(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated int getObjectPropertiesCount(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getObjectPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( - int index); - - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getObjectArrayPropertiesList(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated int getObjectArrayPropertiesCount(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getObjectArrayPropertiesOrBuilderList(); - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index); - /** * .weaviate.v1.Properties non_ref_props = 11; * @return Whether the nonRefProps field is set. @@ -20961,12 +20798,6 @@ private PropertiesResult(com.google.protobuf.GeneratedMessageV3.Builder build private PropertiesResult() { refProps_ = java.util.Collections.emptyList(); targetCollection_ = ""; - numberArrayProperties_ = java.util.Collections.emptyList(); - intArrayProperties_ = java.util.Collections.emptyList(); - textArrayProperties_ = java.util.Collections.emptyList(); - booleanArrayProperties_ = java.util.Collections.emptyList(); - objectProperties_ = java.util.Collections.emptyList(); - objectArrayProperties_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -20990,36 +20821,6 @@ protected java.lang.Object newInstance( } private int bitField0_; - public static final int NON_REF_PROPERTIES_FIELD_NUMBER = 1; - private com.google.protobuf.Struct nonRefProperties_; - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return Whether the nonRefProperties field is set. - */ - @java.lang.Override - @java.lang.Deprecated public boolean hasNonRefProperties() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return The nonRefProperties. - */ - @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.Struct getNonRefProperties() { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; - } - public static final int REF_PROPS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List refProps_; @@ -21108,7 +20909,7 @@ public java.lang.String getTargetCollection() { */ @java.lang.Override public boolean hasMetadata() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000001) != 0); } /** * .weaviate.v1.MetadataResult metadata = 4; @@ -21126,447 +20927,135 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Meta return metadata_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance() : metadata_; } - public static final int NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List numberArrayProperties_; - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getNumberArrayPropertiesList() { - return numberArrayProperties_; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getNumberArrayPropertiesOrBuilderList() { - return numberArrayProperties_; - } + public static final int NON_REF_PROPS_FIELD_NUMBER = 11; + private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties nonRefProps_; /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; + * .weaviate.v1.Properties non_ref_props = 11; + * @return Whether the nonRefProps field is set. */ @java.lang.Override - @java.lang.Deprecated public int getNumberArrayPropertiesCount() { - return numberArrayProperties_.size(); + public boolean hasNonRefProps() { + return ((bitField0_ & 0x00000002) != 0); } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; + * .weaviate.v1.Properties non_ref_props = 11; + * @return The nonRefProps. */ @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { - return numberArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties getNonRefProps() { + return nonRefProps_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.getDefaultInstance() : nonRefProps_; } /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; + * .weaviate.v1.Properties non_ref_props = 11; */ @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( - int index) { - return numberArrayProperties_.get(index); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.PropertiesOrBuilder getNonRefPropsOrBuilder() { + return nonRefProps_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.getDefaultInstance() : nonRefProps_; } - public static final int INT_ARRAY_PROPERTIES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") - private java.util.List intArrayProperties_; - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getIntArrayPropertiesList() { - return intArrayProperties_; - } + public static final int REF_PROPS_REQUESTED_FIELD_NUMBER = 12; + private boolean refPropsRequested_ = false; /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; + * bool ref_props_requested = 12; + * @return The refPropsRequested. */ @java.lang.Override - @java.lang.Deprecated public java.util.List - getIntArrayPropertiesOrBuilderList() { - return intArrayProperties_; + public boolean getRefPropsRequested() { + return refPropsRequested_; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ + + private byte memoizedIsInitialized = -1; @java.lang.Override - @java.lang.Deprecated public int getIntArrayPropertiesCount() { - return intArrayProperties_.size(); + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ + @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { - return intArrayProperties_.get(index); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < refProps_.size(); i++) { + output.writeMessage(2, refProps_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetCollection_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(11, getNonRefProps()); + } + if (refPropsRequested_ != false) { + output.writeBool(12, refPropsRequested_); + } + getUnknownFields().writeTo(output); } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ + @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index) { - return intArrayProperties_.get(index); + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < refProps_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, refProps_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetCollection_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMetadata()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getNonRefProps()); + } + if (refPropsRequested_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, refPropsRequested_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; } - public static final int TEXT_ARRAY_PROPERTIES_FIELD_NUMBER = 7; - @SuppressWarnings("serial") - private java.util.List textArrayProperties_; - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ @java.lang.Override - @java.lang.Deprecated public java.util.List getTextArrayPropertiesList() { - return textArrayProperties_; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult)) { + return super.equals(obj); + } + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult) obj; + + if (!getRefPropsList() + .equals(other.getRefPropsList())) return false; + if (!getTargetCollection() + .equals(other.getTargetCollection())) return false; + if (hasMetadata() != other.hasMetadata()) return false; + if (hasMetadata()) { + if (!getMetadata() + .equals(other.getMetadata())) return false; + } + if (hasNonRefProps() != other.hasNonRefProps()) return false; + if (hasNonRefProps()) { + if (!getNonRefProps() + .equals(other.getNonRefProps())) return false; + } + if (getRefPropsRequested() + != other.getRefPropsRequested()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getTextArrayPropertiesOrBuilderList() { - return textArrayProperties_; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public int getTextArrayPropertiesCount() { - return textArrayProperties_.size(); - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { - return textArrayProperties_.get(index); - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index) { - return textArrayProperties_.get(index); - } - - public static final int BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER = 8; - @SuppressWarnings("serial") - private java.util.List booleanArrayProperties_; - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getBooleanArrayPropertiesList() { - return booleanArrayProperties_; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getBooleanArrayPropertiesOrBuilderList() { - return booleanArrayProperties_; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public int getBooleanArrayPropertiesCount() { - return booleanArrayProperties_.size(); - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { - return booleanArrayProperties_.get(index); - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( - int index) { - return booleanArrayProperties_.get(index); - } - - public static final int OBJECT_PROPERTIES_FIELD_NUMBER = 9; - @SuppressWarnings("serial") - private java.util.List objectProperties_; - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getObjectPropertiesList() { - return objectProperties_; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getObjectPropertiesOrBuilderList() { - return objectProperties_; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public int getObjectPropertiesCount() { - return objectProperties_.size(); - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { - return objectProperties_.get(index); - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( - int index) { - return objectProperties_.get(index); - } - - public static final int OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER = 10; - @SuppressWarnings("serial") - private java.util.List objectArrayProperties_; - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List getObjectArrayPropertiesList() { - return objectArrayProperties_; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public java.util.List - getObjectArrayPropertiesOrBuilderList() { - return objectArrayProperties_; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public int getObjectArrayPropertiesCount() { - return objectArrayProperties_.size(); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { - return objectArrayProperties_.get(index); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Override - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index) { - return objectArrayProperties_.get(index); - } - - public static final int NON_REF_PROPS_FIELD_NUMBER = 11; - private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties nonRefProps_; - /** - * .weaviate.v1.Properties non_ref_props = 11; - * @return Whether the nonRefProps field is set. - */ - @java.lang.Override - public boolean hasNonRefProps() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * .weaviate.v1.Properties non_ref_props = 11; - * @return The nonRefProps. - */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties getNonRefProps() { - return nonRefProps_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.getDefaultInstance() : nonRefProps_; - } - /** - * .weaviate.v1.Properties non_ref_props = 11; - */ - @java.lang.Override - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.PropertiesOrBuilder getNonRefPropsOrBuilder() { - return nonRefProps_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.getDefaultInstance() : nonRefProps_; - } - - public static final int REF_PROPS_REQUESTED_FIELD_NUMBER = 12; - private boolean refPropsRequested_ = false; - /** - * bool ref_props_requested = 12; - * @return The refPropsRequested. - */ - @java.lang.Override - public boolean getRefPropsRequested() { - return refPropsRequested_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getNonRefProperties()); - } - for (int i = 0; i < refProps_.size(); i++) { - output.writeMessage(2, refProps_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetCollection_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(4, getMetadata()); - } - for (int i = 0; i < numberArrayProperties_.size(); i++) { - output.writeMessage(5, numberArrayProperties_.get(i)); - } - for (int i = 0; i < intArrayProperties_.size(); i++) { - output.writeMessage(6, intArrayProperties_.get(i)); - } - for (int i = 0; i < textArrayProperties_.size(); i++) { - output.writeMessage(7, textArrayProperties_.get(i)); - } - for (int i = 0; i < booleanArrayProperties_.size(); i++) { - output.writeMessage(8, booleanArrayProperties_.get(i)); - } - for (int i = 0; i < objectProperties_.size(); i++) { - output.writeMessage(9, objectProperties_.get(i)); - } - for (int i = 0; i < objectArrayProperties_.size(); i++) { - output.writeMessage(10, objectArrayProperties_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(11, getNonRefProps()); - } - if (refPropsRequested_ != false) { - output.writeBool(12, refPropsRequested_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNonRefProperties()); - } - for (int i = 0; i < refProps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, refProps_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCollection_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetCollection_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMetadata()); - } - for (int i = 0; i < numberArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, numberArrayProperties_.get(i)); - } - for (int i = 0; i < intArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, intArrayProperties_.get(i)); - } - for (int i = 0; i < textArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, textArrayProperties_.get(i)); - } - for (int i = 0; i < booleanArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, booleanArrayProperties_.get(i)); - } - for (int i = 0; i < objectProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, objectProperties_.get(i)); - } - for (int i = 0; i < objectArrayProperties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, objectArrayProperties_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getNonRefProps()); - } - if (refPropsRequested_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, refPropsRequested_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult)) { - return super.equals(obj); - } - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult other = (io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult) obj; - - if (hasNonRefProperties() != other.hasNonRefProperties()) return false; - if (hasNonRefProperties()) { - if (!getNonRefProperties() - .equals(other.getNonRefProperties())) return false; - } - if (!getRefPropsList() - .equals(other.getRefPropsList())) return false; - if (!getTargetCollection() - .equals(other.getTargetCollection())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getNumberArrayPropertiesList() - .equals(other.getNumberArrayPropertiesList())) return false; - if (!getIntArrayPropertiesList() - .equals(other.getIntArrayPropertiesList())) return false; - if (!getTextArrayPropertiesList() - .equals(other.getTextArrayPropertiesList())) return false; - if (!getBooleanArrayPropertiesList() - .equals(other.getBooleanArrayPropertiesList())) return false; - if (!getObjectPropertiesList() - .equals(other.getObjectPropertiesList())) return false; - if (!getObjectArrayPropertiesList() - .equals(other.getObjectArrayPropertiesList())) return false; - if (hasNonRefProps() != other.hasNonRefProps()) return false; - if (hasNonRefProps()) { - if (!getNonRefProps() - .equals(other.getNonRefProps())) return false; - } - if (getRefPropsRequested() - != other.getRefPropsRequested()) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -21574,10 +21063,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNonRefProperties()) { - hash = (37 * hash) + NON_REF_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getNonRefProperties().hashCode(); - } if (getRefPropsCount() > 0) { hash = (37 * hash) + REF_PROPS_FIELD_NUMBER; hash = (53 * hash) + getRefPropsList().hashCode(); @@ -21588,30 +21073,6 @@ public int hashCode() { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } - if (getNumberArrayPropertiesCount() > 0) { - hash = (37 * hash) + NUMBER_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getNumberArrayPropertiesList().hashCode(); - } - if (getIntArrayPropertiesCount() > 0) { - hash = (37 * hash) + INT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getIntArrayPropertiesList().hashCode(); - } - if (getTextArrayPropertiesCount() > 0) { - hash = (37 * hash) + TEXT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getTextArrayPropertiesList().hashCode(); - } - if (getBooleanArrayPropertiesCount() > 0) { - hash = (37 * hash) + BOOLEAN_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getBooleanArrayPropertiesList().hashCode(); - } - if (getObjectPropertiesCount() > 0) { - hash = (37 * hash) + OBJECT_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getObjectPropertiesList().hashCode(); - } - if (getObjectArrayPropertiesCount() > 0) { - hash = (37 * hash) + OBJECT_ARRAY_PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + getObjectArrayPropertiesList().hashCode(); - } if (hasNonRefProps()) { hash = (37 * hash) + NON_REF_PROPS_FIELD_NUMBER; hash = (53 * hash) + getNonRefProps().hashCode(); @@ -21749,15 +21210,8 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getNonRefPropertiesFieldBuilder(); getRefPropsFieldBuilder(); getMetadataFieldBuilder(); - getNumberArrayPropertiesFieldBuilder(); - getIntArrayPropertiesFieldBuilder(); - getTextArrayPropertiesFieldBuilder(); - getBooleanArrayPropertiesFieldBuilder(); - getObjectPropertiesFieldBuilder(); - getObjectArrayPropertiesFieldBuilder(); getNonRefPropsFieldBuilder(); } } @@ -21765,66 +21219,19 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); bitField0_ = 0; - nonRefProperties_ = null; - if (nonRefPropertiesBuilder_ != null) { - nonRefPropertiesBuilder_.dispose(); - nonRefPropertiesBuilder_ = null; - } if (refPropsBuilder_ == null) { refProps_ = java.util.Collections.emptyList(); } else { refProps_ = null; refPropsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); targetCollection_ = ""; metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } - if (numberArrayPropertiesBuilder_ == null) { - numberArrayProperties_ = java.util.Collections.emptyList(); - } else { - numberArrayProperties_ = null; - numberArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - if (intArrayPropertiesBuilder_ == null) { - intArrayProperties_ = java.util.Collections.emptyList(); - } else { - intArrayProperties_ = null; - intArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - if (textArrayPropertiesBuilder_ == null) { - textArrayProperties_ = java.util.Collections.emptyList(); - } else { - textArrayProperties_ = null; - textArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayProperties_ = java.util.Collections.emptyList(); - } else { - booleanArrayProperties_ = null; - booleanArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - if (objectPropertiesBuilder_ == null) { - objectProperties_ = java.util.Collections.emptyList(); - } else { - objectProperties_ = null; - objectPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - if (objectArrayPropertiesBuilder_ == null) { - objectArrayProperties_ = java.util.Collections.emptyList(); - } else { - objectArrayProperties_ = null; - objectArrayPropertiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000200); nonRefProps_ = null; if (nonRefPropsBuilder_ != null) { nonRefPropsBuilder_.dispose(); @@ -21865,95 +21272,35 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.Prop private void buildPartialRepeatedFields(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult result) { if (refPropsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { refProps_ = java.util.Collections.unmodifiableList(refProps_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.refProps_ = refProps_; } else { result.refProps_ = refPropsBuilder_.build(); } - if (numberArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - numberArrayProperties_ = java.util.Collections.unmodifiableList(numberArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.numberArrayProperties_ = numberArrayProperties_; - } else { - result.numberArrayProperties_ = numberArrayPropertiesBuilder_.build(); - } - if (intArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - intArrayProperties_ = java.util.Collections.unmodifiableList(intArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.intArrayProperties_ = intArrayProperties_; - } else { - result.intArrayProperties_ = intArrayPropertiesBuilder_.build(); - } - if (textArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - textArrayProperties_ = java.util.Collections.unmodifiableList(textArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.textArrayProperties_ = textArrayProperties_; - } else { - result.textArrayProperties_ = textArrayPropertiesBuilder_.build(); - } - if (booleanArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { - booleanArrayProperties_ = java.util.Collections.unmodifiableList(booleanArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.booleanArrayProperties_ = booleanArrayProperties_; - } else { - result.booleanArrayProperties_ = booleanArrayPropertiesBuilder_.build(); - } - if (objectPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { - objectProperties_ = java.util.Collections.unmodifiableList(objectProperties_); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.objectProperties_ = objectProperties_; - } else { - result.objectProperties_ = objectPropertiesBuilder_.build(); - } - if (objectArrayPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { - objectArrayProperties_ = java.util.Collections.unmodifiableList(objectArrayProperties_); - bitField0_ = (bitField0_ & ~0x00000200); - } - result.objectArrayProperties_ = objectArrayProperties_; - } else { - result.objectArrayProperties_ = objectArrayPropertiesBuilder_.build(); - } } private void buildPartial0(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult result) { int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nonRefProperties_ = nonRefPropertiesBuilder_ == null - ? nonRefProperties_ - : nonRefPropertiesBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000002) != 0)) { result.targetCollection_ = targetCollection_; } - if (((from_bitField0_ & 0x00000008) != 0)) { + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); - to_bitField0_ |= 0x00000002; + to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.nonRefProps_ = nonRefPropsBuilder_ == null ? nonRefProps_ : nonRefPropsBuilder_.build(); - to_bitField0_ |= 0x00000004; + to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.refPropsRequested_ = refPropsRequested_; } result.bitField0_ |= to_bitField0_; @@ -22003,14 +21350,11 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult other) { if (other == io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.PropertiesResult.getDefaultInstance()) return this; - if (other.hasNonRefProperties()) { - mergeNonRefProperties(other.getNonRefProperties()); - } if (refPropsBuilder_ == null) { if (!other.refProps_.isEmpty()) { if (refProps_.isEmpty()) { refProps_ = other.refProps_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRefPropsIsMutable(); refProps_.addAll(other.refProps_); @@ -22023,7 +21367,7 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP refPropsBuilder_.dispose(); refPropsBuilder_ = null; refProps_ = other.refProps_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); refPropsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRefPropsFieldBuilder() : null; @@ -22034,168 +21378,12 @@ public Builder mergeFrom(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateP } if (!other.getTargetCollection().isEmpty()) { targetCollection_ = other.targetCollection_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } - if (numberArrayPropertiesBuilder_ == null) { - if (!other.numberArrayProperties_.isEmpty()) { - if (numberArrayProperties_.isEmpty()) { - numberArrayProperties_ = other.numberArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.addAll(other.numberArrayProperties_); - } - onChanged(); - } - } else { - if (!other.numberArrayProperties_.isEmpty()) { - if (numberArrayPropertiesBuilder_.isEmpty()) { - numberArrayPropertiesBuilder_.dispose(); - numberArrayPropertiesBuilder_ = null; - numberArrayProperties_ = other.numberArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000010); - numberArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNumberArrayPropertiesFieldBuilder() : null; - } else { - numberArrayPropertiesBuilder_.addAllMessages(other.numberArrayProperties_); - } - } - } - if (intArrayPropertiesBuilder_ == null) { - if (!other.intArrayProperties_.isEmpty()) { - if (intArrayProperties_.isEmpty()) { - intArrayProperties_ = other.intArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.addAll(other.intArrayProperties_); - } - onChanged(); - } - } else { - if (!other.intArrayProperties_.isEmpty()) { - if (intArrayPropertiesBuilder_.isEmpty()) { - intArrayPropertiesBuilder_.dispose(); - intArrayPropertiesBuilder_ = null; - intArrayProperties_ = other.intArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000020); - intArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIntArrayPropertiesFieldBuilder() : null; - } else { - intArrayPropertiesBuilder_.addAllMessages(other.intArrayProperties_); - } - } - } - if (textArrayPropertiesBuilder_ == null) { - if (!other.textArrayProperties_.isEmpty()) { - if (textArrayProperties_.isEmpty()) { - textArrayProperties_ = other.textArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.addAll(other.textArrayProperties_); - } - onChanged(); - } - } else { - if (!other.textArrayProperties_.isEmpty()) { - if (textArrayPropertiesBuilder_.isEmpty()) { - textArrayPropertiesBuilder_.dispose(); - textArrayPropertiesBuilder_ = null; - textArrayProperties_ = other.textArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000040); - textArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTextArrayPropertiesFieldBuilder() : null; - } else { - textArrayPropertiesBuilder_.addAllMessages(other.textArrayProperties_); - } - } - } - if (booleanArrayPropertiesBuilder_ == null) { - if (!other.booleanArrayProperties_.isEmpty()) { - if (booleanArrayProperties_.isEmpty()) { - booleanArrayProperties_ = other.booleanArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.addAll(other.booleanArrayProperties_); - } - onChanged(); - } - } else { - if (!other.booleanArrayProperties_.isEmpty()) { - if (booleanArrayPropertiesBuilder_.isEmpty()) { - booleanArrayPropertiesBuilder_.dispose(); - booleanArrayPropertiesBuilder_ = null; - booleanArrayProperties_ = other.booleanArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000080); - booleanArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBooleanArrayPropertiesFieldBuilder() : null; - } else { - booleanArrayPropertiesBuilder_.addAllMessages(other.booleanArrayProperties_); - } - } - } - if (objectPropertiesBuilder_ == null) { - if (!other.objectProperties_.isEmpty()) { - if (objectProperties_.isEmpty()) { - objectProperties_ = other.objectProperties_; - bitField0_ = (bitField0_ & ~0x00000100); - } else { - ensureObjectPropertiesIsMutable(); - objectProperties_.addAll(other.objectProperties_); - } - onChanged(); - } - } else { - if (!other.objectProperties_.isEmpty()) { - if (objectPropertiesBuilder_.isEmpty()) { - objectPropertiesBuilder_.dispose(); - objectPropertiesBuilder_ = null; - objectProperties_ = other.objectProperties_; - bitField0_ = (bitField0_ & ~0x00000100); - objectPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectPropertiesFieldBuilder() : null; - } else { - objectPropertiesBuilder_.addAllMessages(other.objectProperties_); - } - } - } - if (objectArrayPropertiesBuilder_ == null) { - if (!other.objectArrayProperties_.isEmpty()) { - if (objectArrayProperties_.isEmpty()) { - objectArrayProperties_ = other.objectArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000200); - } else { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.addAll(other.objectArrayProperties_); - } - onChanged(); - } - } else { - if (!other.objectArrayProperties_.isEmpty()) { - if (objectArrayPropertiesBuilder_.isEmpty()) { - objectArrayPropertiesBuilder_.dispose(); - objectArrayPropertiesBuilder_ = null; - objectArrayProperties_ = other.objectArrayProperties_; - bitField0_ = (bitField0_ & ~0x00000200); - objectArrayPropertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getObjectArrayPropertiesFieldBuilder() : null; - } else { - objectArrayPropertiesBuilder_.addAllMessages(other.objectArrayProperties_); - } - } - } if (other.hasNonRefProps()) { mergeNonRefProps(other.getNonRefProps()); } @@ -22228,13 +21416,6 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getNonRefPropertiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 case 18: { io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult m = input.readMessage( @@ -22250,104 +21431,26 @@ public Builder mergeFrom( } // case 18 case 26: { targetCollection_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; break; } // case 26 case 34: { input.readMessage( getMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; break; } // case 34 - case 42: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.parser(), - extensionRegistry); - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(m); - } else { - numberArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.parser(), - extensionRegistry); - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(m); - } else { - intArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.parser(), - extensionRegistry); - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(m); - } else { - textArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.parser(), - extensionRegistry); - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(m); - } else { - booleanArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.parser(), - extensionRegistry); - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(m); - } else { - objectPropertiesBuilder_.addMessage(m); - } - break; - } // case 74 - case 82: { - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties m = - input.readMessage( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.parser(), - extensionRegistry); - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(m); - } else { - objectArrayPropertiesBuilder_.addMessage(m); - } - break; - } // case 82 case 90: { input.readMessage( getNonRefPropsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000008; break; } // case 90 case 96: { refPropsRequested_ = input.readBool(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00000010; break; } // case 96 default: { @@ -22367,175 +21470,50 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.Struct nonRefProperties_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> nonRefPropertiesBuilder_; - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return Whether the nonRefProperties field is set. - */ - @java.lang.Deprecated public boolean hasNonRefProperties() { - return ((bitField0_ & 0x00000001) != 0); + private java.util.List refProps_ = + java.util.Collections.emptyList(); + private void ensureRefPropsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + refProps_ = new java.util.ArrayList(refProps_); + bitField0_ |= 0x00000001; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder> refPropsBuilder_; + /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - * @deprecated weaviate.v1.PropertiesResult.non_ref_properties is deprecated. - * See v1/search_get.proto;l=170 - * @return The nonRefProperties. + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public com.google.protobuf.Struct getNonRefProperties() { - if (nonRefPropertiesBuilder_ == null) { - return nonRefProperties_ == null ? com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; + public java.util.List getRefPropsList() { + if (refPropsBuilder_ == null) { + return java.util.Collections.unmodifiableList(refProps_); } else { - return nonRefPropertiesBuilder_.getMessage(); + return refPropsBuilder_.getMessageList(); } } /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public Builder setNonRefProperties(com.google.protobuf.Struct value) { - if (nonRefPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - nonRefProperties_ = value; + public int getRefPropsCount() { + if (refPropsBuilder_ == null) { + return refProps_.size(); } else { - nonRefPropertiesBuilder_.setMessage(value); + return refPropsBuilder_.getCount(); } - bitField0_ |= 0x00000001; - onChanged(); - return this; } /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public Builder setNonRefProperties( - com.google.protobuf.Struct.Builder builderForValue) { - if (nonRefPropertiesBuilder_ == null) { - nonRefProperties_ = builderForValue.build(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult getRefProps(int index) { + if (refPropsBuilder_ == null) { + return refProps_.get(index); } else { - nonRefPropertiesBuilder_.setMessage(builderForValue.build()); + return refPropsBuilder_.getMessage(index); } - bitField0_ |= 0x00000001; - onChanged(); - return this; } /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeNonRefProperties(com.google.protobuf.Struct value) { - if (nonRefPropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - nonRefProperties_ != null && - nonRefProperties_ != com.google.protobuf.Struct.getDefaultInstance()) { - getNonRefPropertiesBuilder().mergeFrom(value); - } else { - nonRefProperties_ = value; - } - } else { - nonRefPropertiesBuilder_.mergeFrom(value); - } - if (nonRefProperties_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } - return this; - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearNonRefProperties() { - bitField0_ = (bitField0_ & ~0x00000001); - nonRefProperties_ = null; - if (nonRefPropertiesBuilder_ != null) { - nonRefPropertiesBuilder_.dispose(); - nonRefPropertiesBuilder_ = null; - } - onChanged(); - return this; - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.Struct.Builder getNonRefPropertiesBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getNonRefPropertiesFieldBuilder().getBuilder(); - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.StructOrBuilder getNonRefPropertiesOrBuilder() { - if (nonRefPropertiesBuilder_ != null) { - return nonRefPropertiesBuilder_.getMessageOrBuilder(); - } else { - return nonRefProperties_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : nonRefProperties_; - } - } - /** - * .google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getNonRefPropertiesFieldBuilder() { - if (nonRefPropertiesBuilder_ == null) { - nonRefPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getNonRefProperties(), - getParentForChildren(), - isClean()); - nonRefProperties_ = null; - } - return nonRefPropertiesBuilder_; - } - - private java.util.List refProps_ = - java.util.Collections.emptyList(); - private void ensureRefPropsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - refProps_ = new java.util.ArrayList(refProps_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder> refPropsBuilder_; - - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public java.util.List getRefPropsList() { - if (refPropsBuilder_ == null) { - return java.util.Collections.unmodifiableList(refProps_); - } else { - return refPropsBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public int getRefPropsCount() { - if (refPropsBuilder_ == null) { - return refProps_.size(); - } else { - return refPropsBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult getRefProps(int index) { - if (refPropsBuilder_ == null) { - return refProps_.get(index); - } else { - return refPropsBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ public Builder setRefProps( int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult value) { @@ -22647,7 +21625,7 @@ public Builder addAllRefProps( public Builder clearRefProps() { if (refPropsBuilder_ == null) { refProps_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { refPropsBuilder_.clear(); @@ -22656,1713 +21634,273 @@ public Builder clearRefProps() { } /** * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public Builder removeRefProps(int index) { - if (refPropsBuilder_ == null) { - ensureRefPropsIsMutable(); - refProps_.remove(index); - onChanged(); - } else { - refPropsBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder getRefPropsBuilder( - int index) { - return getRefPropsFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder getRefPropsOrBuilder( - int index) { - if (refPropsBuilder_ == null) { - return refProps_.get(index); } else { - return refPropsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public java.util.List - getRefPropsOrBuilderList() { - if (refPropsBuilder_ != null) { - return refPropsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(refProps_); - } - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder addRefPropsBuilder() { - return getRefPropsFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder addRefPropsBuilder( - int index) { - return getRefPropsFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; - */ - public java.util.List - getRefPropsBuilderList() { - return getRefPropsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder> - getRefPropsFieldBuilder() { - if (refPropsBuilder_ == null) { - refPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder>( - refProps_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - refProps_ = null; - } - return refPropsBuilder_; - } - - private java.lang.Object targetCollection_ = ""; - /** - * string target_collection = 3; - * @return The targetCollection. - */ - public java.lang.String getTargetCollection() { - java.lang.Object ref = targetCollection_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - targetCollection_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string target_collection = 3; - * @return The bytes for targetCollection. - */ - public com.google.protobuf.ByteString - getTargetCollectionBytes() { - java.lang.Object ref = targetCollection_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - targetCollection_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string target_collection = 3; - * @param value The targetCollection to set. - * @return This builder for chaining. - */ - public Builder setTargetCollection( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - targetCollection_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * string target_collection = 3; - * @return This builder for chaining. - */ - public Builder clearTargetCollection() { - targetCollection_ = getDefaultInstance().getTargetCollection(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * string target_collection = 3; - * @param value The bytes for targetCollection to set. - * @return This builder for chaining. - */ - public Builder setTargetCollectionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - targetCollection_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder> metadataBuilder_; - /** - * .weaviate.v1.MetadataResult metadata = 4; - * @return Whether the metadata field is set. - */ - public boolean hasMetadata() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - * @return The metadata. - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public Builder setMetadata(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - } else { - metadataBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public Builder setMetadata( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public Builder mergeMetadata(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult value) { - if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - metadata_ != null && - metadata_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance()) { - getMetadataBuilder().mergeFrom(value); - } else { - metadata_ = value; - } - } else { - metadataBuilder_.mergeFrom(value); - } - if (metadata_ != null) { - bitField0_ |= 0x00000008; - onChanged(); - } - return this; - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public Builder clearMetadata() { - bitField0_ = (bitField0_ & ~0x00000008); - metadata_ = null; - if (metadataBuilder_ != null) { - metadataBuilder_.dispose(); - metadataBuilder_ = null; - } - onChanged(); - return this; - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder getMetadataBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance() : metadata_; - } - } - /** - * .weaviate.v1.MetadataResult metadata = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private java.util.List numberArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureNumberArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - numberArrayProperties_ = new java.util.ArrayList(numberArrayProperties_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> numberArrayPropertiesBuilder_; - - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getNumberArrayPropertiesList() { - if (numberArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(numberArrayProperties_); - } else { - return numberArrayPropertiesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public int getNumberArrayPropertiesCount() { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.size(); - } else { - return numberArrayPropertiesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties getNumberArrayProperties(int index) { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.get(index); - } else { - return numberArrayPropertiesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.set(index, value); - onChanged(); - } else { - numberArrayPropertiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - numberArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addNumberArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(value); - onChanged(); - } else { - numberArrayPropertiesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties value) { - if (numberArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(index, value); - onChanged(); - } else { - numberArrayPropertiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addNumberArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - numberArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addNumberArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder builderForValue) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - numberArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllNumberArrayProperties( - java.lang.Iterable values) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, numberArrayProperties_); - onChanged(); - } else { - numberArrayPropertiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearNumberArrayProperties() { - if (numberArrayPropertiesBuilder_ == null) { - numberArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - numberArrayPropertiesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeNumberArrayProperties(int index) { - if (numberArrayPropertiesBuilder_ == null) { - ensureNumberArrayPropertiesIsMutable(); - numberArrayProperties_.remove(index); - onChanged(); - } else { - numberArrayPropertiesBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder getNumberArrayPropertiesBuilder( - int index) { - return getNumberArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder getNumberArrayPropertiesOrBuilder( - int index) { - if (numberArrayPropertiesBuilder_ == null) { - return numberArrayProperties_.get(index); } else { - return numberArrayPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getNumberArrayPropertiesOrBuilderList() { - if (numberArrayPropertiesBuilder_ != null) { - return numberArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(numberArrayProperties_); - } - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder() { - return getNumberArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder addNumberArrayPropertiesBuilder( - int index) { - return getNumberArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.NumberArrayProperties number_array_properties = 5 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getNumberArrayPropertiesBuilderList() { - return getNumberArrayPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder> - getNumberArrayPropertiesFieldBuilder() { - if (numberArrayPropertiesBuilder_ == null) { - numberArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.NumberArrayPropertiesOrBuilder>( - numberArrayProperties_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - numberArrayProperties_ = null; - } - return numberArrayPropertiesBuilder_; - } - - private java.util.List intArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureIntArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - intArrayProperties_ = new java.util.ArrayList(intArrayProperties_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> intArrayPropertiesBuilder_; - - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getIntArrayPropertiesList() { - if (intArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(intArrayProperties_); - } else { - return intArrayPropertiesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public int getIntArrayPropertiesCount() { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.size(); - } else { - return intArrayPropertiesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties getIntArrayProperties(int index) { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.get(index); - } else { - return intArrayPropertiesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.set(index, value); - onChanged(); - } else { - intArrayPropertiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addIntArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(value); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties value) { - if (intArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(index, value); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addIntArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addIntArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder builderForValue) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - intArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllIntArrayProperties( - java.lang.Iterable values) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, intArrayProperties_); - onChanged(); - } else { - intArrayPropertiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearIntArrayProperties() { - if (intArrayPropertiesBuilder_ == null) { - intArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - intArrayPropertiesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeIntArrayProperties(int index) { - if (intArrayPropertiesBuilder_ == null) { - ensureIntArrayPropertiesIsMutable(); - intArrayProperties_.remove(index); - onChanged(); - } else { - intArrayPropertiesBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder getIntArrayPropertiesBuilder( - int index) { - return getIntArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder getIntArrayPropertiesOrBuilder( - int index) { - if (intArrayPropertiesBuilder_ == null) { - return intArrayProperties_.get(index); } else { - return intArrayPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getIntArrayPropertiesOrBuilderList() { - if (intArrayPropertiesBuilder_ != null) { - return intArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(intArrayProperties_); - } - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder() { - return getIntArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder addIntArrayPropertiesBuilder( - int index) { - return getIntArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.IntArrayProperties int_array_properties = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getIntArrayPropertiesBuilderList() { - return getIntArrayPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder> - getIntArrayPropertiesFieldBuilder() { - if (intArrayPropertiesBuilder_ == null) { - intArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.IntArrayPropertiesOrBuilder>( - intArrayProperties_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - intArrayProperties_ = null; - } - return intArrayPropertiesBuilder_; - } - - private java.util.List textArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureTextArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - textArrayProperties_ = new java.util.ArrayList(textArrayProperties_); - bitField0_ |= 0x00000040; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> textArrayPropertiesBuilder_; - - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getTextArrayPropertiesList() { - if (textArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(textArrayProperties_); - } else { - return textArrayPropertiesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public int getTextArrayPropertiesCount() { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.size(); - } else { - return textArrayPropertiesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties getTextArrayProperties(int index) { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.get(index); - } else { - return textArrayPropertiesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.set(index, value); - onChanged(); - } else { - textArrayPropertiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addTextArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(value); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties value) { - if (textArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(index, value); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addTextArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addTextArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder builderForValue) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - textArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllTextArrayProperties( - java.lang.Iterable values) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, textArrayProperties_); - onChanged(); - } else { - textArrayPropertiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearTextArrayProperties() { - if (textArrayPropertiesBuilder_ == null) { - textArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - } else { - textArrayPropertiesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeTextArrayProperties(int index) { - if (textArrayPropertiesBuilder_ == null) { - ensureTextArrayPropertiesIsMutable(); - textArrayProperties_.remove(index); - onChanged(); - } else { - textArrayPropertiesBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder getTextArrayPropertiesBuilder( - int index) { - return getTextArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder getTextArrayPropertiesOrBuilder( - int index) { - if (textArrayPropertiesBuilder_ == null) { - return textArrayProperties_.get(index); } else { - return textArrayPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getTextArrayPropertiesOrBuilderList() { - if (textArrayPropertiesBuilder_ != null) { - return textArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(textArrayProperties_); - } - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder() { - return getTextArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder addTextArrayPropertiesBuilder( - int index) { - return getTextArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.TextArrayProperties text_array_properties = 7 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getTextArrayPropertiesBuilderList() { - return getTextArrayPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder> - getTextArrayPropertiesFieldBuilder() { - if (textArrayPropertiesBuilder_ == null) { - textArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.TextArrayPropertiesOrBuilder>( - textArrayProperties_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); - textArrayProperties_ = null; - } - return textArrayPropertiesBuilder_; - } - - private java.util.List booleanArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureBooleanArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - booleanArrayProperties_ = new java.util.ArrayList(booleanArrayProperties_); - bitField0_ |= 0x00000080; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> booleanArrayPropertiesBuilder_; - - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getBooleanArrayPropertiesList() { - if (booleanArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(booleanArrayProperties_); - } else { - return booleanArrayPropertiesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public int getBooleanArrayPropertiesCount() { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.size(); - } else { - return booleanArrayPropertiesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties getBooleanArrayProperties(int index) { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.get(index); - } else { - return booleanArrayPropertiesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.set(index, value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addBooleanArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties value) { - if (booleanArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(index, value); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addBooleanArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addBooleanArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder builderForValue) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllBooleanArrayProperties( - java.lang.Iterable values) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, booleanArrayProperties_); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearBooleanArrayProperties() { - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeBooleanArrayProperties(int index) { - if (booleanArrayPropertiesBuilder_ == null) { - ensureBooleanArrayPropertiesIsMutable(); - booleanArrayProperties_.remove(index); - onChanged(); - } else { - booleanArrayPropertiesBuilder_.remove(index); - } - return this; - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder getBooleanArrayPropertiesBuilder( - int index) { - return getBooleanArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder getBooleanArrayPropertiesOrBuilder( - int index) { - if (booleanArrayPropertiesBuilder_ == null) { - return booleanArrayProperties_.get(index); } else { - return booleanArrayPropertiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getBooleanArrayPropertiesOrBuilderList() { - if (booleanArrayPropertiesBuilder_ != null) { - return booleanArrayPropertiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(booleanArrayProperties_); - } - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder() { - return getBooleanArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder addBooleanArrayPropertiesBuilder( - int index) { - return getBooleanArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getBooleanArrayPropertiesBuilderList() { - return getBooleanArrayPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder> - getBooleanArrayPropertiesFieldBuilder() { - if (booleanArrayPropertiesBuilder_ == null) { - booleanArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.BooleanArrayPropertiesOrBuilder>( - booleanArrayProperties_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); - booleanArrayProperties_ = null; - } - return booleanArrayPropertiesBuilder_; - } - - private java.util.List objectProperties_ = - java.util.Collections.emptyList(); - private void ensureObjectPropertiesIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { - objectProperties_ = new java.util.ArrayList(objectProperties_); - bitField0_ |= 0x00000100; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> objectPropertiesBuilder_; - - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getObjectPropertiesList() { - if (objectPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(objectProperties_); - } else { - return objectPropertiesBuilder_.getMessageList(); - } - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public int getObjectPropertiesCount() { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.size(); - } else { - return objectPropertiesBuilder_.getCount(); - } - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties getObjectProperties(int index) { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.get(index); - } else { - return objectPropertiesBuilder_.getMessage(index); - } - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.set(index, value); - onChanged(); - } else { - objectPropertiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addObjectProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.add(value); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties value) { - if (objectPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectPropertiesIsMutable(); - objectProperties_.add(index, value); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addObjectProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addObjectProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder builderForValue) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.add(index, builderForValue.build()); - onChanged(); - } else { - objectPropertiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllObjectProperties( - java.lang.Iterable values) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectProperties_); - onChanged(); - } else { - objectPropertiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearObjectProperties() { - if (objectPropertiesBuilder_ == null) { - objectProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - } else { - objectPropertiesBuilder_.clear(); - } - return this; - } - /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeObjectProperties(int index) { - if (objectPropertiesBuilder_ == null) { - ensureObjectPropertiesIsMutable(); - objectProperties_.remove(index); + */ + public Builder removeRefProps(int index) { + if (refPropsBuilder_ == null) { + ensureRefPropsIsMutable(); + refProps_.remove(index); onChanged(); } else { - objectPropertiesBuilder_.remove(index); + refPropsBuilder_.remove(index); } return this; } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder getObjectPropertiesBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder getRefPropsBuilder( int index) { - return getObjectPropertiesFieldBuilder().getBuilder(index); + return getRefPropsFieldBuilder().getBuilder(index); } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder getObjectPropertiesOrBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder getRefPropsOrBuilder( int index) { - if (objectPropertiesBuilder_ == null) { - return objectProperties_.get(index); } else { - return objectPropertiesBuilder_.getMessageOrBuilder(index); + if (refPropsBuilder_ == null) { + return refProps_.get(index); } else { + return refPropsBuilder_.getMessageOrBuilder(index); } } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public java.util.List - getObjectPropertiesOrBuilderList() { - if (objectPropertiesBuilder_ != null) { - return objectPropertiesBuilder_.getMessageOrBuilderList(); + public java.util.List + getRefPropsOrBuilderList() { + if (refPropsBuilder_ != null) { + return refPropsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(objectProperties_); + return java.util.Collections.unmodifiableList(refProps_); } } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder() { - return getObjectPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder addRefPropsBuilder() { + return getRefPropsFieldBuilder().addBuilder( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.getDefaultInstance()); } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder addObjectPropertiesBuilder( + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder addRefPropsBuilder( int index) { - return getObjectPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.getDefaultInstance()); + return getRefPropsFieldBuilder().addBuilder( + index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.getDefaultInstance()); } /** - * repeated .weaviate.v1.ObjectProperties object_properties = 9 [deprecated = true]; + * repeated .weaviate.v1.RefPropertiesResult ref_props = 2; */ - @java.lang.Deprecated public java.util.List - getObjectPropertiesBuilderList() { - return getObjectPropertiesFieldBuilder().getBuilderList(); + public java.util.List + getRefPropsBuilderList() { + return getRefPropsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder> - getObjectPropertiesFieldBuilder() { - if (objectPropertiesBuilder_ == null) { - objectPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectPropertiesOrBuilder>( - objectProperties_, - ((bitField0_ & 0x00000100) != 0), + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder> + getRefPropsFieldBuilder() { + if (refPropsBuilder_ == null) { + refPropsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefPropertiesResultOrBuilder>( + refProps_, + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - objectProperties_ = null; + refProps_ = null; } - return objectPropertiesBuilder_; - } - - private java.util.List objectArrayProperties_ = - java.util.Collections.emptyList(); - private void ensureObjectArrayPropertiesIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { - objectArrayProperties_ = new java.util.ArrayList(objectArrayProperties_); - bitField0_ |= 0x00000200; - } + return refPropsBuilder_; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> objectArrayPropertiesBuilder_; - + private java.lang.Object targetCollection_ = ""; /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * string target_collection = 3; + * @return The targetCollection. */ - @java.lang.Deprecated public java.util.List getObjectArrayPropertiesList() { - if (objectArrayPropertiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(objectArrayProperties_); + public java.lang.String getTargetCollection() { + java.lang.Object ref = targetCollection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetCollection_ = s; + return s; } else { - return objectArrayPropertiesBuilder_.getMessageList(); + return (java.lang.String) ref; } } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * string target_collection = 3; + * @return The bytes for targetCollection. */ - @java.lang.Deprecated public int getObjectArrayPropertiesCount() { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.size(); + public com.google.protobuf.ByteString + getTargetCollectionBytes() { + java.lang.Object ref = targetCollection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + targetCollection_ = b; + return b; } else { - return objectArrayPropertiesBuilder_.getCount(); + return (com.google.protobuf.ByteString) ref; } } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * string target_collection = 3; + * @param value The targetCollection to set. + * @return This builder for chaining. */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties getObjectArrayProperties(int index) { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.get(index); - } else { - return objectArrayPropertiesBuilder_.getMessage(index); - } + public Builder setTargetCollection( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + targetCollection_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * string target_collection = 3; + * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.set(index, value); - onChanged(); - } else { - objectArrayPropertiesBuilder_.setMessage(index, value); - } + public Builder clearTargetCollection() { + targetCollection_ = getDefaultInstance().getTargetCollection(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * string target_collection = 3; + * @param value The bytes for targetCollection to set. + * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.set(index, builderForValue.build()); - onChanged(); - } else { - objectArrayPropertiesBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setTargetCollectionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + targetCollection_ = value; + bitField0_ |= 0x00000002; + onChanged(); return this; } + + private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult metadata_; + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder> metadataBuilder_; /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; + * @return Whether the metadata field is set. */ - @java.lang.Deprecated public Builder addObjectArrayProperties(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(value); - onChanged(); - } else { - objectArrayPropertiesBuilder_.addMessage(value); - } - return this; + public boolean hasMetadata() { + return ((bitField0_ & 0x00000004) != 0); } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; + * @return The metadata. */ - @java.lang.Deprecated public Builder addObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties value) { - if (objectArrayPropertiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(index, value); - onChanged(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null ? io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance() : metadata_; } else { - objectArrayPropertiesBuilder_.addMessage(index, value); + return metadataBuilder_.getMessage(); } - return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public Builder addObjectArrayProperties( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(builderForValue.build()); - onChanged(); + public Builder setMetadata(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; } else { - objectArrayPropertiesBuilder_.addMessage(builderForValue.build()); + metadataBuilder_.setMessage(value); } + bitField0_ |= 0x00000004; + onChanged(); return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public Builder addObjectArrayProperties( - int index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder builderForValue) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.add(index, builderForValue.build()); - onChanged(); + public Builder setMetadata( + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); } else { - objectArrayPropertiesBuilder_.addMessage(index, builderForValue.build()); + metadataBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000004; + onChanged(); return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public Builder addAllObjectArrayProperties( - java.lang.Iterable values) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, objectArrayProperties_); - onChanged(); + public Builder mergeMetadata(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult value) { + if (metadataBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + metadata_ != null && + metadata_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance()) { + getMetadataBuilder().mergeFrom(value); + } else { + metadata_ = value; + } } else { - objectArrayPropertiesBuilder_.addAllMessages(values); + metadataBuilder_.mergeFrom(value); } - return this; - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearObjectArrayProperties() { - if (objectArrayPropertiesBuilder_ == null) { - objectArrayProperties_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + if (metadata_ != null) { + bitField0_ |= 0x00000004; onChanged(); - } else { - objectArrayPropertiesBuilder_.clear(); } return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public Builder removeObjectArrayProperties(int index) { - if (objectArrayPropertiesBuilder_ == null) { - ensureObjectArrayPropertiesIsMutable(); - objectArrayProperties_.remove(index); - onChanged(); - } else { - objectArrayPropertiesBuilder_.remove(index); + public Builder clearMetadata() { + bitField0_ = (bitField0_ & ~0x00000004); + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; } + onChanged(); return this; } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder getObjectArrayPropertiesBuilder( - int index) { - return getObjectArrayPropertiesFieldBuilder().getBuilder(index); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder getObjectArrayPropertiesOrBuilder( - int index) { - if (objectArrayPropertiesBuilder_ == null) { - return objectArrayProperties_.get(index); } else { - return objectArrayPropertiesBuilder_.getMessageOrBuilder(index); - } + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder getMetadataBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getMetadataFieldBuilder().getBuilder(); } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public java.util.List - getObjectArrayPropertiesOrBuilderList() { - if (objectArrayPropertiesBuilder_ != null) { - return objectArrayPropertiesBuilder_.getMessageOrBuilderList(); + public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); } else { - return java.util.Collections.unmodifiableList(objectArrayProperties_); + return metadata_ == null ? + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.getDefaultInstance() : metadata_; } } /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder() { - return getObjectArrayPropertiesFieldBuilder().addBuilder( - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; - */ - @java.lang.Deprecated public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder addObjectArrayPropertiesBuilder( - int index) { - return getObjectArrayPropertiesFieldBuilder().addBuilder( - index, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.getDefaultInstance()); - } - /** - * repeated .weaviate.v1.ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + * .weaviate.v1.MetadataResult metadata = 4; */ - @java.lang.Deprecated public java.util.List - getObjectArrayPropertiesBuilderList() { - return getObjectArrayPropertiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder> - getObjectArrayPropertiesFieldBuilder() { - if (objectArrayPropertiesBuilder_ == null) { - objectArrayPropertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayProperties.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.ObjectArrayPropertiesOrBuilder>( - objectArrayProperties_, - ((bitField0_ & 0x00000200) != 0), + private com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder> + getMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResult.Builder, io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.MetadataResultOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); - objectArrayProperties_ = null; + metadata_ = null; } - return objectArrayPropertiesBuilder_; + return metadataBuilder_; } private io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties nonRefProps_; @@ -24373,7 +21911,7 @@ private void ensureObjectArrayPropertiesIsMutable() { * @return Whether the nonRefProps field is set. */ public boolean hasNonRefProps() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * .weaviate.v1.Properties non_ref_props = 11; @@ -24398,7 +21936,7 @@ public Builder setNonRefProps(io.weaviate.client6.v1.internal.grpc.protocol.Weav } else { nonRefPropsBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -24412,7 +21950,7 @@ public Builder setNonRefProps( } else { nonRefPropsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -24421,7 +21959,7 @@ public Builder setNonRefProps( */ public Builder mergeNonRefProps(io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties value) { if (nonRefPropsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && + if (((bitField0_ & 0x00000008) != 0) && nonRefProps_ != null && nonRefProps_ != io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.getDefaultInstance()) { getNonRefPropsBuilder().mergeFrom(value); @@ -24432,7 +21970,7 @@ public Builder mergeNonRefProps(io.weaviate.client6.v1.internal.grpc.protocol.We nonRefPropsBuilder_.mergeFrom(value); } if (nonRefProps_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000008; onChanged(); } return this; @@ -24441,7 +21979,7 @@ public Builder mergeNonRefProps(io.weaviate.client6.v1.internal.grpc.protocol.We * .weaviate.v1.Properties non_ref_props = 11; */ public Builder clearNonRefProps() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000008); nonRefProps_ = null; if (nonRefPropsBuilder_ != null) { nonRefPropsBuilder_.dispose(); @@ -24454,7 +21992,7 @@ public Builder clearNonRefProps() { * .weaviate.v1.Properties non_ref_props = 11; */ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoProperties.Properties.Builder getNonRefPropsBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000008; onChanged(); return getNonRefPropsFieldBuilder().getBuilder(); } @@ -24503,7 +22041,7 @@ public boolean getRefPropsRequested() { public Builder setRefPropsRequested(boolean value) { refPropsRequested_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -24512,7 +22050,7 @@ public Builder setRefPropsRequested(boolean value) { * @return This builder for chaining. */ public Builder clearRefPropsRequested() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00000010); refPropsRequested_ = false; onChanged(); return this; @@ -25595,134 +23133,122 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefP descriptor; static { java.lang.String[] descriptorData = { - "\n\023v1/search_get.proto\022\013weaviate.v1\032\034goog" + - "le/protobuf/struct.proto\032\rv1/base.proto\032" + - "\024v1/base_search.proto\032\023v1/generative.pro" + - "to\032\023v1/properties.proto\"\234\013\n\rSearchReques" + - "t\022\022\n\ncollection\030\001 \001(\t\022\016\n\006tenant\030\n \001(\t\022=\n" + - "\021consistency_level\030\013 \001(\0162\035.weaviate.v1.C" + - "onsistencyLevelH\000\210\001\001\0227\n\nproperties\030\024 \001(\013" + - "2\036.weaviate.v1.PropertiesRequestH\001\210\001\001\0223\n" + - "\010metadata\030\025 \001(\0132\034.weaviate.v1.MetadataRe" + - "questH\002\210\001\001\022+\n\010group_by\030\026 \001(\0132\024.weaviate." + - "v1.GroupByH\003\210\001\001\022\r\n\005limit\030\036 \001(\r\022\016\n\006offset" + - "\030\037 \001(\r\022\017\n\007autocut\030 \001(\r\022\r\n\005after\030! \001(\t\022$" + - "\n\007sort_by\030\" \003(\0132\023.weaviate.v1.SortBy\022*\n\007" + - "filters\030( \001(\0132\024.weaviate.v1.FiltersH\004\210\001\001" + - "\022/\n\rhybrid_search\030) \001(\0132\023.weaviate.v1.Hy" + - "bridH\005\210\001\001\022+\n\013bm25_search\030* \001(\0132\021.weaviat" + - "e.v1.BM25H\006\210\001\001\0221\n\013near_vector\030+ \001(\0132\027.we" + - "aviate.v1.NearVectorH\007\210\001\001\0221\n\013near_object" + - "\030, \001(\0132\027.weaviate.v1.NearObjectH\010\210\001\001\0223\n\t" + - "near_text\030- \001(\0132\033.weaviate.v1.NearTextSe" + - "archH\t\210\001\001\0225\n\nnear_image\030. \001(\0132\034.weaviate" + - ".v1.NearImageSearchH\n\210\001\001\0225\n\nnear_audio\030/" + - " \001(\0132\034.weaviate.v1.NearAudioSearchH\013\210\001\001\022" + - "5\n\nnear_video\0300 \001(\0132\034.weaviate.v1.NearVi" + - "deoSearchH\014\210\001\001\0225\n\nnear_depth\0301 \001(\0132\034.wea" + - "viate.v1.NearDepthSearchH\r\210\001\001\0229\n\014near_th" + - "ermal\0302 \001(\0132\036.weaviate.v1.NearThermalSea" + - "rchH\016\210\001\001\0221\n\010near_imu\0303 \001(\0132\032.weaviate.v1" + - ".NearIMUSearchH\017\210\001\001\0226\n\ngenerative\030< \001(\0132" + - "\035.weaviate.v1.GenerativeSearchH\020\210\001\001\022(\n\006r" + - "erank\030= \001(\0132\023.weaviate.v1.RerankH\021\210\001\001\022\030\n" + - "\014uses_123_api\030d \001(\010B\002\030\001\022\030\n\014uses_125_api\030" + - "e \001(\010B\002\030\001\022\024\n\014uses_127_api\030f \001(\010B\024\n\022_cons" + - "istency_levelB\r\n\013_propertiesB\013\n\t_metadat" + - "aB\013\n\t_group_byB\n\n\010_filtersB\020\n\016_hybrid_se" + - "archB\016\n\014_bm25_searchB\016\n\014_near_vectorB\016\n\014" + - "_near_objectB\014\n\n_near_textB\r\n\013_near_imag" + - "eB\r\n\013_near_audioB\r\n\013_near_videoB\r\n\013_near" + - "_depthB\017\n\r_near_thermalB\013\n\t_near_imuB\r\n\013" + - "_generativeB\t\n\007_rerank\"L\n\007GroupBy\022\014\n\004pat" + - "h\030\001 \003(\t\022\030\n\020number_of_groups\030\002 \001(\005\022\031\n\021obj" + - "ects_per_group\030\003 \001(\005\")\n\006SortBy\022\021\n\tascend" + - "ing\030\001 \001(\010\022\014\n\004path\030\002 \003(\t\"\335\001\n\017MetadataRequ" + - "est\022\014\n\004uuid\030\001 \001(\010\022\016\n\006vector\030\002 \001(\010\022\032\n\022cre" + - "ation_time_unix\030\003 \001(\010\022\035\n\025last_update_tim" + - "e_unix\030\004 \001(\010\022\020\n\010distance\030\005 \001(\010\022\021\n\tcertai" + - "nty\030\006 \001(\010\022\r\n\005score\030\007 \001(\010\022\025\n\rexplain_scor" + - "e\030\010 \001(\010\022\025\n\ris_consistent\030\t \001(\010\022\017\n\007vector" + - "s\030\n \003(\t\"\321\001\n\021PropertiesRequest\022\032\n\022non_ref" + - "_properties\030\001 \003(\t\0229\n\016ref_properties\030\002 \003(" + - "\0132!.weaviate.v1.RefPropertiesRequest\022?\n\021" + - "object_properties\030\003 \003(\0132$.weaviate.v1.Ob" + - "jectPropertiesRequest\022$\n\034return_all_nonr" + - "ef_properties\030\013 \001(\010\"\213\001\n\027ObjectProperties" + - "Request\022\021\n\tprop_name\030\001 \001(\t\022\034\n\024primitive_" + - "properties\030\002 \003(\t\022?\n\021object_properties\030\003 " + - "\003(\0132$.weaviate.v1.ObjectPropertiesReques" + - "t\"\261\001\n\024RefPropertiesRequest\022\032\n\022reference_" + - "property\030\001 \001(\t\0222\n\nproperties\030\002 \001(\0132\036.wea" + - "viate.v1.PropertiesRequest\022.\n\010metadata\030\003" + - " \001(\0132\034.weaviate.v1.MetadataRequest\022\031\n\021ta" + - "rget_collection\030\004 \001(\t\"8\n\006Rerank\022\020\n\010prope" + - "rty\030\001 \001(\t\022\022\n\005query\030\002 \001(\tH\000\210\001\001B\010\n\006_query\"" + - "\256\002\n\013SearchReply\022\014\n\004took\030\001 \001(\002\022*\n\007results" + - "\030\002 \003(\0132\031.weaviate.v1.SearchResult\022*\n\031gen" + - "erative_grouped_result\030\003 \001(\tB\002\030\001H\000\210\001\001\0224\n" + - "\020group_by_results\030\004 \003(\0132\032.weaviate.v1.Gr" + - "oupByResult\022F\n\032generative_grouped_result" + - "s\030\005 \001(\0132\035.weaviate.v1.GenerativeResultH\001" + - "\210\001\001B\034\n\032_generative_grouped_resultB\035\n\033_ge" + - "nerative_grouped_results\"\034\n\013RerankReply\022" + - "\r\n\005score\030\001 \001(\001\"\351\002\n\rGroupByResult\022\014\n\004name" + - "\030\001 \001(\t\022\024\n\014min_distance\030\002 \001(\002\022\024\n\014max_dist" + - "ance\030\003 \001(\002\022\031\n\021number_of_objects\030\004 \001(\003\022*\n" + - "\007objects\030\005 \003(\0132\031.weaviate.v1.SearchResul" + - "t\022-\n\006rerank\030\006 \001(\0132\030.weaviate.v1.RerankRe" + - "plyH\000\210\001\001\0229\n\ngenerative\030\007 \001(\0132\034.weaviate." + - "v1.GenerativeReplyB\002\030\001H\001\210\001\001\022=\n\021generativ" + - "e_result\030\010 \001(\0132\035.weaviate.v1.GenerativeR" + - "esultH\002\210\001\001B\t\n\007_rerankB\r\n\013_generativeB\024\n\022" + - "_generative_result\"\267\001\n\014SearchResult\0221\n\np" + - "roperties\030\001 \001(\0132\035.weaviate.v1.Properties" + - "Result\022-\n\010metadata\030\002 \001(\0132\033.weaviate.v1.M" + - "etadataResult\0226\n\ngenerative\030\003 \001(\0132\035.weav" + - "iate.v1.GenerativeResultH\000\210\001\001B\r\n\013_genera" + - "tive\"\367\004\n\016MetadataResult\022\n\n\002id\030\001 \001(\t\022\022\n\006v" + - "ector\030\002 \003(\002B\002\030\001\022\032\n\022creation_time_unix\030\003 " + - "\001(\003\022\"\n\032creation_time_unix_present\030\004 \001(\010\022" + - "\035\n\025last_update_time_unix\030\005 \001(\003\022%\n\035last_u" + - "pdate_time_unix_present\030\006 \001(\010\022\020\n\010distanc" + - "e\030\007 \001(\002\022\030\n\020distance_present\030\010 \001(\010\022\021\n\tcer" + - "tainty\030\t \001(\002\022\031\n\021certainty_present\030\n \001(\010\022" + - "\r\n\005score\030\013 \001(\002\022\025\n\rscore_present\030\014 \001(\010\022\025\n" + - "\rexplain_score\030\r \001(\t\022\035\n\025explain_score_pr" + - "esent\030\016 \001(\010\022\032\n\ris_consistent\030\017 \001(\010H\000\210\001\001\022" + - "\026\n\ngenerative\030\020 \001(\tB\002\030\001\022\036\n\022generative_pr" + - "esent\030\021 \001(\010B\002\030\001\022\035\n\025is_consistent_present" + - "\030\022 \001(\010\022\024\n\014vector_bytes\030\023 \001(\014\022\023\n\013id_as_by" + - "tes\030\024 \001(\014\022\024\n\014rerank_score\030\025 \001(\001\022\034\n\024reran" + - "k_score_present\030\026 \001(\010\022%\n\007vectors\030\027 \003(\0132\024" + - ".weaviate.v1.VectorsB\020\n\016_is_consistent\"\272" + - "\005\n\020PropertiesResult\0227\n\022non_ref_propertie" + - "s\030\001 \001(\0132\027.google.protobuf.StructB\002\030\001\0223\n\t" + - "ref_props\030\002 \003(\0132 .weaviate.v1.RefPropert" + - "iesResult\022\031\n\021target_collection\030\003 \001(\t\022-\n\010" + - "metadata\030\004 \001(\0132\033.weaviate.v1.MetadataRes" + - "ult\022G\n\027number_array_properties\030\005 \003(\0132\".w" + - "eaviate.v1.NumberArrayPropertiesB\002\030\001\022A\n\024" + - "int_array_properties\030\006 \003(\0132\037.weaviate.v1" + - ".IntArrayPropertiesB\002\030\001\022C\n\025text_array_pr" + - "operties\030\007 \003(\0132 .weaviate.v1.TextArrayPr" + - "opertiesB\002\030\001\022I\n\030boolean_array_properties" + - "\030\010 \003(\0132#.weaviate.v1.BooleanArrayPropert" + - "iesB\002\030\001\022<\n\021object_properties\030\t \003(\0132\035.wea" + - "viate.v1.ObjectPropertiesB\002\030\001\022G\n\027object_" + - "array_properties\030\n \003(\0132\".weaviate.v1.Obj" + - "ectArrayPropertiesB\002\030\001\022.\n\rnon_ref_props\030" + - "\013 \001(\0132\027.weaviate.v1.Properties\022\033\n\023ref_pr" + - "ops_requested\030\014 \001(\010\"[\n\023RefPropertiesResu" + - "lt\0221\n\nproperties\030\001 \003(\0132\035.weaviate.v1.Pro" + - "pertiesResult\022\021\n\tprop_name\030\002 \001(\tBG\n-io.w" + - "eaviate.client6.v1.internal.grpc.protoco" + - "lB\026WeaviateProtoSearchGetb\006proto3" + "\n\023v1/search_get.proto\022\013weaviate.v1\032\rv1/b" + + "ase.proto\032\024v1/base_search.proto\032\023v1/gene" + + "rative.proto\032\023v1/properties.proto\"\234\013\n\rSe" + + "archRequest\022\022\n\ncollection\030\001 \001(\t\022\016\n\006tenan" + + "t\030\n \001(\t\022=\n\021consistency_level\030\013 \001(\0162\035.wea" + + "viate.v1.ConsistencyLevelH\000\210\001\001\0227\n\nproper" + + "ties\030\024 \001(\0132\036.weaviate.v1.PropertiesReque" + + "stH\001\210\001\001\0223\n\010metadata\030\025 \001(\0132\034.weaviate.v1." + + "MetadataRequestH\002\210\001\001\022+\n\010group_by\030\026 \001(\0132\024" + + ".weaviate.v1.GroupByH\003\210\001\001\022\r\n\005limit\030\036 \001(\r" + + "\022\016\n\006offset\030\037 \001(\r\022\017\n\007autocut\030 \001(\r\022\r\n\005aft" + + "er\030! \001(\t\022$\n\007sort_by\030\" \003(\0132\023.weaviate.v1." + + "SortBy\022*\n\007filters\030( \001(\0132\024.weaviate.v1.Fi" + + "ltersH\004\210\001\001\022/\n\rhybrid_search\030) \001(\0132\023.weav" + + "iate.v1.HybridH\005\210\001\001\022+\n\013bm25_search\030* \001(\013" + + "2\021.weaviate.v1.BM25H\006\210\001\001\0221\n\013near_vector\030" + + "+ \001(\0132\027.weaviate.v1.NearVectorH\007\210\001\001\0221\n\013n" + + "ear_object\030, \001(\0132\027.weaviate.v1.NearObjec" + + "tH\010\210\001\001\0223\n\tnear_text\030- \001(\0132\033.weaviate.v1." + + "NearTextSearchH\t\210\001\001\0225\n\nnear_image\030. \001(\0132" + + "\034.weaviate.v1.NearImageSearchH\n\210\001\001\0225\n\nne" + + "ar_audio\030/ \001(\0132\034.weaviate.v1.NearAudioSe" + + "archH\013\210\001\001\0225\n\nnear_video\0300 \001(\0132\034.weaviate" + + ".v1.NearVideoSearchH\014\210\001\001\0225\n\nnear_depth\0301" + + " \001(\0132\034.weaviate.v1.NearDepthSearchH\r\210\001\001\022" + + "9\n\014near_thermal\0302 \001(\0132\036.weaviate.v1.Near" + + "ThermalSearchH\016\210\001\001\0221\n\010near_imu\0303 \001(\0132\032.w" + + "eaviate.v1.NearIMUSearchH\017\210\001\001\0226\n\ngenerat" + + "ive\030< \001(\0132\035.weaviate.v1.GenerativeSearch" + + "H\020\210\001\001\022(\n\006rerank\030= \001(\0132\023.weaviate.v1.Rera" + + "nkH\021\210\001\001\022\030\n\014uses_123_api\030d \001(\010B\002\030\001\022\030\n\014use" + + "s_125_api\030e \001(\010B\002\030\001\022\024\n\014uses_127_api\030f \001(" + + "\010B\024\n\022_consistency_levelB\r\n\013_propertiesB\013" + + "\n\t_metadataB\013\n\t_group_byB\n\n\010_filtersB\020\n\016" + + "_hybrid_searchB\016\n\014_bm25_searchB\016\n\014_near_" + + "vectorB\016\n\014_near_objectB\014\n\n_near_textB\r\n\013" + + "_near_imageB\r\n\013_near_audioB\r\n\013_near_vide" + + "oB\r\n\013_near_depthB\017\n\r_near_thermalB\013\n\t_ne" + + "ar_imuB\r\n\013_generativeB\t\n\007_rerank\"L\n\007Grou" + + "pBy\022\014\n\004path\030\001 \003(\t\022\030\n\020number_of_groups\030\002 " + + "\001(\005\022\031\n\021objects_per_group\030\003 \001(\005\")\n\006SortBy" + + "\022\021\n\tascending\030\001 \001(\010\022\014\n\004path\030\002 \003(\t\"\335\001\n\017Me" + + "tadataRequest\022\014\n\004uuid\030\001 \001(\010\022\016\n\006vector\030\002 " + + "\001(\010\022\032\n\022creation_time_unix\030\003 \001(\010\022\035\n\025last_" + + "update_time_unix\030\004 \001(\010\022\020\n\010distance\030\005 \001(\010" + + "\022\021\n\tcertainty\030\006 \001(\010\022\r\n\005score\030\007 \001(\010\022\025\n\rex" + + "plain_score\030\010 \001(\010\022\025\n\ris_consistent\030\t \001(\010" + + "\022\017\n\007vectors\030\n \003(\t\"\321\001\n\021PropertiesRequest\022" + + "\032\n\022non_ref_properties\030\001 \003(\t\0229\n\016ref_prope" + + "rties\030\002 \003(\0132!.weaviate.v1.RefPropertiesR" + + "equest\022?\n\021object_properties\030\003 \003(\0132$.weav" + + "iate.v1.ObjectPropertiesRequest\022$\n\034retur" + + "n_all_nonref_properties\030\013 \001(\010\"\213\001\n\027Object" + + "PropertiesRequest\022\021\n\tprop_name\030\001 \001(\t\022\034\n\024" + + "primitive_properties\030\002 \003(\t\022?\n\021object_pro" + + "perties\030\003 \003(\0132$.weaviate.v1.ObjectProper" + + "tiesRequest\"\261\001\n\024RefPropertiesRequest\022\032\n\022" + + "reference_property\030\001 \001(\t\0222\n\nproperties\030\002" + + " \001(\0132\036.weaviate.v1.PropertiesRequest\022.\n\010" + + "metadata\030\003 \001(\0132\034.weaviate.v1.MetadataReq" + + "uest\022\031\n\021target_collection\030\004 \001(\t\"8\n\006Reran" + + "k\022\020\n\010property\030\001 \001(\t\022\022\n\005query\030\002 \001(\tH\000\210\001\001B" + + "\010\n\006_query\"\256\002\n\013SearchReply\022\014\n\004took\030\001 \001(\002\022" + + "*\n\007results\030\002 \003(\0132\031.weaviate.v1.SearchRes" + + "ult\022*\n\031generative_grouped_result\030\003 \001(\tB\002" + + "\030\001H\000\210\001\001\0224\n\020group_by_results\030\004 \003(\0132\032.weav" + + "iate.v1.GroupByResult\022F\n\032generative_grou" + + "ped_results\030\005 \001(\0132\035.weaviate.v1.Generati" + + "veResultH\001\210\001\001B\034\n\032_generative_grouped_res" + + "ultB\035\n\033_generative_grouped_results\"\034\n\013Re" + + "rankReply\022\r\n\005score\030\001 \001(\001\"\351\002\n\rGroupByResu" + + "lt\022\014\n\004name\030\001 \001(\t\022\024\n\014min_distance\030\002 \001(\002\022\024" + + "\n\014max_distance\030\003 \001(\002\022\031\n\021number_of_object" + + "s\030\004 \001(\003\022*\n\007objects\030\005 \003(\0132\031.weaviate.v1.S" + + "earchResult\022-\n\006rerank\030\006 \001(\0132\030.weaviate.v" + + "1.RerankReplyH\000\210\001\001\0229\n\ngenerative\030\007 \001(\0132\034" + + ".weaviate.v1.GenerativeReplyB\002\030\001H\001\210\001\001\022=\n" + + "\021generative_result\030\010 \001(\0132\035.weaviate.v1.G" + + "enerativeResultH\002\210\001\001B\t\n\007_rerankB\r\n\013_gene" + + "rativeB\024\n\022_generative_result\"\267\001\n\014SearchR" + + "esult\0221\n\nproperties\030\001 \001(\0132\035.weaviate.v1." + + "PropertiesResult\022-\n\010metadata\030\002 \001(\0132\033.wea" + + "viate.v1.MetadataResult\0226\n\ngenerative\030\003 " + + "\001(\0132\035.weaviate.v1.GenerativeResultH\000\210\001\001B" + + "\r\n\013_generative\"\367\004\n\016MetadataResult\022\n\n\002id\030" + + "\001 \001(\t\022\022\n\006vector\030\002 \003(\002B\002\030\001\022\032\n\022creation_ti" + + "me_unix\030\003 \001(\003\022\"\n\032creation_time_unix_pres" + + "ent\030\004 \001(\010\022\035\n\025last_update_time_unix\030\005 \001(\003" + + "\022%\n\035last_update_time_unix_present\030\006 \001(\010\022" + + "\020\n\010distance\030\007 \001(\002\022\030\n\020distance_present\030\010 " + + "\001(\010\022\021\n\tcertainty\030\t \001(\002\022\031\n\021certainty_pres" + + "ent\030\n \001(\010\022\r\n\005score\030\013 \001(\002\022\025\n\rscore_presen" + + "t\030\014 \001(\010\022\025\n\rexplain_score\030\r \001(\t\022\035\n\025explai" + + "n_score_present\030\016 \001(\010\022\032\n\ris_consistent\030\017" + + " \001(\010H\000\210\001\001\022\026\n\ngenerative\030\020 \001(\tB\002\030\001\022\036\n\022gen" + + "erative_present\030\021 \001(\010B\002\030\001\022\035\n\025is_consiste" + + "nt_present\030\022 \001(\010\022\024\n\014vector_bytes\030\023 \001(\014\022\023" + + "\n\013id_as_bytes\030\024 \001(\014\022\024\n\014rerank_score\030\025 \001(" + + "\001\022\034\n\024rerank_score_present\030\026 \001(\010\022%\n\007vecto" + + "rs\030\027 \003(\0132\024.weaviate.v1.VectorsB\020\n\016_is_co" + + "nsistent\"\210\002\n\020PropertiesResult\0223\n\tref_pro" + + "ps\030\002 \003(\0132 .weaviate.v1.RefPropertiesResu" + + "lt\022\031\n\021target_collection\030\003 \001(\t\022-\n\010metadat" + + "a\030\004 \001(\0132\033.weaviate.v1.MetadataResult\022.\n\r" + + "non_ref_props\030\013 \001(\0132\027.weaviate.v1.Proper" + + "ties\022\033\n\023ref_props_requested\030\014 \001(\010J\004\010\001\020\002J" + + "\004\010\005\020\006J\004\010\006\020\007J\004\010\007\020\010J\004\010\010\020\tJ\004\010\t\020\nJ\004\010\n\020\013\"[\n\023R" + + "efPropertiesResult\0221\n\nproperties\030\001 \003(\0132\035" + + ".weaviate.v1.PropertiesResult\022\021\n\tprop_na" + + "me\030\002 \001(\tBG\n-io.weaviate.client6.v1.inter" + + "nal.grpc.protocolB\026WeaviateProtoSearchGe" + + "tb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.getDescriptor(), io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.getDescriptor(), io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.getDescriptor(), @@ -25811,14 +23337,13 @@ public io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoSearchGet.RefP internal_static_weaviate_v1_PropertiesResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_PropertiesResult_descriptor, - new java.lang.String[] { "NonRefProperties", "RefProps", "TargetCollection", "Metadata", "NumberArrayProperties", "IntArrayProperties", "TextArrayProperties", "BooleanArrayProperties", "ObjectProperties", "ObjectArrayProperties", "NonRefProps", "RefPropsRequested", }); + new java.lang.String[] { "RefProps", "TargetCollection", "Metadata", "NonRefProps", "RefPropsRequested", }); internal_static_weaviate_v1_RefPropertiesResult_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_weaviate_v1_RefPropertiesResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_weaviate_v1_RefPropertiesResult_descriptor, new java.lang.String[] { "Properties", "PropName", }); - com.google.protobuf.StructProto.getDescriptor(); io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBase.getDescriptor(); io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoBaseSearch.getDescriptor(); io.weaviate.client6.v1.internal.grpc.protocol.WeaviateProtoGenerative.getDescriptor(); diff --git a/src/main/proto/v1/base.proto b/src/main/proto/v1/base.proto index 5ed3e1142..cf0220793 100644 --- a/src/main/proto/v1/base.proto +++ b/src/main/proto/v1/base.proto @@ -14,7 +14,9 @@ enum ConsistencyLevel { } message NumberArrayProperties { - repeated double values = 1 [deprecated = true]; // will be removed in the future, use vector_bytes + // will be removed in the future, use vector_bytes + // go client 5.4.1 depends on this field. Only remove after go client is deprecated + repeated double values = 1 [deprecated = true]; string prop_name = 2; bytes values_bytes = 3; } @@ -88,6 +90,8 @@ message Filters { OPERATOR_IS_NULL = 11; OPERATOR_CONTAINS_ANY = 12; OPERATOR_CONTAINS_ALL = 13; + OPERATOR_CONTAINS_NONE = 14; + OPERATOR_NOT = 15; } Operator operator = 1; diff --git a/src/main/proto/v1/base_search.proto b/src/main/proto/v1/base_search.proto index 8eb2f0106..ec1cf1ce3 100644 --- a/src/main/proto/v1/base_search.proto +++ b/src/main/proto/v1/base_search.proto @@ -24,7 +24,7 @@ message WeightsForTarget { message Targets { repeated string target_vectors = 1; CombinationMethod combination = 2; - map weights = 3 [deprecated = true]; // deprecated in 1.26.2 - use weights_for_targets + reserved 3; // was weights repeated WeightsForTarget weights_for_targets = 4; } diff --git a/src/main/proto/v1/batch.proto b/src/main/proto/v1/batch.proto index 768009532..12fdbb994 100644 --- a/src/main/proto/v1/batch.proto +++ b/src/main/proto/v1/batch.proto @@ -13,6 +13,65 @@ message BatchObjectsRequest { optional ConsistencyLevel consistency_level = 2; } +message BatchReferencesRequest { + repeated BatchReference references = 1; + optional ConsistencyLevel consistency_level = 2; +} + +message BatchSendRequest { + message Stop { + } + message Objects { + repeated BatchObject values = 1; + } + message References { + repeated BatchReference values = 1; + } + string stream_id = 1; + oneof message { + Objects objects = 2; + References references = 3; + Stop stop = 4; + } +} + +message BatchSendReply { + int32 next_batch_size = 1; + float backoff_seconds = 2; +} + +message BatchStreamRequest { + optional ConsistencyLevel consistency_level = 1; + optional int32 object_index = 2; + optional int32 reference_index = 3; +} + +message BatchStreamMessage { + message Start { + } + message Stop { + } + message Shutdown { + } + message ShuttingDown { + } + message Error { + string error = 1; + int32 index = 2; + bool is_retriable = 3; + bool is_object = 4; + bool is_reference = 5; + } + string stream_id = 1; + oneof message { + Error error = 2; + Start start = 3; + Stop stop = 4; + Shutdown shutdown = 5; + ShuttingDown shutting_down = 6; + } +} + message BatchObject { message Properties { google.protobuf.Struct non_ref_properties = 1; @@ -51,6 +110,15 @@ message BatchObject { repeated Vectors vectors = 23; } +message BatchReference { + string name = 1; + string from_collection = 2; + string from_uuid = 3; + optional string to_collection = 4; + string to_uuid = 5; + string tenant = 6; +} + message BatchObjectsReply { message BatchError { int32 index = 1; @@ -60,3 +128,13 @@ message BatchObjectsReply { float took = 1; repeated BatchError errors = 2; } + +message BatchReferencesReply { + message BatchError { + int32 index = 1; + string error = 2; + } + + float took = 1; + repeated BatchError errors = 2; +} diff --git a/src/main/proto/v1/file_replication.proto b/src/main/proto/v1/file_replication.proto new file mode 100644 index 000000000..4090eb3ee --- /dev/null +++ b/src/main/proto/v1/file_replication.proto @@ -0,0 +1,84 @@ +syntax = "proto3"; + +package weaviate.v1; + +option java_package = "io.weaviate.client6.v1.internal.grpc.protocol"; +option java_outer_classname = "WeaviateProtoFileReplication"; + +enum CompressionType { + COMPRESSION_TYPE_UNSPECIFIED = 0; // No compression + COMPRESSION_TYPE_GZIP = 1; // gzip (compress/gzip) + COMPRESSION_TYPE_ZLIB = 2; // zlib (compress/zlib) + COMPRESSION_TYPE_DEFLATE = 3; // raw DEFLATE (compress/flate) +} + +service FileReplicationService { + rpc PauseFileActivity (PauseFileActivityRequest) returns (PauseFileActivityResponse); + + rpc ResumeFileActivity (ResumeFileActivityRequest) returns (ResumeFileActivityResponse); + + rpc ListFiles (ListFilesRequest) returns (ListFilesResponse); + + rpc GetFileMetadata (stream GetFileMetadataRequest) returns (stream FileMetadata); + + rpc GetFile (stream GetFileRequest) returns (stream FileChunk); +} + +message PauseFileActivityRequest { + string index_name = 1; + string shard_name = 2; + uint64 schema_version = 3; +} + +message PauseFileActivityResponse { + string index_name = 1; + string shard_name = 2; +} + +message ResumeFileActivityRequest { + string index_name = 1; + string shard_name = 2; +} + +message ResumeFileActivityResponse { + string index_name = 1; + string shard_name = 2; +} + +message ListFilesRequest { + string index_name = 1; + string shard_name = 2; +} + +message ListFilesResponse { + string index_name = 1; + string shard_name = 2; + repeated string file_names = 3; +} + +message GetFileMetadataRequest { + string index_name = 1; + string shard_name = 2; + string file_name = 3; +} + +message FileMetadata { + string index_name = 1; + string shard_name = 2; + string file_name = 3; + int64 size = 4; + uint32 crc32 = 5; +} + +message GetFileRequest { + string index_name = 1; + string shard_name = 2; + string file_name = 3; + CompressionType compression = 4; // Requested compression algorithm for streamed chunks +} + +message FileChunk { + int64 offset = 1; // Byte offset in the uncompressed file + bytes data = 2; // Compressed or raw chunk data + bool eof = 3; // Indicates final chunk +} diff --git a/src/main/proto/v1/generative.proto b/src/main/proto/v1/generative.proto index d3a0e2e4c..4e6e32525 100644 --- a/src/main/proto/v1/generative.proto +++ b/src/main/proto/v1/generative.proto @@ -20,6 +20,7 @@ message GenerativeSearch { optional TextArray properties = 2; // only allow one at the beginning, but multiple in the future repeated GenerativeProvider queries = 3; + bool debug = 4; } string single_response_prompt = 1 [deprecated = true]; diff --git a/src/main/proto/v1/properties.proto b/src/main/proto/v1/properties.proto index 7e226c7fb..fa076184e 100644 --- a/src/main/proto/v1/properties.proto +++ b/src/main/proto/v1/properties.proto @@ -14,7 +14,7 @@ message Properties { message Value { oneof kind { double number_value = 1; - string string_value = 2 [deprecated = true]; + //dont reuse 2, old field that has been removed; Was "string string_value = 2;" bool bool_value = 3; Properties object_value = 4; ListValue list_value = 5; @@ -30,7 +30,7 @@ message Value { } message ListValue { - repeated Value values = 1 [deprecated = true]; + reserved 1; // was values oneof kind { NumberValues number_values = 2; BoolValues bool_values = 3; diff --git a/src/main/proto/v1/search_get.proto b/src/main/proto/v1/search_get.proto index fee29cd23..3d0d9ed07 100644 --- a/src/main/proto/v1/search_get.proto +++ b/src/main/proto/v1/search_get.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package weaviate.v1; -import "google/protobuf/struct.proto"; import "v1/base.proto"; import "v1/base_search.proto"; import "v1/generative.proto"; @@ -168,16 +167,16 @@ message MetadataResult { } message PropertiesResult { - google.protobuf.Struct non_ref_properties = 1 [deprecated = true]; + reserved 1; // was non_ref_properties repeated RefPropertiesResult ref_props = 2; string target_collection = 3; MetadataResult metadata = 4; - repeated NumberArrayProperties number_array_properties = 5 [deprecated = true]; - repeated IntArrayProperties int_array_properties = 6 [deprecated = true]; - repeated TextArrayProperties text_array_properties = 7 [deprecated = true]; - repeated BooleanArrayProperties boolean_array_properties = 8 [deprecated = true]; - repeated ObjectProperties object_properties = 9 [deprecated = true]; - repeated ObjectArrayProperties object_array_properties = 10 [deprecated = true]; + reserved 5; // was number_array_properties + reserved 6; // was int_array_properties + reserved 7; // was text_array_properties + reserved 8; // was boolean_array_properties + reserved 9; // was object_properties + reserved 10; // was object_array_properties Properties non_ref_props = 11; bool ref_props_requested = 12; } diff --git a/src/main/proto/v1/weaviate.proto b/src/main/proto/v1/weaviate.proto index eb0e9edb4..f8fd6fbe7 100644 --- a/src/main/proto/v1/weaviate.proto +++ b/src/main/proto/v1/weaviate.proto @@ -14,7 +14,10 @@ option java_outer_classname = "WeaviateProto"; service Weaviate { rpc Search(SearchRequest) returns (SearchReply) {}; rpc BatchObjects(BatchObjectsRequest) returns (BatchObjectsReply) {}; + rpc BatchReferences(BatchReferencesRequest) returns (BatchReferencesReply) {}; rpc BatchDelete(BatchDeleteRequest) returns (BatchDeleteReply) {}; rpc TenantsGet(TenantsGetRequest) returns (TenantsGetReply) {}; rpc Aggregate(AggregateRequest) returns (AggregateReply) {}; + rpc BatchSend(BatchSendRequest) returns (BatchSendReply) {}; + rpc BatchStream(BatchStreamRequest) returns (stream BatchStreamMessage) {}; }